summaryrefslogtreecommitdiff
path: root/libavcodec/speedhq.c
diff options
context:
space:
mode:
authorJean-Baptiste Kempf <jb@videolan.org>2020-11-09 12:25:02 +0100
committerPaul B Mahol <onemda@gmail.com>2020-11-24 09:38:35 +0100
commit052a5993adfc749b4283aac4ca0dec3087b7091a (patch)
tree663ee81d5572340d2d2ea4d5023b81b50f1fe822 /libavcodec/speedhq.c
parent4688017d9a1c2633c5888de5a0580d29e7680d54 (diff)
downloadffmpeg-052a5993adfc749b4283aac4ca0dec3087b7091a.tar.gz
avcodec: add SpeedHQ encoder
Diffstat (limited to 'libavcodec/speedhq.c')
-rw-r--r--libavcodec/speedhq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c
index 30a6924321..748e8617f6 100644
--- a/libavcodec/speedhq.c
+++ b/libavcodec/speedhq.c
@@ -132,7 +132,7 @@ static const uint8_t speedhq_run[121] = {
31,
};
-static RLTable rl_speedhq = {
+RLTable ff_rl_speedhq = {
121,
121,
(const uint16_t (*)[])speedhq_vlc,
@@ -236,7 +236,7 @@ static inline int decode_dct_block(const SHQContext *s, GetBitContext *gb, int l
for ( ;; ) {
int level, run;
UPDATE_CACHE_LE(re, gb);
- GET_RL_VLC(level, run, re, gb, rl_speedhq.rl_vlc[0],
+ GET_RL_VLC(level, run, re, gb, ff_rl_speedhq.rl_vlc[0],
TEX_VLC_BITS, 2, 0);
if (level == 127) {
break;
@@ -570,8 +570,8 @@ static av_cold void speedhq_static_init(void)
ff_mpeg12_vlc_dc_chroma_code, 2, 2,
INIT_VLC_OUTPUT_LE, 514);
- ff_rl_init(&rl_speedhq, speedhq_static_rl_table_store);
- INIT_2D_VLC_RL(rl_speedhq, 674, INIT_VLC_LE);
+ ff_rl_init(&ff_rl_speedhq, speedhq_static_rl_table_store);
+ INIT_2D_VLC_RL(ff_rl_speedhq, 674, INIT_VLC_LE);
compute_alpha_vlcs();
}