21 #ifndef AVCODEC_MPEGPICTURE_H 22 #define AVCODEC_MPEGPICTURE_H 29 #include "motion_est.h" 32 #define MAX_PICTURE_COUNT 36 38 uint8_t *obmc_scratchpad;
53 int16_t (*motion_val[2])[2];
59 uint8_t *mbskip_table;
90 uint64_t encoding_error[AV_NUM_DATA_POINTERS];
99 int chroma_x_shift,
int chroma_y_shift,
int out_format,
100 int mb_stride,
int mb_width,
int mb_height,
int b8_stride,
101 ptrdiff_t *
linesize, ptrdiff_t *uvlinesize);
109 void ff_free_picture_tables(
Picture *pic);
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
uint8_t * mb_mean
Table for MB luminance.
Definition: mpegpicture.h:74
uint8_t * edge_emu_buffer
temporary buffer for if MVs point to out-of-frame data
Definition: mpegpicture.h:36
uint16_t * mb_var
Table for MB variances.
Definition: mpegpicture.h:65
int needs_realloc
Picture needs to be reallocated (eg due to a frame size change)
Definition: mpegpicture.h:85
int field_picture
whether or not the picture was encoded in separate fields
Definition: mpegpicture.h:79
attribute_deprecated int8_t * qscale_table
QP table.
Definition: frame.h:539
int alloc_mb_width
mb_width used to allocate tables
Definition: mpegpicture.h:70
Motion estimation context.
Definition: motion_est.h:47
Definition: mpegpicture.h:35
uint8_t * rd_scratchpad
scratchpad for rate distortion mb decision
Definition: mpegpicture.h:37
reference-counted frame API
Picture.
Definition: mpegpicture.h:45
void * hwaccel_picture_private
Hardware accelerator private data.
Definition: mpegpicture.h:77
uint16_t * mc_mb_var
Table for motion compensated MB variances.
Definition: mpegpicture.h:68
int alloc_mb_height
mb_height used to allocate tables
Definition: mpegpicture.h:71
Libavcodec external API header.
int linesize[AV_NUM_DATA_POINTERS]
For video, size in bytes of each picture line.
Definition: frame.h:249
main external API structure.
Definition: avcodec.h:1518
int64_t mc_mb_var_sum
motion compensated MB variance for current frame
Definition: mpegpicture.h:82
A reference to a data buffer.
Definition: buffer.h:81
uint8_t * b_scratchpad
scratchpad used for writing into write only buffers
Definition: mpegpicture.h:39
uint32_t * mb_type
types and macros are defined in mpegutils.h
Definition: mpegpicture.h:56
int64_t mb_var_sum
sum of MB variance for current frame
Definition: mpegpicture.h:81