Go to the documentation of this file.
30 #define TEMPLATE_10bit
33 #define TEMPLATE_12bit
46 d->decomposition_count = decomposition_count;
49 ret = spatial_idwt_init_8bit(
d,
type);
51 ret = spatial_idwt_init_10bit(
d,
type);
53 ret = spatial_idwt_init_12bit(
d,
type);
71 int level, support =
d->support;
74 int wl =
d->width >>
level;
75 int hl =
d->height >>
level;
76 int stride_l =
d->stride <<
level;
79 d->spatial_compose(
d,
level, wl, hl, stride_l);
#define AV_LOG_WARNING
Something somehow does not look correct.
static void bit_depth(AudioStatsContext *s, const uint64_t *const mask, uint8_t *depth)
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.