I'll submit a patch to add/process the command line option for wavelet
filters to the libschroedingerenc.c in ffmpeg. Meanwhile, rather than
changing the Schroedinger library code, add the following lines to the
init function libschroedinger_encode_init in
libavcodec/libschroedingerenc.c

schro_encoder_setting_set_double(p_schro_params->encoder,
                                 "intra_wavelet",
                                  your_wavelet_id_of_choice);

schro_encoder_setting_set_double(p_schro_params->encoder,
                                 "inter_wavelet",
                                  your_wavelet_id_of_choice);


Regards,
Anuradha

On Sun, 2009-08-16 at 23:21 -0700, wong yeewan wrote:
> Dear Experts,
>  
> 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 for your help.
>  
> Regards,
> Yvonne
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ Schrodinger-devel mailing 
> list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/schrodinger-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to