[Mp4-tech] Query regarding non-multiple of 16 width/height in MPEG4Video

Herbert Thoma tma iis.fhg.de
Thu Nov 6 10:02:11 EST 2003


Parag Chaurasia schrieb:
> 
>   Hi,
>     Can somebody tell me how does MPEG4 Video "Player" handle VOPs whose width and/or height are NOT multiples of 16.
> (1) I would like to know if the "amount" of YUV 4:2:0 data dumped after decoding is
> ( (int)((width  + 15)/16) ) * 16 *
> ( (int)((height + 15)/16) ) * 16 * 1.5
> OR
> width * height * 1.5
> (2) If it's the former, then does the Player remove columns at the right and rows at the bottom (to be able to display the actual VOP size).
>   Basically, I would like to know whether it's the "MPEG4 Decoder" or the "Player" that handles this non-multiple of 16 issue.

I don't think that this is a normative issue. The decoder has to provide the player
with information about width and height (and other info conveyed in the headers)
and with the actual video frames. But the standard does not specify how to do that.
So the answer to your questions is: It depends on the API of the decoder you are using.
Kind regards,
 Herbert.
>   Expecting some reply!
>   Best Regards,
>   Parag.
> 
> 
> 
>   ------------------------------------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> Mp4-tech mailing list
> Mp4-tech lists.mpegif.org
> http://lists.mpegif.org/mailman/listinfo/mp4-tech

-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma iis.fhg.de
www: http://www.iis.fhg.de/


More information about the Mp4-tech mailing list