[Theora-dev] frame_height, height, y_height etc...
ogg at illiminable.com
Mon Dec 20 04:08:31 PST 2004
Actually... let me try again... this is my current understanding...
//width, height - /16 up rounded values, size of the outer frame
//frame_width, frame_height - size of the inner picture region
//offset_x - Distance at bottom left from outer frame to inner picture
<= width - frame_width
//offset_y - Distance at bottom left from outer frame to inner picture
<= height - frame_height
//y_stride - Equal to the /16 up rounded wdith values
//y_width - Equal to the /16 up rounded wdith values
//uv_stride - Equal to *half* the /16 up rounded width values
//uv_width - Equal to *half* the /16 up rounded wdith values
//y_height - Equal to the /16 up rounded height value
//uv_height - Equal to *half* the /16 up rounded height value
//y - Buffer of size y_stride*y_height (/16 up rounded values)
//u,v - Buffers each *quarter* the size of the y buffer (/16 up
----- Original Message -----
From: "illiminable" <ogg at illiminable.com>
To: <theora-dev at xiph.org>
Sent: Monday, December 20, 2004 8:00 PM
Subject: [Theora-dev] frame_height, height, y_height etc...
> I'd previously been working on the assumption that the frame_height was
> the height of the inner picture region... and height was the height of the
> outer frame.
> Then upon readnig the spec... where it calls the outer part the frame and
> the inner part the picture region... i assumed i'd made a mistake and that
> frame_width is actually >= width in the theorainfo structure... ie
> frame_width is the size of the frame and width is the size of the picture
> inside the frame.
> So now i'm completely confused.
> Could someone please clarify if the following is correct...
> theorainfo.frame_width = width of the inner picture region
> theorainfo.width = width of the outer frame
> yuvbuffer.y_stride = theorainfo.width = width of the outer frame
> yuvbuffer.y_width = theorainfo.frame_width = width of the inner picture
> Theora-dev mailing list
> Theora-dev at xiph.org
More information about the Theora-dev