mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
Move transform declarations out of IVIBandDesc so indeo4 can use them as well.
Originally committed as revision 23577 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
756e346798
commit
c404e783b9
@ -75,6 +75,13 @@ extern const uint8_t ff_ivi_horizontal_scan_8x8[64];
|
|||||||
extern const uint8_t ff_ivi_direct_scan_4x4[16];
|
extern const uint8_t ff_ivi_direct_scan_4x4[16];
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
* run-value (RLE) table descriptor
|
||||||
*/
|
*/
|
||||||
@ -152,8 +159,8 @@ typedef struct {
|
|||||||
RVMapDesc *rv_map; ///< ptr to the RLE table for this band
|
RVMapDesc *rv_map; ///< ptr to the RLE table for this band
|
||||||
int num_tiles; ///< number of tiles in this band
|
int num_tiles; ///< number of tiles in this band
|
||||||
IVITile *tiles; ///< array of tile descriptors
|
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
|
InvTransformPtr *inv_transform;
|
||||||
void (*dc_transform) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size); ///< dc transform function pointer, it may be NULL
|
DCTransformPtr *dc_transform;
|
||||||
int is_2d_trans; ///< 1 indicates that the two-dimensional inverse transform is used
|
int is_2d_trans; ///< 1 indicates that the two-dimensional inverse transform is used
|
||||||
int32_t checksum; ///< for debug purposes
|
int32_t checksum; ///< for debug purposes
|
||||||
int checksum_present;
|
int checksum_present;
|
||||||
|
Loading…
Reference in New Issue
Block a user