- /* Motion compensation plugin */
- struct
- {
-#define motion_functions( yuv ) \
- void ( * pf_field_field_##yuv ) ( struct macroblock_s * ); \
- void ( * pf_field_16x8_##yuv ) ( struct macroblock_s * ); \
- void ( * pf_field_dmv_##yuv ) ( struct macroblock_s * ); \
- void ( * pf_frame_field_##yuv ) ( struct macroblock_s * ); \
- void ( * pf_frame_frame_##yuv ) ( struct macroblock_s * ); \
- void ( * pf_frame_dmv_##yuv ) ( struct macroblock_s * );
- motion_functions( 420 )
- motion_functions( 422 )
- motion_functions( 444 )
-#undef motion_functions
- } motion;
-
- /* IDCT plugin */
- struct
- {
- void ( * pf_idct_init ) ( struct vdec_thread_s * );
- void ( * pf_sparse_idct ) ( struct vdec_thread_s *,
- dctelem_t *, int );
- void ( * pf_idct ) ( struct vdec_thread_s *,
- dctelem_t *, int );
- void ( * pf_norm_scan ) ( u8 ppi_scan[2][64] );
-
- void ( * pf_decode_init ) ( struct vdec_thread_s * );
- void ( * pf_decode_mb_c ) ( struct vdec_thread_s *,
- struct macroblock_s * );
- void ( * pf_decode_mb_bw ) ( struct vdec_thread_s *,
- struct macroblock_s * );
- } idct;
-
- /* YUV transformation plugin */
- struct
- {
- int ( * pf_init ) ( struct vout_thread_s * );
- int ( * pf_reset ) ( struct vout_thread_s * );
- void ( * pf_end ) ( struct vout_thread_s * );
- } yuv;
-
- /* IMDCT plugin */
- struct
- {
- void ( * pf_imdct_init ) ( struct imdct_s * );
- void ( * pf_imdct_256 ) ( struct imdct_s *,
- float data[], float delay[] );
- void ( * pf_imdct_256_nol )( struct imdct_s *,
- float data[], float delay[] );
- void ( * pf_imdct_512 ) ( struct imdct_s *,
- float data[], float delay[] );
- void ( * pf_imdct_512_nol )( struct imdct_s *,
- float data[], float delay[] );
-// void ( * pf_fft_64p ) ( struct complex_s * );
-
- } imdct;
-
- /* AC3 downmix plugin */
- struct
- {
- void ( * pf_downmix_3f_2r_to_2ch ) ( float *, struct dm_par_s * );
- void ( * pf_downmix_3f_1r_to_2ch ) ( float *, struct dm_par_s * );
- void ( * pf_downmix_2f_2r_to_2ch ) ( float *, struct dm_par_s * );
- void ( * pf_downmix_2f_1r_to_2ch ) ( float *, struct dm_par_s * );
- void ( * pf_downmix_3f_0r_to_2ch ) ( float *, struct dm_par_s * );
- void ( * pf_stream_sample_2ch_to_s16 ) ( s16 *, float *, float * );
- void ( * pf_stream_sample_1ch_to_s16 ) ( s16 *, float * );
-
- } downmix;
-
- } functions;