[FFmpeg-cvslog] r23577 - trunk/libavcodec/ivi_common.h
maxim
subversion
Fri Jun 11 10:49:15 CEST 2010
Author: maxim
Date: Fri Jun 11 10:49:15 2010
New Revision: 23577
Log:
Move transform declarations out of IVIBandDesc so indeo4 can use them as well.
Modified:
trunk/libavcodec/ivi_common.h
Modified: trunk/libavcodec/ivi_common.h
==============================================================================
--- trunk/libavcodec/ivi_common.h Fri Jun 11 10:05:17 2010 (r23576)
+++ trunk/libavcodec/ivi_common.h Fri Jun 11 10:49:15 2010 (r23577)
@@ -76,6 +76,13 @@ extern const uint8_t ff_ivi_direct_scan_
/**
+ * Declare inverse transform function types
+ */
+typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags);
+typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
+
+
+/**
* run-value (RLE) table descriptor
*/
typedef struct {
@@ -152,8 +159,8 @@ typedef struct {
RVMapDesc *rv_map; ///< ptr to the RLE table for this band
int num_tiles; ///< number of tiles in this band
IVITile *tiles; ///< array of tile descriptors
- void (*inv_transform)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags); ///< inverse transform function pointer
- void (*dc_transform) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size); ///< dc transform function pointer, it may be NULL
+ InvTransformPtr *inv_transform;
+ DCTransformPtr *dc_transform;
int is_2d_trans; ///< 1 indicates that the two-dimensional inverse transform is used
int32_t checksum; ///< for debug purposes
int checksum_present;
More information about the ffmpeg-cvslog
mailing list