FFmpeg
Public Types | Data Fields
MPVContext Struct Reference

MpegEncContext. More...

#include <mpegvideo.h>

Public Types

enum  {
  MSMP4_UNUSED, MSMP4_V1, MSMP4_V2, MSMP4_V3,
  MSMP4_WMV1, MSMP4_WMV2, MSMP4_VC1
}
 

Data Fields

AVClassclass
 
int y_dc_scale
 
int c_dc_scale
 
int ac_pred
 
int block_last_index [12]
 last non zero coefficient in block More...
 
int h263_aic
 Advanced INTRA Coding (AIC) More...
 
ScanTable inter_scantable
 if inter == intra then intra should be used to reduce the cache usage More...
 
ScanTable intra_scantable
 
uint8_t permutated_intra_h_scantable [64]
 
uint8_t permutated_intra_v_scantable [64]
 
struct AVCodecContextavctx
 
void * private_ctx
 
int width
 
int height
 picture size. must be a multiple of 16 More...
 
enum OutputFormat out_format
 output format More...
 
int h263_pred
 use MPEG-4/H.263 ac/dc predictions More...
 
enum AVCodecID codec_id
 
int encoding
 true if we are encoding (vs decoding) More...
 
int workaround_bugs
 workaround bugs in encoders which cannot be detected automatically More...
 
int codec_tag
 internal codec_tag upper case converted from avctx codec_tag More...
 
int context_initialized
 
int mb_width
 
int mb_height
 number of MBs horizontally & vertically More...
 
int mb_stride
 mb_width+1 used for some arrays to allow simple addressing of left & top MBs without sig11 More...
 
int b8_stride
 2*mb_width+1 used for some 8x8 block arrays to allow simple addressing More...
 
int h_edge_pos
 
int v_edge_pos
 horizontal / vertical position of the right/bottom edge (pixel replication) More...
 
int mb_num
 number of MBs of a picture More...
 
ptrdiff_t linesize
 line size, in bytes, may be different from width More...
 
ptrdiff_t uvlinesize
 line size, for chroma in bytes, may be different from width More...
 
struct AVRefStructPoolpicture_pool
 Pool for MPVPictures. More...
 
BufferPoolContext buffer_pools
 
int start_mb_y
 start mb_y of this thread (so current thread should process start_mb_y <= row < end_mb_y) More...
 
int end_mb_y
 end mb_y of this thread (so current thread should process start_mb_y <= row < end_mb_y) More...
 
union {
   struct MpegEncContext *   thread_context [MAX_THREADS]
 
   struct Mpeg12SliceContext *   mpeg12_contexts [MAX_THREADS]
 
   struct MPVEncContext *   enc_contexts [MAX_THREADS]
 
}; 
 
int slice_context_count
 number of used thread_contexts More...
 
MPVWorkPicture last_pic
 copy of the previous picture structure. More...
 
MPVWorkPicture next_pic
 copy of the next picture structure. More...
 
MPVWorkPicture cur_pic
 copy of the current picture structure. More...
 
int16_t * dc_val_base
 
const uint8_t * y_dc_scale_table
 qscale -> y_dc_scale table More...
 
const uint8_t * c_dc_scale_table
 qscale -> c_dc_scale table More...
 
const uint8_t * chroma_qscale_table
 qscale -> chroma_qscale (H.263) More...
 
uint8_t * coded_block_base
 
uint8_t * coded_block
 used for coded block pattern prediction (msmpeg4v3, wmv1) More...
 
int16_t(* ac_val_base )[16]
 
int16_t * dc_val
 used for H.263 AIC/MPEG-4 DC prediction and ER More...
 
int16_t(* ac_val )[16]
 used for H.263 AIC, MPEG-4 AC prediction More...
 
int mb_skipped
 MUST BE SET only during DECODING. More...
 
uint8_t * mbskip_table
 used to avoid copy if macroblock skipped (for black regions for example) and used for B-frame encoding & decoding (contains skip table of next P-frame) More...
 
uint8_t * mbintra_table
 used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding More...
 
uint8_t * cbp_table
 used to store cbp, ac_pred for partitioned decoding More...
 
