Mercurial > libavcodec.hg
comparison cavsdata.h @ 8331:0579157cbb14 libavcodec
Avoid POSIX-reserved _t in identifier names.
author | diego |
---|---|
date | Mon, 15 Dec 2008 10:08:31 +0000 |
parents | c4a4495715dd |
children | 33f51dd2491f |
comparison
equal
deleted
inserted
replaced
8330:7c00e980c153 | 8331:0579157cbb14 |
---|---|
99 /** marks block as using intra prediction */ | 99 /** marks block as using intra prediction */ |
100 const vector_t ff_cavs_intra_mv = {0,0,1,REF_INTRA}; | 100 const vector_t ff_cavs_intra_mv = {0,0,1,REF_INTRA}; |
101 | 101 |
102 #define EOB 0,0,0 | 102 #define EOB 0,0,0 |
103 | 103 |
104 const dec_2dvlc_t ff_cavs_intra_dec[7] = { | 104 const struct dec_2dvlc ff_cavs_intra_dec[7] = { |
105 { | 105 { |
106 { //level / run / table_inc | 106 { //level / run / table_inc |
107 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, | 107 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, |
108 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, | 108 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, |
109 { 1, 7, 1},{ -1, 7, 1},{ 1, 8, 1},{ -1, 8, 1},{ 1, 9, 1},{ -1, 9, 1}, | 109 { 1, 7, 1},{ -1, 7, 1},{ 1, 8, 1},{ -1, 8, 1},{ 1, 9, 1},{ -1, 9, 1}, |
236 INT_MAX, //inc_limit | 236 INT_MAX, //inc_limit |
237 2, //max_run | 237 2, //max_run |
238 } | 238 } |
239 }; | 239 }; |
240 | 240 |
241 const dec_2dvlc_t ff_cavs_inter_dec[7] = { | 241 const struct dec_2dvlc ff_cavs_inter_dec[7] = { |
242 { | 242 { |
243 { //level / run | 243 { //level / run |
244 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, | 244 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, |
245 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, | 245 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, |
246 { 1, 7, 1},{ -1, 7, 1},{ 1, 8, 1},{ -1, 8, 1},{ 1, 9, 1},{ -1, 9, 1}, | 246 { 1, 7, 1},{ -1, 7, 1},{ 1, 8, 1},{ -1, 8, 1},{ 1, 9, 1},{ -1, 9, 1}, |
373 INT_MAX, //inc_limit | 373 INT_MAX, //inc_limit |
374 4 //max_run | 374 4 //max_run |
375 } | 375 } |
376 }; | 376 }; |
377 | 377 |
378 const dec_2dvlc_t ff_cavs_chroma_dec[5] = { | 378 const struct dec_2dvlc ff_cavs_chroma_dec[5] = { |
379 { | 379 { |
380 { //level / run | 380 { //level / run |
381 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, | 381 { 1, 1, 1},{ -1, 1, 1},{ 1, 2, 1},{ -1, 2, 1},{ 1, 3, 1},{ -1, 3, 1}, |
382 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, | 382 { 1, 4, 1},{ -1, 4, 1},{ 1, 5, 1},{ -1, 5, 1},{ 1, 6, 1},{ -1, 6, 1}, |
383 { 1, 7, 1},{ -1, 7, 1},{ 2, 1, 2},{ -2, 1, 2},{ 1, 8, 1},{ -1, 8, 1}, | 383 { 1, 7, 1},{ -1, 7, 1},{ 2, 1, 2},{ -2, 1, 2},{ 1, 8, 1},{ -1, 8, 1}, |