Home
last modified time | relevance | path

Searched refs:SwsContext (Results 1 – 25 of 49) sorted by relevance

12

/third_party/ffmpeg/libswscale/
Dswscale_internal.h64 struct SwsContext;
83 typedef int (*SwsFunc)(struct SwsContext *context, const uint8_t *src[],
172 typedef void (*yuv2packed1_fn)(struct SwsContext *c, const int16_t *lumSrc,
205 typedef void (*yuv2packed2_fn)(struct SwsContext *c, const int16_t *lumSrc[2],
237 typedef void (*yuv2packedX_fn)(struct SwsContext *c, const int16_t *lumFilter,
271 typedef void (*yuv2anyX_fn)(struct SwsContext *c, const int16_t *lumFilter,
283 typedef struct SwsContext { struct
320 struct SwsContext *cascaded_context[3]; argument
571 void (*hyscale_fast)(struct SwsContext *c, argument
574 void (*hcscale_fast)(struct SwsContext *c, argument
[all …]
Dswscale.h122 struct SwsContext;
148 struct SwsContext *sws_alloc_context(void);
157 int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
163 void sws_freeContext(struct SwsContext *swsContext);
186 struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat,
217 int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
231 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
238 int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table,
294 struct SwsContext *sws_getCachedContext(struct SwsContext *context,
Dswscale_unscaled.c143 static int planarToNv12Wrapper(SwsContext *c, const uint8_t *src[], in planarToNv12Wrapper()
163 static int nv12ToPlanarWrapper(SwsContext *c, const uint8_t *src[], in nv12ToPlanarWrapper()
184 static int planarToNv24Wrapper(SwsContext *c, const uint8_t *src[], in planarToNv24Wrapper()
204 static int nv24ToPlanarWrapper(SwsContext *c, const uint8_t *src[], in nv24ToPlanarWrapper()
225 static int planarToP01xWrapper(SwsContext *c, const uint8_t *src8[], in planarToP01xWrapper()
285 static int planar8ToP01xleWrapper(SwsContext *c, const uint8_t *src[], in planar8ToP01xleWrapper()
327 static int planarToYuy2Wrapper(SwsContext *c, const uint8_t *src[], in planarToYuy2Wrapper()
339 static int planarToUyvyWrapper(SwsContext *c, const uint8_t *src[], in planarToUyvyWrapper()
351 static int yuv422pToYuy2Wrapper(SwsContext *c, const uint8_t *src[], in yuv422pToYuy2Wrapper()
363 static int yuv422pToUyvyWrapper(SwsContext *c, const uint8_t *src[], in yuv422pToUyvyWrapper()
[all …]
Doutput.c547 yuv2mono_X_c_template(SwsContext *c, const int16_t *lumFilter, in yuv2mono_X_c_template()
600 yuv2mono_2_c_template(SwsContext *c, const int16_t *buf[2], in yuv2mono_2_c_template()
661 yuv2mono_1_c_template(SwsContext *c, const int16_t *buf0, in yuv2mono_1_c_template()
712 static void name ## ext ## _X_c(SwsContext *c, const int16_t *lumFilter, \
724 static void name ## ext ## _2_c(SwsContext *c, const int16_t *buf[2], \
733 static void name ## ext ## _1_c(SwsContext *c, const int16_t *buf0, \
765 yuv2422_X_c_template(SwsContext *c, const int16_t *lumFilter, in yuv2422_X_c_template()
804 yuv2422_2_c_template(SwsContext *c, const int16_t *buf[2], in yuv2422_2_c_template()
837 yuv2422_1_c_template(SwsContext *c, const int16_t *buf0, in yuv2422_1_c_template()
897 yuv2ya16_X_c_template(SwsContext *c, const int16_t *lumFilter, in yuv2ya16_X_c_template()
[all …]
Dhscale_fast_bilinear.c23 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth, in ff_hyscale_fast_c()
38 void ff_hcscale_fast_c(SwsContext *c, int16_t *dst1, int16_t *dst2, in ff_hcscale_fast_c()
Dswscale.c67 static void hScale16To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale16To19_c()
97 static void hScale16To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale16To15_c()
126 static void hScale8To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale8To15_c()
142 static void hScale8To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale8To19_c()
238 static int swscale(SwsContext *c, const uint8_t *src[], in swscale()
527 av_cold void ff_sws_init_range_convert(SwsContext *c) in ff_sws_init_range_convert()
552 static av_cold void sws_init_swscale(SwsContext *c) in sws_init_swscale()
584 SwsFunc ff_getSwsFunc(SwsContext *c) in ff_getSwsFunc()
629 static void xyz12Torgb48(struct SwsContext *c, uint16_t *dst, in xyz12Torgb48()
685 static void rgb48Toxyz12(struct SwsContext *c, uint16_t *dst, in rgb48Toxyz12()
[all …]
Dhscale.c38 static int lum_h_scale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in lum_h_scale()
86 static int lum_convert(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in lum_convert()
166 static int chr_h_scale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in chr_h_scale()
202 static int chr_convert(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in chr_convert()
272 static int no_chr_scale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in no_chr_scale()
Dvscale.c40 static int lum_planar_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in lum_planar_vscale()
73 static int chr_planar_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in chr_planar_vscale()
108 static int packed_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in packed_vscale()
172 static int any_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) in any_vscale()
213 int ff_init_vscale(SwsContext *c, SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst) in ff_init_vscale()
257 void ff_init_vscale_pfn(SwsContext *c, in ff_init_vscale_pfn()
Dutils.c73 static void handle_formats(SwsContext *c);
308 static av_cold int get_local_pos(SwsContext *s, int chr_subsample, int pos, int dir) in get_local_pos()
737 static void fill_rgb2yuv_table(SwsContext *c, const int table[4], int dstRange) in fill_rgb2yuv_table()
831 static void fill_xyztables(struct SwsContext *c) in fill_xyztables()
872 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], in sws_setColorspaceDetails()
1007 int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, in sws_getColorspaceDetails()
1083 static void handle_formats(SwsContext *c) in handle_formats()
1093 SwsContext *sws_alloc_context(void) in sws_alloc_context()
1095 SwsContext *c = av_mallocz(sizeof(SwsContext)); in sws_alloc_context()
1097 av_assert0(offsetof(SwsContext, redDither) + DITHER32_INT == offsetof(SwsContext, dither32)); in sws_alloc_context()
[all …]
/third_party/ffmpeg/libswscale/x86/
Dyuv2rgb_template.c70 static inline int RENAME(yuv420_rgb15)(SwsContext *c, const uint8_t *src[], in RENAME()
90 static inline int RENAME(yuv420_rgb16)(SwsContext *c, const uint8_t *src[],
110 static inline int RENAME(yuv420_rgb32)(SwsContext *c, const uint8_t *src[],
124 static inline int RENAME(yuv420_bgr32)(SwsContext *c, const uint8_t *src[],
138 static inline int RENAME(yuva420_rgb32)(SwsContext *c, const uint8_t *src[],
152 static inline int RENAME(yuva420_bgr32)(SwsContext *c, const uint8_t *src[],
168 static inline int RENAME(yuv420_rgb24)(SwsContext *c, const uint8_t *src[],
182 static inline int RENAME(yuv420_bgr24)(SwsContext *c, const uint8_t *src[],
Dswscale_template.c258 static void RENAME(yuv2rgb32_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
291 static void RENAME(yuv2rgb32_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
320 static void RENAME(yuv2bgr32_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
377 static void RENAME(yuv2rgb565_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
401 static void RENAME(yuv2rgb565_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
454 static void RENAME(yuv2rgb555_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
478 static void RENAME(yuv2rgb555_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
612 static void RENAME(yuv2bgr24_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
637 static void RENAME(yuv2bgr24_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
680 static void RENAME(yuv2yuyv422_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
[all …]
Dw64xmmtest.c25 wrap(sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], in wrap()
/third_party/ffmpeg/libswscale/arm/
Dswscale_unscaled.c37 static int rgbx_to_nv12_neon_32_wrapper(SwsContext *context, const uint8_t *src[], in rgbx_to_nv12_neon_32_wrapper()
51 static int rgbx_to_nv12_neon_16_wrapper(SwsContext *context, const uint8_t *src[], in rgbx_to_nv12_neon_16_wrapper()
81 static int ifmt##_to_##ofmt##_neon_wrapper(SwsContext *c, const uint8_t *src[], \
116 static int ifmt##_to_##ofmt##_neon_wrapper(SwsContext *c, const uint8_t *src[], \
161 static void get_unscaled_swscale_neon(SwsContext *c) {
176 void ff_get_unscaled_swscale_arm(SwsContext *c) in ff_get_unscaled_swscale_arm()
183 void ff_get_unscaled_swscale_arm(SwsContext *c) in ff_get_unscaled_swscale_arm()
Dswscale.c24 void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW,
32 av_cold void ff_sws_init_swscale_arm(SwsContext *c) in ff_sws_init_swscale_arm()
/third_party/ffmpeg/libswscale/aarch64/
Dswscale_unscaled.c40 static int ifmt##_to_##ofmt##_neon_wrapper(SwsContext *c, const uint8_t *src[], \
73 static int ifmt##_to_##ofmt##_neon_wrapper(SwsContext *c, const uint8_t *src[], \
115 static void get_unscaled_swscale_neon(SwsContext *c) {
124 void ff_get_unscaled_swscale_aarch64(SwsContext *c) in ff_get_unscaled_swscale_aarch64()
Dswscale.c24 void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW,
32 av_cold void ff_sws_init_swscale_aarch64(SwsContext *c) in ff_sws_init_swscale_aarch64()
/third_party/skia/experimental/ffmpeg/
DSkVideoEncoder.h23 struct SwsContext;
67 SwsContext* fSWScaleCtx = nullptr;
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_io_proc.c28 struct SwsContext *sws_ctx; in ff_proc_from_dnn_to_frame()
98 struct SwsContext *sws_ctx; in proc_from_frame_to_dnn_frameprocessing()
180 struct SwsContext *sws_ctx; in proc_from_frame_to_dnn_analytics()
/third_party/ffmpeg/libswscale/ppc/
Dyuv2yuv_altivec.c34 static int yv12toyuy2_unscaled_altivec(SwsContext *c, const uint8_t *src[], in yv12toyuy2_unscaled_altivec()
110 static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[], in yv12touyvy_unscaled_altivec()
187 av_cold void ff_get_unscaled_swscale_ppc(SwsContext *c) in ff_get_unscaled_swscale_ppc()
Dyuv2rgb_altivec.c255 static inline void cvtyuvtoRGB(SwsContext *c, vector signed short Y, in cvtyuvtoRGB()
298 static int altivec_ ## name(SwsContext *c, const unsigned char **in, \
474 static int altivec_uyvy_rgb32(SwsContext *c, const unsigned char **in, in altivec_uyvy_rgb32()
535 av_cold SwsFunc ff_yuv2rgb_init_ppc(SwsContext *c) in ff_yuv2rgb_init_ppc()
598 av_cold void ff_yuv2rgb_init_tables_ppc(SwsContext *c, in ff_yuv2rgb_init_tables_ppc()
633 static av_always_inline void yuv2packedX_altivec(SwsContext *c, in yuv2packedX_altivec()
842 void ff_yuv2 ## suffix ## _X_altivec(SwsContext *c, \
Dswscale_vsx.c529 yuv2rgb_full_X_vsx_template(SwsContext *c, const int16_t *lumFilter, in yuv2rgb_full_X_vsx_template()
680 yuv2rgb_full_2_vsx_template(SwsContext *c, const int16_t *buf[2], in yuv2rgb_full_2_vsx_template()
802 yuv2rgb_2_vsx_template(SwsContext *c, const int16_t *buf[2], in yuv2rgb_2_vsx_template()
978 yuv2rgb_full_1_vsx_template(SwsContext *c, const int16_t *buf0, in yuv2rgb_full_1_vsx_template()
1107 yuv2rgb_1_vsx_template(SwsContext *c, const int16_t *buf0, in yuv2rgb_1_vsx_template()
1293 static void name ## ext ## _X_vsx(SwsContext *c, const int16_t *lumFilter, \
1306 static void name ## ext ## _2_vsx(SwsContext *c, const int16_t *buf[2], \
1316 static void name ## ext ## _1_vsx(SwsContext *c, const int16_t *buf0, \
1428 yuv2422_X_vsx_template(SwsContext *c, const int16_t *lumFilter, in yuv2422_X_vsx_template()
1536 yuv2422_2_vsx_template(SwsContext *c, const int16_t *buf[2], in yuv2422_2_vsx_template()
[all …]
Dyuv2rgb_altivec.h32 void ff_yuv2 ## suffix ## _X_altivec(SwsContext *c, \
/third_party/ffmpeg/libavfilter/
Dvf_sr.c41 struct SwsContext *sws_uv_scale;
43 struct SwsContext *sws_pre_scale;
Dlswsutils.c29 struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in ff_scale_image()
/third_party/ffmpeg/tests/checkasm/
Dsw_scale.c64 struct SwsContext *ctx; in check_yuv2yuvX()
153 struct SwsContext *ctx; in check_hscale()

12