28 int y_stride,
int c_stride,
int src_stride,
33 int y_stride,
int c_stride,
int src_stride,
37 int srcStride[],
int srcSliceY,
int srcSliceH,
38 uint8_t *dst[],
int dstStride[]) {
41 dst[0] + srcSliceY * dstStride[0],
42 dst[1] + (srcSliceY / 2) * dstStride[1],
43 context->
srcW, srcSliceH,
44 dstStride[0], dstStride[1], srcStride[0],
51 int srcStride[],
int srcSliceY,
int srcSliceH,
52 uint8_t *dst[],
int dstStride[]) {
55 dst[0] + srcSliceY * dstStride[0],
56 dst[1] + (srcSliceY / 2) * dstStride[1],
57 context->
srcW, srcSliceH,
58 dstStride[0], dstStride[1], srcStride[0],
static void get_unscaled_swscale_neon(SwsContext *c)
enum AVPixelFormat dstFormat
Destination pixel format.
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
void rgbx_to_nv12_neon_32(const uint8_t *src, uint8_t *y, uint8_t *chroma, int width, int height, int y_stride, int c_stride, int src_stride, int32_t coeff_tbl[9])
static int rgbx_to_nv12_neon_32_wrapper(SwsContext *context, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
BYTE int const BYTE int int int height
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
void rgbx_to_nv12_neon_16(const uint8_t *src, uint8_t *y, uint8_t *chroma, int width, int height, int y_stride, int c_stride, int src_stride, int32_t coeff_tbl[9])
void ff_get_unscaled_swscale_arm(SwsContext *c)
enum AVPixelFormat srcFormat
Source pixel format.
SwsFunc swscale
Note that src, dst, srcStride, dstStride will be copied in the sws_scale() wrapper so they can be fre...
int32_t input_rgb2yuv_table[16+40 *4]
int srcW
Width of source luma/alpha planes.
int flags
Flags passed by the user to select scaler algorithm, optimizations, subsampling, etc...
static int rgbx_to_nv12_neon_16_wrapper(SwsContext *context, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])