a table for upcoming RV30 loop filtering

Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2008-12-19 06:29:35 +00:00
parent 40c7d0ae3c
commit bbc888d0c5
1 changed files with 7 additions and 0 deletions

View File

@ -171,4 +171,11 @@ static const uint8_t rv30_itype_from_context[900] = {
2, 7, 8, 4, 0, 6, 1, 5, 3,
2, 8, 3, 0, 7, 4, 1, 6, 5,
};
/**
* Loop filter limits are taken from this table.
*/
static const uint8_t rv30_loop_filt_lim[32] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5
};
#endif /* AVCODEC_RV30DATA_H */