mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-09 02:30:45 +08:00
diractab: expose the maximum quantization index as a macro
Prevents having to have random magic values in the decoder and a separate macro in the encoder. Signed-off-by: Rostislav Pehlivanov <rpehlivanov@obe.tv>
This commit is contained in:

committed by
Rostislav Pehlivanov

parent
b9c6c5f453
commit
09d89d9406
@@ -38,4 +38,6 @@ extern const int32_t ff_dirac_qoffset_intra_tab[120];
|
||||
/* Scaling offsets needed for quantization/dequantization, for inter frames */
|
||||
extern const int ff_dirac_qoffset_inter_tab[122];
|
||||
|
||||
#define DIRAC_MAX_QUANT_INDEX (FF_ARRAY_ELEMS(ff_dirac_qscale_tab))
|
||||
|
||||
#endif /* AVCODEC_DIRACTAB_H */
|
||||
|
Reference in New Issue
Block a user