comparison mpegvideo.h @ 1706:3ba5c493db6f libavcodec

motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
author michael
date Tue, 30 Dec 2003 02:12:12 +0000
parents 954593137d37
children dea5b2946999
comparison
equal deleted inserted replaced
1705:954593137d37 1706:3ba5c493db6f
302 Picture current_picture; ///< buffer to store the decompressed current picture 302 Picture current_picture; ///< buffer to store the decompressed current picture
303 303
304 Picture *last_picture_ptr; ///< pointer to the previous picture. 304 Picture *last_picture_ptr; ///< pointer to the previous picture.
305 Picture *next_picture_ptr; ///< pointer to the next picture (for bidir pred) 305 Picture *next_picture_ptr; ///< pointer to the next picture (for bidir pred)
306 Picture *current_picture_ptr; ///< pointer to the current picture 306 Picture *current_picture_ptr; ///< pointer to the current picture
307 uint8_t *visualization_buffer[3]; //< temporary buffer vor MV visualization
307 int last_dc[3]; ///< last DC values for MPEG1 308 int last_dc[3]; ///< last DC values for MPEG1
308 int16_t *dc_val[3]; ///< used for mpeg4 DC prediction, all 3 arrays must be continuous 309 int16_t *dc_val[3]; ///< used for mpeg4 DC prediction, all 3 arrays must be continuous
309 int16_t dc_cache[4*5]; 310 int16_t dc_cache[4*5];
310 int y_dc_scale, c_dc_scale; 311 int y_dc_scale, c_dc_scale;
311 uint8_t *y_dc_scale_table; ///< qscale -> y_dc_scale table 312 uint8_t *y_dc_scale_table; ///< qscale -> y_dc_scale table
703 void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h, 704 void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h,
704 int src_x, int src_y, int w, int h); 705 int src_x, int src_y, int w, int h);
705 #define END_NOT_FOUND -100 706 #define END_NOT_FOUND -100
706 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size); 707 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size);
707 void ff_mpeg_flush(AVCodecContext *avctx); 708 void ff_mpeg_flush(AVCodecContext *avctx);
708 void ff_print_debug_info(MpegEncContext *s, Picture *pict); 709 void ff_print_debug_info(MpegEncContext *s, AVFrame *pict);
709 void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix); 710 void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix);
710 int ff_find_unused_picture(MpegEncContext *s, int shared); 711 int ff_find_unused_picture(MpegEncContext *s, int shared);
711 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); 712 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block);
712 713
713 void ff_er_frame_start(MpegEncContext *s); 714 void ff_er_frame_start(MpegEncContext *s);