mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00: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:
parent
b9c6c5f453
commit
09d89d9406
3 changed files with 9 additions and 10 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue