Go to the documentation of this file.
29 #define TEMPLATE_10bit
32 #define TEMPLATE_12bit
45 d->decomposition_count = decomposition_count;
48 ret = ff_spatial_idwt_init_8bit(
d,
type);
50 ret = ff_spatial_idwt_init_10bit(
d,
type);
52 ret = ff_spatial_idwt_init_12bit(
d,
type);
68 int level, support =
d->support;
71 int wl =
d->width >>
level;
72 int hl =
d->height >>
level;
73 int stride_l =
d->stride <<
level;
76 d->spatial_compose(
d,
level, wl, hl, stride_l);
static void bit_depth(AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth)
#define AV_LOG_WARNING
Something somehow does not look correct.
int ff_spatial_idwt_init(DWTContext *d, DWTPlane *p, enum dwt_type type, int decomposition_count, int bit_depth)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
void ff_spatial_idwt_slice2(DWTContext *d, int y)
void ff_spatial_idwt_init_x86(DWTContext *d, enum dwt_type type)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.