uint8_t * pred_dir_table
 used to store pred_dir for partitioned decoding More...
 
ScratchpadContext sc
 
int qscale
 QP. More...
 
int chroma_qscale
 chroma QP More...
 
enum AVPictureType pict_type
 AV_PICTURE_TYPE_I, AV_PICTURE_TYPE_P, AV_PICTURE_TYPE_B, ... More...
 
int droppable
 
BlockDSPContext bdsp
 
H264ChromaContext h264chroma
 
HpelDSPContext hdsp
 
IDCTDSPContext idsp
 
QpelDSPContext qdsp
 
VideoDSPContext vdsp
 
H263DSPContext h263dsp
 
int16_t(* p_field_mv_table_base )[2]
 
int16_t(*[2][2] p_field_mv_table )[2]
 MV table (2MV per MB) interlaced P-frame encoding. More...
 
int mv_dir
 
int mv_type
 
int mv [2][4][2]
 motion vectors for a macroblock first coordinate : 0 = forward 1 = backward second " : depend on type third " : 0 = x, 1 = y More...
 
int field_select [2][2]
 
int last_mv [2][2][2]
 last MV, used for MV prediction in MPEG-1 & B-frame MPEG-4 More...
 
int16_t direct_scale_mv [2][64]
 precomputed to avoid divisions in ff_mpeg4_set_direct_mv More...
 
int no_rounding
 apply no rounding to motion compensation (MPEG-4, msmpeg4, ...) for B-frames rounding mode is always 0 More...
 
int mb_x
 
int mb_y
 
int mb_intra
 
int block_index [6]
 index to current MB in block based arrays with edges More...
 
int block_wrap [6]
 
uint8_t * dest [3]
 
int * mb_index2xy
 mb_index -> mb_x + mb_y*mb_stride More...
 
uint16_t intra_matrix [64]
 matrix transmitted in the bitstream More...
 
uint16_t chroma_intra_matrix [64]
 
uint16_t inter_matrix [64]
 
uint16_t chroma_inter_matrix [64]
 
int resync_mb_x
 x position of last resync marker More...
 
int resync_mb_y
 y position of last resync marker More...
 
int obmc
 overlapped block motion compensation More...
 
int h263_aic_dir
 AIC direction: 0 = left, 1 = top. More...
 
int studio_profile
 
int last_time_base
 
int time_base
 time in seconds of last I,P,S Frame More...
 
int64_t time
 time of current frame More...
 
int64_t last_non_b_time
 
uint16_t pp_time
 time distance between the last 2 p,s,i frames More...
 
uint16_t pb_time
 time distance between the last b and p,s,i frame More...
 
uint16_t pp_field_time
 
uint16_t pb_field_time
 like above, just for interlaced More...
 
int mcsel
 
int quarter_sample
 1->qpel, 0->half pel ME/MC More...
 
int low_delay
 no reordering needed / has no B-frames More...
 
int first_slice_line
 used in MPEG-4 too to handle resync markers More...
 
enum MpegEncContext:: { ... }  msmpeg4_version
 
int inter_intra_pred
 
int mspel
 
int progressive_sequence
 
int mpeg_f_code [2][2]
 
int picture_structure
 
int intra_dc_precision
 
int frame_pred_frame_dct
 
int top_field_first
 
int concealment_motion_vectors
 
int q_scale_type
 
int intra_vlc_format
 
int alternate_scan
 
int repeat_first_field
 
int chroma_420_type
 
int chroma_format
 
int chroma_x_shift
 
int chroma_y_shift
 
int progressive_frame
 
int full_pel [2]
 
int interlaced_dct
 
int first_field
 is 1 for the first field of a field picture 0 otherwise More...
 
void(* dct_unquantize_intra )(const MPVContext *s, int16_t *block, int n, int qscale)
 
void(* dct_unquantize_inter )(const MPVContext *s, int16_t *block, int n, int qscale)
 
int context_reinit
 
unsigned slice_ctx_size
 If set, ff_mpv_common_init() will allocate slice contexts of this size. More...
 
ERContext er
 

