00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00029 #ifndef AVCODEC_IVI_DSP_H
00030 #define AVCODEC_IVI_DSP_H
00031
00032 #include "avcodec.h"
00033 #include "ivi_common.h"
00034
00043 void ff_ivi_recompose53(const IVIPlaneDesc *plane, uint8_t *dst,
00044 const int dst_pitch, const int num_bands);
00045
00054 void ff_ivi_recompose_haar(const IVIPlaneDesc *plane, uint8_t *dst,
00055 const int dst_pitch, const int num_bands);
00056
00067 void ff_ivi_inverse_haar_8x8(const int32_t *in, int16_t *out, uint32_t pitch,
00068 const uint8_t *flags);
00069
00080 void ff_ivi_dc_haar_2d(const int32_t *in, int16_t *out, uint32_t pitch,
00081 int blk_size);
00082
00093 void ff_ivi_inverse_slant_8x8(const int32_t *in, int16_t *out, uint32_t pitch,
00094 const uint8_t *flags);
00095
00106 void ff_ivi_inverse_slant_4x4(const int32_t *in, int16_t *out, uint32_t pitch,
00107 const uint8_t *flags);
00108
00120 void ff_ivi_dc_slant_2d(const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
00121
00130 void ff_ivi_row_slant8(const int32_t *in, int16_t *out, uint32_t pitch,
00131 const uint8_t *flags);
00132
00143 void ff_ivi_col_slant8(const int32_t *in, int16_t *out, uint32_t pitch,
00144 const uint8_t *flags);
00145
00149 void ff_ivi_dc_row_slant(const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
00150
00154 void ff_ivi_dc_col_slant(const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
00155
00159 void ff_ivi_put_pixels_8x8(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags);
00160
00165 void ff_ivi_put_dc_pixel_8x8(const int32_t *in, int16_t *out, uint32_t pitch, int blk_size);
00166
00175 void ff_ivi_mc_8x8_delta(int16_t *buf, const int16_t *ref_buf, uint32_t pitch, int mc_type);
00176
00185 void ff_ivi_mc_4x4_delta(int16_t *buf, const int16_t *ref_buf, uint32_t pitch, int mc_type);
00186
00195 void ff_ivi_mc_8x8_no_delta(int16_t *buf, const int16_t *ref_buf, uint32_t pitch, int mc_type);
00196
00205 void ff_ivi_mc_4x4_no_delta(int16_t *buf, const int16_t *ref_buf, uint32_t pitch, int mc_type);
00206
00207 #endif