#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 | |
int64_t | pos |
byte position in stream, -1 if unknown | |
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 99 of file avfilter.h.
the picture that this is a reference to
Definition at line 101 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_ref_pic(), avfilter_unref_pic(), input_get_buffer(), and input_request_frame().
uint8_t * AVFilterPicRef::data |
picture data for each plane
Definition at line 102 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_draw_slice(), dprintf_picref(), draw_slice(), end_frame(), get_filtered_video_frame(), get_video_buffer(), input_get_buffer(), input_request_frame(), and start_frame().
number of bytes per line
Definition at line 103 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_draw_slice(), dprintf_picref(), draw_slice(), end_frame(), get_filtered_video_frame(), get_video_buffer(), input_get_buffer(), and start_frame().
image width
Definition at line 104 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_draw_slice(), dprintf_picref(), input_get_buffer(), and start_frame().
image height
Definition at line 105 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), dprintf_picref(), input_get_buffer(), and start_frame().
int64_t AVFilterPicRef::pts |
presentation timestamp in units of 1/AV_TIME_BASE
Definition at line 107 of file avfilter.h.
Referenced by avfilter_default_start_frame(), avfilter_start_frame(), dprintf_picref(), get_filtered_video_frame(), input_request_frame(), and start_frame().
int64_t AVFilterPicRef::pos |
byte position in stream, -1 if unknown
Definition at line 108 of file avfilter.h.
Referenced by avfilter_default_start_frame(), avfilter_start_frame(), dprintf_picref(), get_filtered_video_frame(), input_request_frame(), and start_frame().
pixel aspect ratio
Definition at line 110 of file avfilter.h.
Referenced by avfilter_default_start_frame(), avfilter_start_frame(), dprintf_picref(), input_request_frame(), start_frame(), and video_image_display().
permissions
Definition at line 112 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_ref_pic(), and avfilter_start_frame().