comparison rv34.c @ 8036:9b98b2261938 libavcodec

Mark some of RV3/4 block types as having separate DC subblock
author kostya
date Mon, 20 Oct 2008 05:54:31 +0000
parents c93570aeb3eb
children b6d93bef844a
comparison
equal deleted inserted replaced
8035:56f973432109 8036:9b98b2261938
37 //#define DEBUG 37 //#define DEBUG
38 38
39 /** translation of RV30/40 macroblock types to lavc ones */ 39 /** translation of RV30/40 macroblock types to lavc ones */
40 static const int rv34_mb_type_to_lavc[12] = { 40 static const int rv34_mb_type_to_lavc[12] = {
41 MB_TYPE_INTRA, 41 MB_TYPE_INTRA,
42 MB_TYPE_INTRA16x16, 42 MB_TYPE_INTRA16x16 | MB_TYPE_SEPARATE_DC,
43 MB_TYPE_16x16 | MB_TYPE_L0, 43 MB_TYPE_16x16 | MB_TYPE_L0,
44 MB_TYPE_8x8 | MB_TYPE_L0, 44 MB_TYPE_8x8 | MB_TYPE_L0,
45 MB_TYPE_16x16 | MB_TYPE_L0, 45 MB_TYPE_16x16 | MB_TYPE_L0,
46 MB_TYPE_16x16 | MB_TYPE_L1, 46 MB_TYPE_16x16 | MB_TYPE_L1,
47 MB_TYPE_SKIP, 47 MB_TYPE_SKIP,
48 MB_TYPE_DIRECT2 | MB_TYPE_16x16, 48 MB_TYPE_DIRECT2 | MB_TYPE_16x16,
49 MB_TYPE_16x8 | MB_TYPE_L0, 49 MB_TYPE_16x8 | MB_TYPE_L0,
50 MB_TYPE_8x16 | MB_TYPE_L0, 50 MB_TYPE_8x16 | MB_TYPE_L0,
51 MB_TYPE_16x16 | MB_TYPE_L0L1, 51 MB_TYPE_16x16 | MB_TYPE_L0L1,
52 MB_TYPE_16x16 | MB_TYPE_L0 52 MB_TYPE_16x16 | MB_TYPE_L0 | MB_TYPE_SEPARATE_DC
53 }; 53 };
54 54
55 55
56 static RV34VLC intra_vlcs[NUM_INTRA_TABLES], inter_vlcs[NUM_INTER_TABLES]; 56 static RV34VLC intra_vlcs[NUM_INTRA_TABLES], inter_vlcs[NUM_INTER_TABLES];
57 57