CKQueen
18th August 2009, 08:23
Hi,
I would like to choose the wavelet filter for libschroedinger in ffmpeg. Since there is no option to select the filter, I have looked into the schrowavelet.c, schrofilter.c and schrodecoder and I found out that in the function "schro_frame_filter_adaptive_lowpass (SchroFrame *frame)", the filter is set as "SCHRO_WAVELET_LE_GALL_5_3" as below:
schro_wavelet_transform_2d (&tmp->components[0], SCHRO_WAVELET_LE_GALL_5_3,
tmpdata);
My question is whether the filter for libschroedinger is fixed at SCHRO_WAVELET_LE_GALL_5_3 (default)? if that is the case, can I just change filter type to HAAR0 as below:
schro_wavelet_transform_2d (&tmp->components[0], SCHRO_WAVELET_HAAR_0,
tmpdata);
in the schrofilter.c functions?
Thank you in advance.
Regards,
CK
I would like to choose the wavelet filter for libschroedinger in ffmpeg. Since there is no option to select the filter, I have looked into the schrowavelet.c, schrofilter.c and schrodecoder and I found out that in the function "schro_frame_filter_adaptive_lowpass (SchroFrame *frame)", the filter is set as "SCHRO_WAVELET_LE_GALL_5_3" as below:
schro_wavelet_transform_2d (&tmp->components[0], SCHRO_WAVELET_LE_GALL_5_3,
tmpdata);
My question is whether the filter for libschroedinger is fixed at SCHRO_WAVELET_LE_GALL_5_3 (default)? if that is the case, can I just change filter type to HAAR0 as below:
schro_wavelet_transform_2d (&tmp->components[0], SCHRO_WAVELET_HAAR_0,
tmpdata);
in the schrofilter.c functions?
Thank you in advance.
Regards,
CK