Detailed Description

MpegEncContext.

Definition at line 67 of file mpegvideo.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MSMP4_UNUSED 
MSMP4_V1 
MSMP4_V2 
MSMP4_V3 
MSMP4_WMV1 
MSMP4_WMV2 
MSMP4_VC1 

for VC1 (image), WMV3 (image) and MSS2.

Definition at line 238 of file mpegvideo.h.

Field Documentation

◆ class

AVClass* MPVContext::class

Definition at line 68 of file mpegvideo.h.

◆ y_dc_scale

int MPVContext::y_dc_scale

Definition at line 70 of file mpegvideo.h.

◆ c_dc_scale

int MPVContext::c_dc_scale

Definition at line 70 of file mpegvideo.h.

◆ ac_pred

int MPVContext::ac_pred

◆ block_last_index

int MPVContext::block_last_index[12]

last non zero coefficient in block

Definition at line 72 of file mpegvideo.h.

◆ h263_aic

int MPVContext::h263_aic

Advanced INTRA Coding (AIC)

Definition at line 73 of file mpegvideo.h.

◆ inter_scantable

ScanTable MPVContext::inter_scantable

if inter == intra then intra should be used to reduce the cache usage

Definition at line 76 of file mpegvideo.h.

◆ intra_scantable

ScanTable MPVContext::intra_scantable

Definition at line 77 of file mpegvideo.h.

◆ permutated_intra_h_scantable

uint8_t MPVContext::permutated_intra_h_scantable[64]

Definition at line 82 of file mpegvideo.h.

◆ permutated_intra_v_scantable

uint8_t MPVContext::permutated_intra_v_scantable[64]

Definition at line 83 of file mpegvideo.h.

◆ avctx

struct AVCodecContext* MPVContext::avctx

◆ private_ctx

void* MPVContext::private_ctx

Definition at line 88 of file mpegvideo.h.

◆ width

int MPVContext::width

Definition at line 90 of file mpegvideo.h.

Referenced by encode_frame(), ff_mpeg_update_thread_context(), and svq1_encode_plane().

◆ height

int MPVContext::height

picture size. must be a multiple of 16

Definition at line 90 of file mpegvideo.h.

Referenced by encode_frame(), ff_mpeg_update_thread_context(), ff_vc1_parse_frame_header_adv(), and svq1_encode_plane().

◆ out_format

enum OutputFormat MPVContext::out_format

output format

Definition at line 91 of file mpegvideo.h.

Referenced by encode_frame().

◆ h263_pred

int MPVContext::h263_pred

use MPEG-4/H.263 ac/dc predictions

Definition at line 92 of file mpegvideo.h.

◆ codec_id

enum AVCodecID MPVContext::codec_id

Definition at line 94 of file mpegvideo.h.

◆ encoding

int MPVContext::encoding

true if we are encoding (vs decoding)

Definition at line 95 of file mpegvideo.h.

◆ workaround_bugs

int MPVContext::workaround_bugs

workaround bugs in encoders which cannot be detected automatically

Definition at line 96 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context().

◆ codec_tag

int MPVContext::codec_tag

internal codec_tag upper case converted from avctx codec_tag

Definition at line 97 of file mpegvideo.h.

◆ context_initialized

int MPVContext::context_initialized

Definition at line 101 of file mpegvideo.h.

Referenced by ff_rv34_decode_update_thread_context().

◆ mb_width

int MPVContext::mb_width

Definition at line 102 of file mpegvideo.h.

Referenced by bitplane_decoding(), encode_frame(), and svq1_encode_plane().

◆ mb_height

int MPVContext::mb_height

number of MBs horizontally & vertically

Definition at line 102 of file mpegvideo.h.

