|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef AVCODEC_CFHDDSP_H |
|
#define AVCODEC_CFHDDSP_H |
|
|
|
#include <stddef.h> |
|
#include <stdint.h> |
|
|
|
typedef struct CFHDDSPContext { |
|
void (*horiz_filter)(int16_t *output, ptrdiff_t out_stride, |
|
const int16_t *low, ptrdiff_t low_stride, |
|
const int16_t *high, ptrdiff_t high_stride, |
|
int width, int height); |
|
|
|
void (*vert_filter)(int16_t *output, ptrdiff_t out_stride, |
|
const int16_t *low, ptrdiff_t low_stride, |
|
const int16_t *high, ptrdiff_t high_stride, |
|
int width, int height); |
|
|
|
void (*horiz_filter_clip)(int16_t *output, const int16_t *low, const int16_t *high, |
|
int width, int bpc); |
|
} CFHDDSPContext; |
|
|
|
void ff_cfhddsp_init(CFHDDSPContext *c, int format, int bayer); |
|
|
|
void ff_cfhddsp_init_x86(CFHDDSPContext *c, int format, int bayer); |
|
|
|
#endif |
|
|