diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-14 16:35:44 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-14 16:35:44 +0000 |
| commit | f4b5a723b06b25babe201b0a97bdeebc716f5bba (patch) | |
| tree | 10a759a0438df774a7b1eab6af0e3995f85ae4d3 /apps/plugins/mpegplayer/mpeg2.h | |
| parent | 32bd59d4f75f135b26a537f438e0d6b893f1cdfb (diff) | |
| download | rockbox-f4b5a723b06b25babe201b0a97bdeebc716f5bba.zip rockbox-f4b5a723b06b25babe201b0a97bdeebc716f5bba.tar.gz rockbox-f4b5a723b06b25babe201b0a97bdeebc716f5bba.tar.bz2 rockbox-f4b5a723b06b25babe201b0a97bdeebc716f5bba.tar.xz | |
mpeg2dec in mpegplayer: Do a little code slashing and organizing. Much more to come I think.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg2.h')
| -rw-r--r-- | apps/plugins/mpegplayer/mpeg2.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/plugins/mpegplayer/mpeg2.h b/apps/plugins/mpegplayer/mpeg2.h index 6062f93..01b3de4 100644 --- a/apps/plugins/mpegplayer/mpeg2.h +++ b/apps/plugins/mpegplayer/mpeg2.h @@ -144,24 +144,12 @@ typedef enum { } mpeg2_convert_stage_t; typedef int mpeg2_convert_t (int stage, void * id, const mpeg2_sequence_t * sequence, int stride, - uint32_t accel, void * arg, - mpeg2_convert_init_t * result); + void * arg, mpeg2_convert_init_t * result); int mpeg2_convert (mpeg2dec_t * mpeg2dec, mpeg2_convert_t convert, void * arg); int mpeg2_stride (mpeg2dec_t * mpeg2dec, int stride); void mpeg2_set_buf (mpeg2dec_t * mpeg2dec, uint8_t * buf[3], void * id); void mpeg2_custom_fbuf (mpeg2dec_t * mpeg2dec, int custom_fbuf); -#define MPEG2_ACCEL_X86_MMX 1 -#define MPEG2_ACCEL_X86_3DNOW 2 -#define MPEG2_ACCEL_X86_MMXEXT 4 -#define MPEG2_ACCEL_PPC_ALTIVEC 1 -#define MPEG2_ACCEL_ALPHA 1 -#define MPEG2_ACCEL_ALPHA_MVI 2 -#define MPEG2_ACCEL_SPARC_VIS 1 -#define MPEG2_ACCEL_SPARC_VIS2 2 -#define MPEG2_ACCEL_DETECT 0x80000000 - -uint32_t mpeg2_accel (uint32_t accel); mpeg2dec_t * mpeg2_init (void); const mpeg2_info_t * mpeg2_info (mpeg2dec_t * mpeg2dec); void mpeg2_close (mpeg2dec_t * mpeg2dec); |