Referenced by bitplane_decoding(), encode_frame(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and svq1_encode_plane().

◆ mb_stride

int MPVContext::mb_stride

mb_width+1 used for some arrays to allow simple addressing of left & top MBs without sig11

Definition at line 103 of file mpegvideo.h.

Referenced by bitplane_decoding(), encode_frame(), encode_q_branch(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and svq1_encode_plane().

◆ b8_stride

int MPVContext::b8_stride

2*mb_width+1 used for some 8x8 block arrays to allow simple addressing

Definition at line 104 of file mpegvideo.h.

Referenced by encode_frame(), and svq1_encode_plane().

◆ h_edge_pos

int MPVContext::h_edge_pos

Definition at line 105 of file mpegvideo.h.

◆ v_edge_pos

int MPVContext::v_edge_pos

horizontal / vertical position of the right/bottom edge (pixel replication)

Definition at line 105 of file mpegvideo.h.

◆ mb_num

int MPVContext::mb_num

number of MBs of a picture

Definition at line 106 of file mpegvideo.h.

Referenced by encode_init().

◆ linesize

ptrdiff_t MPVContext::linesize

line size, in bytes, may be different from width

Definition at line 107 of file mpegvideo.h.

Referenced by encode_frame(), ff_mpeg_update_thread_context(), and svq1_encode_plane().

◆ uvlinesize

ptrdiff_t MPVContext::uvlinesize

line size, for chroma in bytes, may be different from width

Definition at line 108 of file mpegvideo.h.

Referenced by encode_frame(), and ff_mpeg_update_thread_context().

◆ picture_pool

struct AVRefStructPool* MPVContext::picture_pool

Pool for MPVPictures.

Definition at line 109 of file mpegvideo.h.

◆ buffer_pools

BufferPoolContext MPVContext::buffer_pools

Definition at line 111 of file mpegvideo.h.

◆ start_mb_y

int MPVContext::start_mb_y

start mb_y of this thread (so current thread should process start_mb_y <= row < end_mb_y)

Definition at line 113 of file mpegvideo.h.

Referenced by encode_picture().

◆ end_mb_y

int MPVContext::end_mb_y

end mb_y of this thread (so current thread should process start_mb_y <= row < end_mb_y)

Definition at line 114 of file mpegvideo.h.

◆ thread_context

struct MpegEncContext* MPVContext::thread_context[MAX_THREADS]

Definition at line 116 of file mpegvideo.h.

Referenced by mpeg12_execute_slice_threads().

◆ mpeg12_contexts

struct Mpeg12SliceContext* MPVContext::mpeg12_contexts[MAX_THREADS]

Definition at line 117 of file mpegvideo.h.

◆ enc_contexts

struct MPVEncContext* MPVContext::enc_contexts[MAX_THREADS]

Definition at line 118 of file mpegvideo.h.

◆ @210

union { ... }

◆ slice_context_count

int MPVContext::slice_context_count

number of used thread_contexts

Definition at line 120 of file mpegvideo.h.

Referenced by vc1_parse_init().

◆ last_pic

MPVWorkPicture MPVContext::last_pic

copy of the previous picture structure.

note, linesize & data, might not match the previous picture (for field pictures)

Definition at line 126 of file mpegvideo.h.

Referenced by encode_frame(), ff_mpeg_update_thread_context(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_luma(), svq1_encode_plane(), vc1_decode_frame(), and vc1_decode_skip_blocks().

◆ next_pic

MPVWorkPicture MPVContext::next_pic

copy of the next picture structure.

note, linesize & data, might not match the next picture (for field pictures)

Definition at line 132 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context(), ff_vc1_interp_mc(), and vc1_decode_frame().

◆ cur_pic

MPVWorkPicture MPVContext::cur_pic

◆ dc_val_base

int16_t* MPVContext::dc_val_base

Definition at line 140 of file mpegvideo.h.

◆ y_dc_scale_table

const uint8_t* MPVContext::y_dc_scale_table

qscale -> y_dc_scale table

Definition at line 141 of file mpegvideo.h.

◆ c_dc_scale_table

const uint8_t* MPVContext::c_dc_scale_table

qscale -> c_dc_scale table

Definition at line 142 of file mpegvideo.h.

◆ chroma_qscale_table

const uint8_t* MPVContext::chroma_qscale_table

qscale -> chroma_qscale (H.263)

Definition at line 143 of file mpegvideo.h.

◆ coded_block_base

uint8_t* MPVContext::coded_block_base

Definition at line 144 of file mpegvideo.h.

◆ coded_block

uint8_t* MPVContext::coded_block

used for coded block pattern prediction (msmpeg4v3, wmv1)

Definition at line 145 of file mpegvideo.h.

◆ ac_val_base

int16_t(* MPVContext::ac_val_base)[16]

Definition at line 146 of file mpegvideo.h.

◆ dc_val

int16_t* MPVContext::dc_val

used for H.263 AIC/MPEG-4 DC prediction and ER

Definition at line 147 of file mpegvideo.h.

Referenced by init_slice_buffers().

◆ ac_val

int16_t(* MPVContext::ac_val)[16]

used for H.263 AIC, MPEG-4 AC prediction

Definition at line 148 of file mpegvideo.h.

Referenced by init_slice_buffers().

◆ mb_skipped

int MPVContext::mb_skipped

MUST BE SET only during DECODING.

Definition at line 149 of file mpegvideo.h.

◆ mbskip_table

uint8_t* MPVContext::mbskip_table

used to avoid copy if macroblock skipped (for black regions for example) and used for B-frame encoding & decoding (contains skip table of next P-frame)

Definition at line 150 of file mpegvideo.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), vc1_decode_b_mb(), vc1_decode_b_mb_intfr(), vc1_decode_p_mb(), and vc1_decode_p_mb_intfr().

◆ mbintra_table

uint8_t* MPVContext::mbintra_table

used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding

Definition at line 152 of file mpegvideo.h.

◆ cbp_table

uint8_t* MPVContext::cbp_table

used to store cbp, ac_pred for partitioned decoding

Definition at line 153 of file mpegvideo.h.

◆ pred_dir_table

uint8_t* MPVContext::pred_dir_table

used to store pred_dir for partitioned decoding

Definition at line 154 of file mpegvideo.h.

◆ sc

ScratchpadContext MPVContext::sc

Definition at line 156 of file mpegvideo.h.

Referenced by encode_picture().

◆ qscale

int MPVContext::qscale

QP.

Definition at line 158 of file mpegvideo.h.

Referenced by encode_frame(), encode_q_branch(), and svq1_encode_plane().

◆ chroma_qscale

int MPVContext::chroma_qscale

chroma QP

Definition at line 159 of file mpegvideo.h.

◆ pict_type

enum AVPictureType MPVContext::pict_type

◆ droppable

int MPVContext::droppable

Definition at line 161 of file mpegvideo.h.

◆ bdsp

BlockDSPContext MPVContext::bdsp

Definition at line 163 of file mpegvideo.h.

◆ h264chroma

H264ChromaContext MPVContext::h264chroma

Definition at line 164 of file mpegvideo.h.

◆ hdsp

HpelDSPContext MPVContext::hdsp

Definition at line 165 of file mpegvideo.h.

Referenced by encode_frame(), and svq1_encode_plane().

◆ idsp

IDCTDSPContext MPVContext::idsp

Definition at line 166 of file mpegvideo.h.

◆ qdsp

QpelDSPContext MPVContext::qdsp

Definition at line 167 of file mpegvideo.h.

Referenced by encode_frame().

◆ vdsp

VideoDSPContext MPVContext::vdsp

Definition at line 168 of file mpegvideo.h.

◆ h263dsp

H263DSPContext MPVContext::h263dsp

Definition at line 169 of file mpegvideo.h.

◆ p_field_mv_table_base

int16_t(* MPVContext::p_field_mv_table_base)[2]

Definition at line 170 of file mpegvideo.h.

◆ p_field_mv_table

int16_t(*[2][2] MPVContext::p_field_mv_table)[2]

MV table (2MV per MB) interlaced P-frame encoding.

Definition at line 171 of file mpegvideo.h.

◆ mv_dir

int MPVContext::mv_dir

Definition at line 173 of file mpegvideo.h.

◆ mv_type

int MPVContext::mv_type

Definition at line 177 of file mpegvideo.h.

◆ mv

int MPVContext::mv[2][4][2]

motion vectors for a macroblock first coordinate : 0 = forward 1 = backward second " : depend on type third " : 0 = x, 1 = y

Definition at line 188 of file mpegvideo.h.

◆ field_select

int MPVContext::field_select[2][2]

Definition at line 189 of file mpegvideo.h.

◆ last_mv

int MPVContext::last_mv[2][2][2]

last MV, used for MV prediction in MPEG-1 & B-frame MPEG-4

Definition at line 190 of file mpegvideo.h.

◆ direct_scale_mv

int16_t MPVContext::direct_scale_mv[2][64]

precomputed to avoid divisions in ff_mpeg4_set_direct_mv

Definition at line 191 of file mpegvideo.h.

◆ no_rounding

int MPVContext::no_rounding

apply no rounding to motion compensation (MPEG-4, msmpeg4, ...) for B-frames rounding mode is always 0

Definition at line 193 of file mpegvideo.h.

◆ mb_x

int MPVContext::mb_x

Definition at line 197 of file mpegvideo.h.

Referenced by encode_q_branch(), ff_vc1_decode_blocks(), and svq1_encode_plane().

◆ mb_y

int MPVContext::mb_y

Definition at line 197 of file mpegvideo.h.

Referenced by encode_q_branch(), ff_vc1_decode_blocks(), and svq1_encode_plane().

◆ mb_intra

int MPVContext::mb_intra

Definition at line 198 of file mpegvideo.h.

◆ block_index

int MPVContext::block_index[6]

index to current MB in block based arrays with edges

Definition at line 200 of file mpegvideo.h.

Referenced by vc1_decode_reset().

◆ block_wrap

int MPVContext::block_wrap[6]

Definition at line 201 of file mpegvideo.h.

◆ dest

uint8_t* MPVContext::dest[3]

Definition at line 202 of file mpegvideo.h.

◆ mb_index2xy

int* MPVContext::mb_index2xy

mb_index -> mb_x + mb_y*mb_stride

Definition at line 204 of file mpegvideo.h.

◆ intra_matrix

uint16_t MPVContext::intra_matrix[64]

matrix transmitted in the bitstream

Definition at line 207 of file mpegvideo.h.

◆ chroma_intra_matrix

uint16_t MPVContext::chroma_intra_matrix[64]

Definition at line 208 of file mpegvideo.h.

◆ inter_matrix

uint16_t MPVContext::inter_matrix[64]

Definition at line 209 of file mpegvideo.h.

◆ chroma_inter_matrix

uint16_t MPVContext::chroma_inter_matrix[64]

Definition at line 210 of file mpegvideo.h.

◆ resync_mb_x

int MPVContext::resync_mb_x

x position of last resync marker

Definition at line 213 of file mpegvideo.h.

◆ resync_mb_y

int MPVContext::resync_mb_y

y position of last resync marker

Definition at line 214 of file mpegvideo.h.

◆ obmc

int MPVContext::obmc

overlapped block motion compensation

Definition at line 217 of file mpegvideo.h.

◆ h263_aic_dir

int MPVContext::h263_aic_dir

AIC direction: 0 = left, 1 = top.

Definition at line 220 of file mpegvideo.h.

◆ studio_profile

int MPVContext::studio_profile

Definition at line 223 of file mpegvideo.h.

◆ last_time_base

int MPVContext::last_time_base

Definition at line 224 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context().

◆ time_base

int MPVContext::time_base

time in seconds of last I,P,S Frame

Definition at line 225 of file mpegvideo.h.

◆ time

int64_t MPVContext::time

time of current frame

Definition at line 226 of file mpegvideo.h.

◆ last_non_b_time

int64_t MPVContext::last_non_b_time

Definition at line 227 of file mpegvideo.h.

◆ pp_time

uint16_t MPVContext::pp_time

time distance between the last 2 p,s,i frames

Definition at line 228 of file mpegvideo.h.

◆ pb_time

uint16_t MPVContext::pb_time

time distance between the last b and p,s,i frame

Definition at line 229 of file mpegvideo.h.

◆ pp_field_time

uint16_t MPVContext::pp_field_time

Definition at line 230 of file mpegvideo.h.

◆ pb_field_time

uint16_t MPVContext::pb_field_time

like above, just for interlaced

Definition at line 231 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context().

◆ mcsel

int MPVContext::mcsel

Definition at line 232 of file mpegvideo.h.

◆ quarter_sample

int MPVContext::quarter_sample

◆ low_delay

int MPVContext::low_delay

no reordering needed / has no B-frames

Definition at line 234 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context(), and ff_vc1_decode_blocks().

◆ first_slice_line

int MPVContext::first_slice_line

used in MPEG-4 too to handle resync markers

Definition at line 237 of file mpegvideo.h.

Referenced by svq1_encode_plane().

◆ msmpeg4_version

enum { ... } MPVContext::msmpeg4_version

◆ inter_intra_pred

int MPVContext::inter_intra_pred

Definition at line 247 of file mpegvideo.h.

◆ mspel

int MPVContext::mspel

Definition at line 248 of file mpegvideo.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

◆ progressive_sequence

int MPVContext::progressive_sequence

Definition at line 251 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context().

◆ mpeg_f_code

int MPVContext::mpeg_f_code[2][2]

Definition at line 252 of file mpegvideo.h.

◆ picture_structure

int MPVContext::picture_structure

Definition at line 255 of file mpegvideo.h.

◆ intra_dc_precision

int MPVContext::intra_dc_precision

Definition at line 257 of file mpegvideo.h.

◆ frame_pred_frame_dct

int MPVContext::frame_pred_frame_dct

Definition at line 258 of file mpegvideo.h.

◆ top_field_first

int MPVContext::top_field_first

Definition at line 259 of file mpegvideo.h.

◆ concealment_motion_vectors

int MPVContext::concealment_motion_vectors

Definition at line 260 of file mpegvideo.h.

◆ q_scale_type

int MPVContext::q_scale_type

Definition at line 261 of file mpegvideo.h.

◆ intra_vlc_format

int MPVContext::intra_vlc_format

Definition at line 262 of file mpegvideo.h.

◆ alternate_scan

int MPVContext::alternate_scan

Definition at line 263 of file mpegvideo.h.

◆ repeat_first_field

int MPVContext::repeat_first_field

Definition at line 264 of file mpegvideo.h.

◆ chroma_420_type

int MPVContext::chroma_420_type

Definition at line 265 of file mpegvideo.h.

◆ chroma_format

int MPVContext::chroma_format

Definition at line 266 of file mpegvideo.h.

◆ chroma_x_shift

int MPVContext::chroma_x_shift

Definition at line 270 of file mpegvideo.h.

◆ chroma_y_shift

int MPVContext::chroma_y_shift

Definition at line 271 of file mpegvideo.h.

◆ progressive_frame

int MPVContext::progressive_frame

Definition at line 273 of file mpegvideo.h.

◆ full_pel

int MPVContext::full_pel[2]

Definition at line 274 of file mpegvideo.h.

◆ interlaced_dct

int MPVContext::interlaced_dct

Definition at line 275 of file mpegvideo.h.

◆ first_field

int MPVContext::first_field

is 1 for the first field of a field picture 0 otherwise

Definition at line 276 of file mpegvideo.h.

Referenced by ff_mpeg_update_thread_context().

◆ dct_unquantize_intra

void(* MPVContext::dct_unquantize_intra) (const MPVContext *s, int16_t *block, int n, int qscale)

Definition at line 278 of file mpegvideo.h.

◆ dct_unquantize_inter

void(* MPVContext::dct_unquantize_inter) (const MPVContext *s, int16_t *block, int n, int qscale)

Definition at line 280 of file mpegvideo.h.

◆ context_reinit

int MPVContext::context_reinit

Definition at line 285 of file mpegvideo.h.

◆ slice_ctx_size

unsigned MPVContext::slice_ctx_size

If set, ff_mpv_common_init() will allocate slice contexts of this size.

Definition at line 288 of file mpegvideo.h.

◆ er

ERContext MPVContext::er

Definition at line 290 of file mpegvideo.h.

Referenced by ff_vc1_decode_blocks(), and mpeg12_execute_slice_threads().


The documentation for this struct was generated from the following file: