summaryrefslogtreecommitdiffstats
path: root/baseline/source/h264_dec/h264_dec.h
blob: ad33a25eb86378c7bb937b9cf53c8248af2b78d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __H264DEC_H
#define __H264DEC_H

typedef enum {
  P_SLICE = 0,
  B_SLICE,
  I_SLICE,
  SP_SLICE,
  SI_SLICE
} h264_dec_SliceType;

// image parameters
typedef struct h264_dec_img_par {
  int direct_spatial_mv_pred_flag;
  int type;
  int width_cr;
  int pix_c_y;
  int pix_c_x;
  unsigned short mpr[16][16];
  unsigned int chroma_log2_weight_denom;
  int wp_round_chroma;
  unsigned int apply_weights;
  int num_blk8x8_uv;
  int mb_cr_size_x;
  int mb_cr_size_y;

} h264_dec_ImageParameters;

#endif