#include <avfilter.h>
Data Fields | |
AVFilterPic * | pic |
the picture that this is a reference to | |
uint8_t * | data [4] |
picture data for each plane | |
int | linesize [4] |
number of bytes per line | |
int | w |
image width | |
int | h |
image height | |
int64_t | pts |
presentation timestamp in units of 1/AV_TIME_BASE | |
AVRational | pixel_aspect |
pixel aspect ratio | |
int | perms |
permissions |
Since filters can manipulate the origin of a picture to, for example, crop image without any memcpy, the picture origin 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 anything necessary for frame reordering
Definition at line 84 of file avfilter.h.
uint8_t* AVFilterPicRef::data[4] |
picture data for each plane
Definition at line 87 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), and avfilter_draw_slice().
image height
Definition at line 90 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer().
int AVFilterPicRef::linesize[4] |
number of bytes per line
Definition at line 88 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), and avfilter_draw_slice().
permissions
Definition at line 96 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_ref_pic(), and avfilter_start_frame().
the picture that this is a reference to
Definition at line 86 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_ref_pic(), and avfilter_unref_pic().
int64_t AVFilterPicRef::pts |
presentation timestamp in units of 1/AV_TIME_BASE
Definition at line 92 of file avfilter.h.
Referenced by avfilter_default_start_frame(), and avfilter_start_frame().
image width
Definition at line 89 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), and avfilter_draw_slice().