diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg2_internal.h')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg2_internal.h | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/apps/plugins/mpegplayer/mpeg2_internal.h b/apps/plugins/mpegplayer/mpeg2_internal.h index 443b6d6114..0c552b766f 100644 --- a/apps/plugins/mpegplayer/mpeg2_internal.h +++ b/apps/plugins/mpegplayer/mpeg2_internal.h | |||
@@ -244,58 +244,18 @@ int mpeg2_header_extension (mpeg2dec_t * mpeg2dec); | |||
244 | int mpeg2_header_user_data (mpeg2dec_t * mpeg2dec); | 244 | int mpeg2_header_user_data (mpeg2dec_t * mpeg2dec); |
245 | void mpeg2_header_sequence_finalize (mpeg2dec_t * mpeg2dec); | 245 | void mpeg2_header_sequence_finalize (mpeg2dec_t * mpeg2dec); |
246 | void mpeg2_header_gop_finalize (mpeg2dec_t * mpeg2dec); | 246 | void mpeg2_header_gop_finalize (mpeg2dec_t * mpeg2dec); |
247 | void mpeg2_header_picture_finalize (mpeg2dec_t * mpeg2dec, uint32_t accels); | 247 | void mpeg2_header_picture_finalize (mpeg2dec_t * mpeg2dec); |
248 | mpeg2_state_t mpeg2_header_slice_start (mpeg2dec_t * mpeg2dec); | 248 | mpeg2_state_t mpeg2_header_slice_start (mpeg2dec_t * mpeg2dec); |
249 | mpeg2_state_t mpeg2_header_end (mpeg2dec_t * mpeg2dec); | 249 | mpeg2_state_t mpeg2_header_end (mpeg2dec_t * mpeg2dec); |
250 | void mpeg2_set_fbuf (mpeg2dec_t * mpeg2dec, int b_type); | 250 | void mpeg2_set_fbuf (mpeg2dec_t * mpeg2dec, int b_type); |
251 | 251 | ||
252 | /* idct.c */ | 252 | /* idct.c */ |
253 | void mpeg2_idct_init (uint32_t accel); | 253 | void mpeg2_idct_init (void); |
254 | |||
255 | /* idct_mmx.c */ | ||
256 | void mpeg2_idct_copy_mmxext (int16_t * block, uint8_t * dest, int stride); | ||
257 | void mpeg2_idct_add_mmxext (int last, int16_t * block, | ||
258 | uint8_t * dest, int stride); | ||
259 | void mpeg2_idct_copy_mmx (int16_t * block, uint8_t * dest, int stride); | ||
260 | void mpeg2_idct_add_mmx (int last, int16_t * block, | ||
261 | uint8_t * dest, int stride); | ||
262 | void mpeg2_idct_mmx_init (void); | ||
263 | |||
264 | /* idct_altivec.c */ | ||
265 | void mpeg2_idct_copy_altivec (int16_t * block, uint8_t * dest, int stride); | ||
266 | void mpeg2_idct_add_altivec (int last, int16_t * block, | ||
267 | uint8_t * dest, int stride); | ||
268 | void mpeg2_idct_altivec_init (void); | ||
269 | |||
270 | /* idct_alpha.c */ | ||
271 | void mpeg2_idct_copy_mvi (int16_t * block, uint8_t * dest, int stride); | ||
272 | void mpeg2_idct_add_mvi (int last, int16_t * block, | ||
273 | uint8_t * dest, int stride); | ||
274 | void mpeg2_idct_copy_alpha (int16_t * block, uint8_t * dest, int stride); | ||
275 | void mpeg2_idct_add_alpha (int last, int16_t * block, | ||
276 | uint8_t * dest, int stride); | ||
277 | void mpeg2_idct_alpha_init (void); | ||
278 | 254 | ||
279 | /* motion_comp.c */ | 255 | /* motion_comp.c */ |
280 | void mpeg2_mc_init (uint32_t accel); | 256 | void mpeg2_mc_init (void); |
281 | 257 | ||
282 | typedef struct { | 258 | typedef struct { |
283 | mpeg2_mc_fct * put [8]; | 259 | mpeg2_mc_fct * put [8]; |
284 | mpeg2_mc_fct * avg [8]; | 260 | mpeg2_mc_fct * avg [8]; |
285 | } mpeg2_mc_t; | 261 | } mpeg2_mc_t; |
286 | |||
287 | #define MPEG2_MC_EXTERN(x) mpeg2_mc_t mpeg2_mc_##x = { \ | ||
288 | {MC_put_o_16_##x, MC_put_x_16_##x, MC_put_y_16_##x, MC_put_xy_16_##x, \ | ||
289 | MC_put_o_8_##x, MC_put_x_8_##x, MC_put_y_8_##x, MC_put_xy_8_##x}, \ | ||
290 | {MC_avg_o_16_##x, MC_avg_x_16_##x, MC_avg_y_16_##x, MC_avg_xy_16_##x, \ | ||
291 | MC_avg_o_8_##x, MC_avg_x_8_##x, MC_avg_y_8_##x, MC_avg_xy_8_##x} \ | ||
292 | }; | ||
293 | |||
294 | extern mpeg2_mc_t mpeg2_mc_c; | ||
295 | extern mpeg2_mc_t mpeg2_mc_mmx; | ||
296 | extern mpeg2_mc_t mpeg2_mc_mmxext; | ||
297 | extern mpeg2_mc_t mpeg2_mc_3dnow; | ||
298 | extern mpeg2_mc_t mpeg2_mc_altivec; | ||
299 | extern mpeg2_mc_t mpeg2_mc_alpha; | ||
300 | extern mpeg2_mc_t mpeg2_mc_vis; | ||
301 | extern mpeg2_mc_t mpeg2_mc_arm; | ||