- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
We are using media sdk for decoding the video stream into NV12. We found that sometimes Y and UV planes are contiguous and sometimes not.
Is there an option to set the output layout whether to prevent gap between Y plane and UV plane?
Or was it just a coincidence to have a contiguous layout?
Thanks,
Mingyu
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
gap between Y plane and UV plane?
you mean to say that UV plane is not starting just after ending the Y plane, i.e. UV != Y + width * height ?
If so, then please note that Y plane size will be pitch * height and not width * height. This pitch and width value will be same if width is multiple of 16, else pitch value will be aligned by 16 of width value, which is slightly greater than width.
Please let me know in case i understood your issue incorrectly.
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
gap between Y plane and UV plane?
you mean to say that UV plane is not starting just after ending the Y plane, i.e. UV != Y + width * height ?
If so, then please note that Y plane size will be pitch * height and not width * height. This pitch and width value will be same if width is multiple of 16, else pitch value will be aligned by 16 of width value, which is slightly greater than width.
Please let me know in case i understood your issue incorrectly.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable