comparison mpegvideo.h @ 6438:e1dd408a7864 libavcodec

move ff_init_scantable() into dsputil
author aurel
date Tue, 04 Mar 2008 10:26:56 +0000
parents e6da66f378c7
children 8cb7a8f13c2c
comparison
equal deleted inserted replaced
6437:5154ab444372 6438:e1dd408a7864
83 #define PICTURE_START_CODE 0x00000100 83 #define PICTURE_START_CODE 0x00000100
84 #define SLICE_MIN_START_CODE 0x00000101 84 #define SLICE_MIN_START_CODE 0x00000101
85 #define SLICE_MAX_START_CODE 0x000001af 85 #define SLICE_MAX_START_CODE 0x000001af
86 #define EXT_START_CODE 0x000001b5 86 #define EXT_START_CODE 0x000001b5
87 #define USER_START_CODE 0x000001b2 87 #define USER_START_CODE 0x000001b2
88
89 /**
90 * Scantable.
91 */
92 typedef struct ScanTable{
93 const uint8_t *scantable;
94 uint8_t permutated[64];
95 uint8_t raster_end[64];
96 #ifdef ARCH_POWERPC
97 /** Used by dct_quantize_altivec to find last-non-zero */
98 DECLARE_ALIGNED_8(uint8_t, inverse[64]);
99 #endif
100 } ScanTable;
101 88
102 /** 89 /**
103 * Picture. 90 * Picture.
104 */ 91 */
105 typedef struct Picture{ 92 typedef struct Picture{
705 void MPV_common_init_mmi(MpegEncContext *s); 692 void MPV_common_init_mmi(MpegEncContext *s);
706 void MPV_common_init_armv4l(MpegEncContext *s); 693 void MPV_common_init_armv4l(MpegEncContext *s);
707 void MPV_common_init_altivec(MpegEncContext *s); 694 void MPV_common_init_altivec(MpegEncContext *s);
708 extern void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w); 695 extern void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w);
709 void ff_clean_intra_table_entries(MpegEncContext *s); 696 void ff_clean_intra_table_entries(MpegEncContext *s);
710 void ff_init_scantable(uint8_t *, ScanTable *st, const uint8_t *src_scantable);
711 void ff_draw_horiz_band(MpegEncContext *s, int y, int h); 697 void ff_draw_horiz_band(MpegEncContext *s, int y, int h);
712 void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h, 698 void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h,
713 int src_x, int src_y, int w, int h); 699 int src_x, int src_y, int w, int h);
714 void ff_mpeg_flush(AVCodecContext *avctx); 700 void ff_mpeg_flush(AVCodecContext *avctx);
715 void ff_print_debug_info(MpegEncContext *s, AVFrame *pict); 701 void ff_print_debug_info(MpegEncContext *s, AVFrame *pict);