Commit bbf42679 authored by Vitor Sessak's avatar Vitor Sessak

Make linesize a per-reference property

Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14

Originally committed as revision 12078 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a5cbb2f4
...@@ -50,7 +50,8 @@ typedef struct AVFilterPic ...@@ -50,7 +50,8 @@ typedef struct AVFilterPic
/** /**
* A reference to an AVFilterPic. Since filters can manipulate the origin of * A reference to an AVFilterPic. Since filters can manipulate the origin of
* a picture to, for example, crop image without any memcpy, the picture origin * a picture to, for example, crop image without any memcpy, the picture origin
* and dimensions are per-reference properties. * and dimensions are per-reference properties. Linesize is also useful for
* image flipping, frame to field filters, etc, and so is also per-reference.
* *
* TODO: add pts, and anything necessary for frame reordering * TODO: add pts, and anything necessary for frame reordering
*/ */
...@@ -58,6 +59,7 @@ typedef struct AVFilterPicRef ...@@ -58,6 +59,7 @@ typedef struct AVFilterPicRef
{ {
AVFilterPic *pic; AVFilterPic *pic;
uint8_t *data[4]; uint8_t *data[4];
int linesize[4];
int w, h; int w, h;
int perms; ///< permissions int perms; ///< permissions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment