summaryrefslogtreecommitdiff
path: root/libavcodec/cavsdata.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-28 19:06:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-28 19:08:39 +0200
commitf9f8491ddf6da460f677f874c3d4683463b315aa (patch)
tree8ee7a37c592f3e0c15ca5817281b8ffdc7498159 /libavcodec/cavsdata.c
parentfaa1471ffcc1bbffe3a9d3d1f4b5fe3adbef647a (diff)
avcodec/cavs: make cavs_chroma_qp non static
The table is needed by multiple files Reverts part of ef07ac1e126b95ad7e1b56504c19b59901265c3e Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cavsdata.c')
-rw-r--r--libavcodec/cavsdata.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/cavsdata.c b/libavcodec/cavsdata.c
index 905a306efb..2835a4be09 100644
--- a/libavcodec/cavsdata.c
+++ b/libavcodec/cavsdata.c
@@ -54,6 +54,13 @@ const uint8_t ff_cavs_partition_flags[30] = {
SPLITH|SPLITV, //B_8X8 = 29
};
+const uint8_t ff_cavs_chroma_qp[64] = {
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
+ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
+ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 42, 43, 43, 44, 44,
+ 45, 45, 46, 46, 47, 47, 48, 48, 48, 49, 49, 49, 50, 50, 50, 51
+};
+
/** mark block as "no prediction from this direction"
e.g. forward motion vector in BWD partition */
const cavs_vector ff_cavs_dir_mv = {0,0,1,REF_DIR};