comparison h264_cavlc.c @ 10868:13a84faba50d libavcodec

Move golomb_to_int*cbp tables back to h264_data.h as svq3.c used them. Yes i did compile&test, no svq3.c was not recompiled.
author michael
date Wed, 13 Jan 2010 02:17:16 +0000
parents d26e9b4d2ca1
children 2aafcafbe1f0
comparison
equal deleted inserted replaced
10867:bf309c7ce615 10868:13a84faba50d
37 #include "x86/h264_i386.h" 37 #include "x86/h264_i386.h"
38 #endif 38 #endif
39 39
40 //#undef NDEBUG 40 //#undef NDEBUG
41 #include <assert.h> 41 #include <assert.h>
42
43 static const uint8_t golomb_to_intra4x4_cbp[48]={
44 47, 31, 15, 0, 23, 27, 29, 30, 7, 11, 13, 14, 39, 43, 45, 46,
45 16, 3, 5, 10, 12, 19, 21, 26, 28, 35, 37, 42, 44, 1, 2, 4,
46 8, 17, 18, 20, 24, 6, 9, 22, 25, 32, 33, 34, 36, 40, 38, 41
47 };
48
49 static const uint8_t golomb_to_inter_cbp[48]={
50 0, 16, 1, 2, 4, 8, 32, 3, 5, 10, 12, 15, 47, 7, 11, 13,
51 14, 6, 9, 31, 35, 37, 42, 44, 33, 34, 36, 40, 39, 43, 45, 46,
52 17, 18, 20, 24, 19, 21, 26, 28, 23, 27, 29, 30, 22, 25, 38, 41
53 };
54 42
55 static const uint8_t golomb_to_inter_cbp_gray[16]={ 43 static const uint8_t golomb_to_inter_cbp_gray[16]={
56 0, 1, 2, 4, 8, 3, 5,10,12,15, 7,11,13,14, 6, 9, 44 0, 1, 2, 4, 8, 3, 5,10,12,15, 7,11,13,14, 6, 9,
57 }; 45 };
58 46