mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-24 08:13:37 +00:00
diracdec: move the MAX_DWT_LEVELS macro to dirac.h
Used by the VC-2 encoder. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
0627826523
commit
3bbe7862ec
@ -33,6 +33,17 @@
|
|||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The spec limits the number of wavelet decompositions to 4 for both
|
||||||
|
* level 1 (VC-2) and 128 (long-gop default).
|
||||||
|
* 5 decompositions is the maximum before >16-bit buffers are needed.
|
||||||
|
* Schroedinger allows this for DD 9,7 and 13,7 wavelets only, limiting
|
||||||
|
* the others to 4 decompositions (or 3 for the fidelity filter).
|
||||||
|
*
|
||||||
|
* We use this instead of MAX_DECOMPOSITIONS to save some memory.
|
||||||
|
*/
|
||||||
|
#define MAX_DWT_LEVELS 5
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse code values:
|
* Parse code values:
|
||||||
*
|
*
|
||||||
|
@ -37,20 +37,10 @@
|
|||||||
#include "mpegvideoencdsp.h"
|
#include "mpegvideoencdsp.h"
|
||||||
#include "dirac_dwt.h"
|
#include "dirac_dwt.h"
|
||||||
#include "dirac.h"
|
#include "dirac.h"
|
||||||
|
#include "diractab.h"
|
||||||
#include "diracdsp.h"
|
#include "diracdsp.h"
|
||||||
#include "videodsp.h"
|
#include "videodsp.h"
|
||||||
|
|
||||||
/**
|
|
||||||
* The spec limits the number of wavelet decompositions to 4 for both
|
|
||||||
* level 1 (VC-2) and 128 (long-gop default).
|
|
||||||
* 5 decompositions is the maximum before >16-bit buffers are needed.
|
|
||||||
* Schroedinger allows this for DD 9,7 and 13,7 wavelets only, limiting
|
|
||||||
* the others to 4 decompositions (or 3 for the fidelity filter).
|
|
||||||
*
|
|
||||||
* We use this instead of MAX_DECOMPOSITIONS to save some memory.
|
|
||||||
*/
|
|
||||||
#define MAX_DWT_LEVELS 5
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The spec limits this to 3 for frame coding, but in practice can be as high as 6
|
* The spec limits this to 3 for frame coding, but in practice can be as high as 6
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user