X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmpeg12.h;h=9a9cc85dee8bba82dae711b5948b4204fd4ce1e1;hb=e9a2ffa117f560c0899c7a3bb373e908ae03d285;hp=541b66bd9488c4f77e815bf22305ddf0f2ee28e7;hpb=2fd49019210a9fbe430b1b94ff7a2f98a6d0fed1;p=ffmpeg diff --git a/libavcodec/mpeg12.h b/libavcodec/mpeg12.h index 541b66bd948..9a9cc85dee8 100644 --- a/libavcodec/mpeg12.h +++ b/libavcodec/mpeg12.h @@ -30,6 +30,20 @@ extern VLC ff_dc_lum_vlc; extern VLC ff_dc_chroma_vlc; +typedef struct Mpeg1Context { + MpegEncContext mpeg_enc_ctx; + int mpeg_enc_ctx_allocated; /* true if decoding context allocated */ + int repeat_field; /* true if we must repeat the field */ + AVPanScan pan_scan; /**< some temporary storage for the panscan */ + int slice_count; + int swap_uv;//indicate VCR2 + int save_aspect_info; + int save_width, save_height, save_progressive_seq; + AVRational frame_rate_ext; ///< MPEG-2 specific framerate modificator + int sync; ///< Did we reach a sync point like a GOP/SEQ/KEYFrame? + int tmpgexs; +} Mpeg1Context; + extern uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3]; void ff_mpeg12_common_init(MpegEncContext *s);