Revision d375c104 libavcodec/mpegvideo.h

View differences:

libavcodec/mpegvideo.h
123 123
    int ref_poc[2][2][16];      ///< h264 POCs of the frames used as reference (FIXME need per slice)
124 124
    int ref_count[2][2];        ///< number of entries in ref_poc              (FIXME need per slice)
125 125
    int mbaff;                  ///< h264 1 -> MBAFF frame 0-> not MBAFF
126
    int field_picture;          ///< whether or not the picture was encoded in seperate fields
126 127

  
127 128
    int mb_var_sum;             ///< sum of MB variance for current frame
128 129
    int mc_mb_var_sum;          ///< motion compensated MB variance for current frame
......
292 293
    Picture *last_picture_ptr;     ///< pointer to the previous picture.
293 294
    Picture *next_picture_ptr;     ///< pointer to the next picture (for bidir pred)
294 295
    Picture *current_picture_ptr;  ///< pointer to the current picture
296
    int picture_count;             ///< number of allocated pictures (MAX_PICTURE_COUNT * avctx->thread_count)
297
    int picture_range_start, picture_range_end; ///< the part of picture that this context can allocate in
295 298
    uint8_t *visualization_buffer[3]; //< temporary buffer vor MV visualization
296 299
    int last_dc[3];                ///< last DC values for MPEG1
297 300
    int16_t *dc_val_base;
......
681 684
    void (*denoise_dct)(struct MpegEncContext *s, DCTELEM *block);
682 685
} MpegEncContext;
683 686

  
687
#define REBASE_PICTURE(pic, new_ctx, old_ctx) (pic ? &new_ctx->picture[pic - old_ctx->picture] : NULL)
684 688

  
685 689
void MPV_decode_defaults(MpegEncContext *s);
686 690
int MPV_common_init(MpegEncContext *s);
......
706 710
int ff_find_unused_picture(MpegEncContext *s, int shared);
707 711
void ff_denoise_dct(MpegEncContext *s, DCTELEM *block);
708 712
void ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src);
713
int MPV_lowest_referenced_row(MpegEncContext *s, int dir);
714
void MPV_report_decode_progress(MpegEncContext *s);
715
int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src);
709 716
const uint8_t *ff_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t *state);
710 717
void ff_set_qscale(MpegEncContext * s, int qscale);
711 718

  

Also available in: Unified diff