comparison h264.h @ 5638:4a26dc4ca11d libavcodec

Move H.264 intra prediction functions into their own context
author kostya
date Wed, 05 Sep 2007 05:30:08 +0000
parents 07a97575d0c4
children d2598034f2a9
comparison
equal deleted inserted replaced
5637:473cada682a1 5638:4a26dc4ca11d
29 #define H264_H 29 #define H264_H
30 30
31 #include "dsputil.h" 31 #include "dsputil.h"
32 #include "cabac.h" 32 #include "cabac.h"
33 #include "mpegvideo.h" 33 #include "mpegvideo.h"
34 #include "h264pred.h"
34 35
35 #define interlaced_dct interlaced_dct_is_a_bad_name 36 #define interlaced_dct interlaced_dct_is_a_bad_name
36 #define mb_intra mb_intra_is_not_initialized_see_mb_type 37 #define mb_intra mb_intra_is_not_initialized_see_mb_type
37 38
38 #define LUMA_DC_BLOCK_INDEX 25 39 #define LUMA_DC_BLOCK_INDEX 25
183 int top_mb_xy; 184 int top_mb_xy;
184 int left_mb_xy[2]; 185 int left_mb_xy[2];
185 186
186 int8_t intra4x4_pred_mode_cache[5*8]; 187 int8_t intra4x4_pred_mode_cache[5*8];
187 int8_t (*intra4x4_pred_mode)[8]; 188 int8_t (*intra4x4_pred_mode)[8];
188 void (*pred4x4 [9+3])(uint8_t *src, uint8_t *topright, int stride);//FIXME move to dsp? 189 H264PredContext hpc;
189 void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride);
190 void (*pred8x8 [4+3])(uint8_t *src, int stride);
191 void (*pred16x16[4+3])(uint8_t *src, int stride);
192 unsigned int topleft_samples_available; 190 unsigned int topleft_samples_available;
193 unsigned int top_samples_available; 191 unsigned int top_samples_available;
194 unsigned int topright_samples_available; 192 unsigned int topright_samples_available;
195 unsigned int left_samples_available; 193 unsigned int left_samples_available;
196 uint8_t (*top_borders[2])[16+2*8]; 194 uint8_t (*top_borders[2])[16+2*8];