Revision c404e783 libavcodec/ivi_common.h

View differences:

libavcodec/ivi_common.h
76 76

  
77 77

  
78 78
/**
79
 *  Declare inverse transform function types
80
 */
81
typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags);
82
typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
83

  
84

  
85
/**
79 86
 *  run-value (RLE) table descriptor
80 87
 */
81 88
typedef struct {
......
152 159
    RVMapDesc       *rv_map;        ///< ptr to the RLE table for this band
153 160
    int             num_tiles;      ///< number of tiles in this band
154 161
    IVITile         *tiles;         ///< array of tile descriptors
155
    void (*inv_transform)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags); ///< inverse transform function pointer
156
    void (*dc_transform) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);   ///< dc transform function pointer, it may be NULL
162
    InvTransformPtr *inv_transform;
163
    DCTransformPtr  *dc_transform;
157 164
    int             is_2d_trans;    ///< 1 indicates that the two-dimensional inverse transform is used
158 165
    int32_t         checksum;       ///< for debug purposes
159 166
    int             checksum_present;

Also available in: Unified diff