summaryrefslogtreecommitdiffstats
path: root/baseline/source/h264_dec/h264_dec.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/source/h264_dec/h264_dec.h')
-rw-r--r--baseline/source/h264_dec/h264_dec.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/baseline/source/h264_dec/h264_dec.h b/baseline/source/h264_dec/h264_dec.h
new file mode 100644
index 0000000..ad33a25
--- /dev/null
+++ b/baseline/source/h264_dec/h264_dec.h
@@ -0,0 +1,29 @@
1#ifndef __H264DEC_H
2#define __H264DEC_H
3
4typedef enum {
5 P_SLICE = 0,
6 B_SLICE,
7 I_SLICE,
8 SP_SLICE,
9 SI_SLICE
10} h264_dec_SliceType;
11
12// image parameters
13typedef struct h264_dec_img_par {
14 int direct_spatial_mv_pred_flag;
15 int type;
16 int width_cr;
17 int pix_c_y;
18 int pix_c_x;
19 unsigned short mpr[16][16];
20 unsigned int chroma_log2_weight_denom;
21 int wp_round_chroma;
22 unsigned int apply_weights;
23 int num_blk8x8_uv;
24 int mb_cr_size_x;
25 int mb_cr_size_y;
26
27} h264_dec_ImageParameters;
28
29#endif