Mercurial > libavcodec.hg
comparison mpegvideo.h @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
author | diego |
---|---|
date | Thu, 22 Dec 2005 01:10:11 +0000 |
parents | e7189a8c22ed |
children | 33d4fb0df0d3 |
comparison
equal
deleted
inserted
replaced
2978:403183bbb505 | 2979:bfabfdf9ce55 |
---|---|
124 typedef struct ScanTable{ | 124 typedef struct ScanTable{ |
125 const uint8_t *scantable; | 125 const uint8_t *scantable; |
126 uint8_t permutated[64]; | 126 uint8_t permutated[64]; |
127 uint8_t raster_end[64]; | 127 uint8_t raster_end[64]; |
128 #ifdef ARCH_POWERPC | 128 #ifdef ARCH_POWERPC |
129 /** Used by dct_quantise_alitvec to find last-non-zero */ | 129 /** Used by dct_quantise_alitvec to find last-non-zero */ |
130 uint8_t __align8 inverse[64]; | 130 uint8_t __align8 inverse[64]; |
131 #endif | 131 #endif |
132 } ScanTable; | 132 } ScanTable; |
133 | 133 |
134 /** | 134 /** |
179 int mb_var_sum; ///< sum of MB variance for current frame | 179 int mb_var_sum; ///< sum of MB variance for current frame |
180 int mc_mb_var_sum; ///< motion compensated MB variance for current frame | 180 int mc_mb_var_sum; ///< motion compensated MB variance for current frame |
181 uint16_t *mb_var; ///< Table for MB variances | 181 uint16_t *mb_var; ///< Table for MB variances |
182 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances | 182 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances |
183 uint8_t *mb_mean; ///< Table for MB luminance | 183 uint8_t *mb_mean; ///< Table for MB luminance |
184 int32_t *mb_cmp_score; ///< Table for MB cmp scores, for mb decision FIXME remove | 184 int32_t *mb_cmp_score; ///< Table for MB cmp scores, for mb decision FIXME remove |
185 int b_frame_score; /* */ | 185 int b_frame_score; /* */ |
186 } Picture; | 186 } Picture; |
187 | 187 |
188 typedef struct ParseContext{ | 188 typedef struct ParseContext{ |
189 uint8_t *buffer; | 189 uint8_t *buffer; |
243 qpel_mc_func (*qpel_put)[16]; | 243 qpel_mc_func (*qpel_put)[16]; |
244 qpel_mc_func (*qpel_avg)[16]; | 244 qpel_mc_func (*qpel_avg)[16]; |
245 uint8_t (*mv_penalty)[MAX_MV*2+1]; ///< amount of bits needed to encode a MV | 245 uint8_t (*mv_penalty)[MAX_MV*2+1]; ///< amount of bits needed to encode a MV |
246 uint8_t *current_mv_penalty; | 246 uint8_t *current_mv_penalty; |
247 int (*sub_motion_search)(struct MpegEncContext * s, | 247 int (*sub_motion_search)(struct MpegEncContext * s, |
248 int *mx_ptr, int *my_ptr, int dmin, | 248 int *mx_ptr, int *my_ptr, int dmin, |
249 int src_index, int ref_index, | 249 int src_index, int ref_index, |
250 int size, int h); | 250 int size, int h); |
251 }MotionEstContext; | 251 }MotionEstContext; |
252 | 252 |
253 /** | 253 /** |