Lines Matching defs:SwsContext

66 struct SwsContext;
98 typedef int (*SwsFunc)(struct SwsContext *context, const uint8_t *src[],
187 typedef void (*yuv2packed1_fn)(struct SwsContext *c, const int16_t *lumSrc,
220 typedef void (*yuv2packed2_fn)(struct SwsContext *c, const int16_t *lumSrc[2],
252 typedef void (*yuv2packedX_fn)(struct SwsContext *c, const int16_t *lumFilter,
286 typedef void (*yuv2anyX_fn)(struct SwsContext *c, const int16_t *lumFilter,
298 typedef struct SwsContext {
304 struct SwsContext *parent;
307 struct SwsContext **slice_ctx;
352 struct SwsContext *cascaded_context[3];
586 * to produce one line of output data. Compared to SwsContext->hScale(),
600 * in SwsContext->flags.
603 void (*hyscale_fast)(struct SwsContext *c,
606 void (*hcscale_fast)(struct SwsContext *c,
618 * destination pixel (SwsContext->dstBpc) is <= 10, data
620 * SwsContext->dstBpc == 16), data will be 19bpc in
624 * bits per component of a source pixel (SwsContext->srcBpc)
626 * (i.e. SwsContext->dstBpc > 8), this is native depth
643 void (*hyScale)(struct SwsContext *c, int16_t *dst, int dstW,
646 void (*hcScale)(struct SwsContext *c, int16_t *dst, int dstW,
677 } SwsContext;
680 SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c);
681 int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4],
684 void ff_yuv2rgb_init_tables_ppc(SwsContext *c, const int inv_table[4],
687 void ff_updateMMXDitherTables(SwsContext *c, int dstY);
689 av_cold void ff_sws_init_range_convert(SwsContext *c);
691 SwsFunc ff_yuv2rgb_init_x86(SwsContext *c);
692 SwsFunc ff_yuv2rgb_init_ppc(SwsContext *c);
950 void ff_get_unscaled_swscale(SwsContext *c);
951 void ff_get_unscaled_swscale_ppc(SwsContext *c);
952 void ff_get_unscaled_swscale_arm(SwsContext *c);
953 void ff_get_unscaled_swscale_aarch64(SwsContext *c);
955 void ff_sws_init_scale(SwsContext *c);
957 void ff_sws_init_input_funcs(SwsContext *c);
958 void ff_sws_init_output_funcs(SwsContext *c,
966 void ff_sws_init_swscale_ppc(SwsContext *c);
967 void ff_sws_init_swscale_vsx(SwsContext *c);
968 void ff_sws_init_swscale_x86(SwsContext *c);
969 void ff_sws_init_swscale_aarch64(SwsContext *c);
970 void ff_sws_init_swscale_arm(SwsContext *c);
972 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth,
974 void ff_hcscale_fast_c(SwsContext *c, int16_t *dst1, int16_t *dst2,
980 void ff_hyscale_fast_mmxext(SwsContext *c, int16_t *dst,
983 void ff_hcscale_fast_mmxext(SwsContext *c, int16_t *dst1, int16_t *dst2,
988 * Allocate and return an SwsContext.
994 struct SwsContext *sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat,
998 int ff_sws_alphablendaway(SwsContext *c, const uint8_t *src[],
1092 int (*process)(SwsContext *c, struct SwsFilterDescriptor *desc, int sliceY, int sliceH);
1100 int ff_init_filters(SwsContext *c);
1103 int ff_free_filters(SwsContext *c);
1131 int ff_init_vscale(SwsContext *c, SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst);
1134 void ff_init_vscale_pfn(SwsContext *c, yuv2planar1_fn yuv2plane1, yuv2planarX_fn yuv2planeX,
1145 int ff_shuffle_filter_coefficients(SwsContext *c, int* filterPos, int filterSize, int16_t *filter, int dstW);