aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-10-24 18:28:01 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-10-24 18:28:01 +0000
commit10acc47995831802501d0dbb9aab4ba7f91cbcfb (patch)
tree845c52c076f79526aaaed3ad815056d1b0835715 /libavcodec/dsputil.h
parent01a2ddaf85037db70ae73efe1fcc74e148313523 (diff)
downloadffmpeg-10acc47995831802501d0dbb9aab4ba7f91cbcfb.tar.gz
* introducing dct248 into the DSP context.
* simple/accurate implementation of dct248 * DV encoding now supports 2-4-8 DCT * DV encoding gets a bit faster (but still miles away from what I think it could do) * misc. DV codec cleanups Originally committed as revision 2425 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 9bb5fd2df5..f8711d2960 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -37,6 +37,7 @@ typedef short DCTELEM;
void fdct_ifast (DCTELEM *data);
void ff_jpeg_fdct_islow (DCTELEM *data);
+void ff_fdct248_islow (DCTELEM *data);
void j_rev_dct (DCTELEM *data);
@@ -47,6 +48,7 @@ void ff_fdct_mmx2(DCTELEM *block);
extern const uint8_t ff_alternate_horizontal_scan[64];
extern const uint8_t ff_alternate_vertical_scan[64];
extern const uint8_t ff_zigzag_direct[64];
+extern const uint8_t ff_zigzag248_direct[64];
/* pixel operations */
#define MAX_NEG_CROP 384
@@ -244,6 +246,7 @@ typedef struct DSPContext {
/* (I)DCT */
void (*fdct)(DCTELEM *block/* align 16*/);
+ void (*fdct248)(DCTELEM *block/* align 16*/);
/* IDCT really*/
void (*idct)(DCTELEM *block/* align 16*/);