diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-06 16:53:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-16 18:07:29 +0200 |
commit | 465e27e0f2b35b13d348c882c723158a36a802ef (patch) | |
tree | d13dd4a30a5fec7cc8e7702183364990e1130016 /libavcodec/dcahuff.h | |
parent | 3652114596096a2b015972e9db063323c408c91e (diff) | |
download | ffmpeg-465e27e0f2b35b13d348c882c723158a36a802ef.tar.gz |
avcodec/dcahuff: Replace DCAVLC by ordinary VLCs
This is possible now that the offsets are already applied
when creating the VLC.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dcahuff.h')
-rw-r--r-- | libavcodec/dcahuff.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libavcodec/dcahuff.h b/libavcodec/dcahuff.h index 8663f8ba12..eaae234479 100644 --- a/libavcodec/dcahuff.h +++ b/libavcodec/dcahuff.h @@ -35,17 +35,12 @@ 3 * (5 + 7 + 9 + 13) \ + 7 * (17 + 25 + 33 + 65 + 129)) -typedef struct DCAVLC { - int max_depth; ///< Parameter for get_vlc2() - VLC vlc[7]; ///< Actual codes -} DCAVLC; - -extern DCAVLC ff_dca_vlc_bit_allocation; +extern VLC ff_dca_vlc_bit_allocation[5]; #define DCA_TMODE_VLC_BITS 3 extern VLC ff_dca_vlc_transition_mode[4]; #define DCA_SCALES_VLC_BITS 9 extern VLC ff_dca_vlc_scale_factor[5]; -extern DCAVLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS]; +extern VLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS][7]; extern VLC ff_dca_vlc_tnl_grp[5]; extern VLC ff_dca_vlc_tnl_scf; |