Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libswscale/
Dswscale.h129 struct SwsContext;
155 struct SwsContext *sws_alloc_context(void);
164 int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
170 void sws_freeContext(struct SwsContext *swsContext);
193 struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat,
224 int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
243 int sws_scale_frame(struct SwsContext *c, AVFrame *dst, const AVFrame *src);
269 int sws_frame_start(struct SwsContext *c, AVFrame *dst, const AVFrame *src);
277 void sws_frame_end(struct SwsContext *c);
290 int sws_send_slice(struct SwsContext *c, unsigned int slice_start,
[all …]
Dswscale_internal.h66 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 { struct
304 struct SwsContext *parent; argument
307 struct SwsContext **slice_ctx; argument
352 struct SwsContext *cascaded_context[3]; argument
[all …]
Dswscale.c63 static void hScale16To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale16To19_c()
93 static void hScale16To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale16To15_c()
122 static void hScale8To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale8To15_c()
138 static void hScale8To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale8To19_c()
234 static int swscale(SwsContext *c, const uint8_t *src[], in swscale()
311 SwsContext *const ctx = c->parent ? c->parent : c; in swscale()
326 SwsContext *const ctx = c->parent ? c->parent : c; in swscale()
532 av_cold void ff_sws_init_range_convert(SwsContext *c) in ff_sws_init_range_convert()
557 static av_cold void sws_init_swscale(SwsContext *c) in sws_init_swscale()
589 void ff_sws_init_scale(SwsContext *c) in ff_sws_init_scale()
[all …]
Dswscale_unscaled.c142 static int planarToNv12Wrapper(SwsContext *c, const uint8_t *src[], in planarToNv12Wrapper()
162 static int nv12ToPlanarWrapper(SwsContext *c, const uint8_t *src[], in nv12ToPlanarWrapper()
183 static int planarToNv24Wrapper(SwsContext *c, const uint8_t *src[], in planarToNv24Wrapper()
203 static int nv24ToPlanarWrapper(SwsContext *c, const uint8_t *src[], in nv24ToPlanarWrapper()
224 static int planarToP01xWrapper(SwsContext *c, const uint8_t *src8[], in planarToP01xWrapper()
284 static int planar8ToP01xleWrapper(SwsContext *c, const uint8_t *src[], in planar8ToP01xleWrapper()
326 static int planarToYuy2Wrapper(SwsContext *c, const uint8_t *src[], in planarToYuy2Wrapper()
338 static int planarToUyvyWrapper(SwsContext *c, const uint8_t *src[], in planarToUyvyWrapper()
350 static int yuv422pToYuy2Wrapper(SwsContext *c, const uint8_t *src[], in yuv422pToYuy2Wrapper()
362 static int yuv422pToUyvyWrapper(SwsContext *c, const uint8_t *src[], in yuv422pToUyvyWrapper()
[all …]
Doutput.c579 yuv2mono_X_c_template(SwsContext *c, const int16_t *lumFilter, in yuv2mono_X_c_template()
632 yuv2mono_2_c_template(SwsContext *c, const int16_t *buf[2], in yuv2mono_2_c_template()
693 yuv2mono_1_c_template(SwsContext *c, const int16_t *buf0, in yuv2mono_1_c_template()
744 static void name ## ext ## _X_c(SwsContext *c, const int16_t *lumFilter, \
756 static void name ## ext ## _2_c(SwsContext *c, const int16_t *buf[2], \
765 static void name ## ext ## _1_c(SwsContext *c, const int16_t *buf0, \
797 yuv2422_X_c_template(SwsContext *c, const int16_t *lumFilter, in yuv2422_X_c_template()
836 yuv2422_2_c_template(SwsContext *c, const int16_t *buf[2], in yuv2422_2_c_template()
869 yuv2422_1_c_template(SwsContext *c, const int16_t *buf0, in yuv2422_1_c_template()
929 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()
Dutils.c66 static void handle_formats(SwsContext *c);
262 int ff_shuffle_filter_coefficients(SwsContext *c, int *filterPos, in ff_shuffle_filter_coefficients()
337 static av_cold int get_local_pos(SwsContext *s, int chr_subsample, int pos, int dir) in get_local_pos()
766 static void fill_rgb2yuv_table(SwsContext *c, const int table[4], int dstRange) in fill_rgb2yuv_table()
860 static void fill_xyztables(struct SwsContext *c) in fill_xyztables()
901 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], in sws_setColorspaceDetails()
1058 int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, in sws_getColorspaceDetails()
1140 static void handle_formats(SwsContext *c) in handle_formats()
1150 SwsContext *sws_alloc_context(void) in sws_alloc_context()
1152 SwsContext *c = av_mallocz(sizeof(SwsContext)); in sws_alloc_context()
[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()
/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[],
169 static inline int RENAME(yuv420_rgb24)(SwsContext *c, const uint8_t *src[],
183 static inline int RENAME(yuv420_bgr24)(SwsContext *c, const uint8_t *src[],
Dswscale_template.c253 static void RENAME(yuv2rgb32_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
286 static void RENAME(yuv2rgb32_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
315 static void RENAME(yuv2bgr32_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
372 static void RENAME(yuv2rgb565_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
396 static void RENAME(yuv2rgb565_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
449 static void RENAME(yuv2rgb555_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
473 static void RENAME(yuv2rgb555_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
602 static void RENAME(yuv2bgr24_X_ar)(SwsContext *c, const int16_t *lumFilter, in RENAME()
627 static void RENAME(yuv2bgr24_X)(SwsContext *c, const int16_t *lumFilter, in RENAME()
670 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()
Dhscale_fast_bilinear_simd.c193 void ff_hyscale_fast_mmxext(SwsContext *c, int16_t *dst, in ff_hyscale_fast_mmxext()
283 void ff_hcscale_fast_mmxext(SwsContext *c, int16_t *dst1, int16_t *dst2, in ff_hcscale_fast_mmxext()
/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.c25 void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW,
33 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.c27 SwsContext *c, int16_t *data, \
58 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.c29 struct SwsContext *sws_ctx; in ff_proc_from_dnn_to_frame()
102 struct SwsContext *sws_ctx; in ff_proc_from_frame_to_dnn()
198 struct SwsContext *sws_ctx; in ff_frame_to_dnn_classify()
256 struct SwsContext *sws_ctx; in ff_frame_to_dnn_detect()
/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/tests/checkasm/
Dsw_gbrp.c66 struct SwsContext *ctx; in check_output_yuv2gbrp()
198 struct SwsContext *ctx; in check_input_planar_rgb_to_y()
265 struct SwsContext *ctx; in check_input_planar_rgb_to_uv()
338 struct SwsContext *ctx; in check_input_planar_rgb_to_a()
/third_party/ffmpeg/libavfilter/
Dvf_sr.c41 struct SwsContext *sws_uv_scale;
43 struct SwsContext *sws_pre_scale;

123