Home
last modified time | relevance | path

Searched refs:src_fmt (Results 1 – 25 of 60) sorted by relevance

123

/third_party/ffmpeg/libavformat/
Dh263dec.c32 int src_fmt, last_src_fmt=-1; in h263_probe() local
40 src_fmt= (code>>10)&7; in h263_probe()
41 if( src_fmt != last_src_fmt in h263_probe()
43 && src_fmt<6) in h263_probe()
51 if (src_fmt != 7 && !(code&(1<<9)) && (code&(1<<5))) { in h263_probe()
56 if((code&0x30000)==0x20000 && src_fmt){ in h263_probe()
61 last_src_fmt= src_fmt; in h263_probe()
Dh261dec.c32 int src_fmt=0; in h261_probe() local
41 src_fmt= code&8; in h261_probe()
45 if(src_fmt){ // CIF in h261_probe()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_slow.c45 SDL_PixelFormat *src_fmt = info->src_fmt; in SDL_Blit_Slow() local
47 int srcbpp = src_fmt->BytesPerPixel; in SDL_Blit_Slow()
49 Uint32 rgbmask = ~src_fmt->Amask; in SDL_Blit_Slow()
76 if (src_fmt->Amask) { in SDL_Blit_Slow()
77 DISEMBLE_RGBA(src, srcbpp, src_fmt, srcpixel, srcR, srcG, in SDL_Blit_Slow()
80 DISEMBLE_RGB(src, srcbpp, src_fmt, srcpixel, srcR, srcG, in SDL_Blit_Slow()
87 srcpixel = (srcR << src_fmt->Rshift) | in SDL_Blit_Slow()
88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
DSDL_blit.c71 (Uint16) srcrect->x * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
76 info->src_pitch - info->src_w * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
227 map->info.src_fmt = surface->format; in SDL_CalculateBlit()
DSDL_blit_N.c164 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit_RGB888_RGB565Altivec()
268 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit_RGB565_32Altivec()
415 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit_RGB555_32Altivec()
563 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit32to32KeyAltivec()
681 SDL_PixelFormat *srcfmt = info->src_fmt; in ConvertAltivec32to32_noprefetch()
764 SDL_PixelFormat *srcfmt = info->src_fmt; in ConvertAltivec32to32_prefetch()
1997 srcfmt = info->src_fmt; in BlitNto1()
2077 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit4to4MaskAlpha()
2153 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoN()
2188 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoNCopyAlpha()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_iconv.c130 int src_fmt; member
209 int src_fmt = ENCODING_UNKNOWN; in SDL_iconv_open() local
223 src_fmt = encodings[i].format; in SDL_iconv_open()
230 if (src_fmt != ENCODING_UNKNOWN) { in SDL_iconv_open()
235 if (src_fmt != ENCODING_UNKNOWN && dst_fmt != ENCODING_UNKNOWN) { in SDL_iconv_open()
238 cd->src_fmt = src_fmt; in SDL_iconv_open()
270 switch (cd->src_fmt) { in SDL_iconv()
278 cd->src_fmt = ENCODING_UTF16BE; in SDL_iconv()
281 cd->src_fmt = ENCODING_UTF16LE; in SDL_iconv()
289 cd->src_fmt = ENCODING_UTF16NATIVE; in SDL_iconv()
[all …]
/third_party/pixman/test/
Dcheck-formats.c111 pixman_format_code_t src_fmt, dest_fmt; in main() local
115 src_fmt = PIXMAN_null; in main()
143 else if ((src_fmt = format_from_string (arg)) == PIXMAN_null) in main()
166 if (op == PIXMAN_OP_NONE || src_fmt == PIXMAN_null || dest_fmt == PIXMAN_null) in main()
175 return check_op (op, src_fmt, dest_fmt); in main()
Dsolid-test.c278 pixman_format_code_t src_fmt, dst_fmt, mask_fmt = PIXMAN_null; in test_solid() local
290 src_img = create_solid_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
293 src_img = create_solid_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
297 src_img = create_multi_pixel_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
314 format_name (src_fmt), format_name (dst_fmt), in test_solid()
317 src_fmt == PIXMAN_solid ? 1 : src_img->bits.width, in test_solid()
Dblitters-test.c246 pixman_format_code_t src_fmt, dst_fmt, mask_fmt; in test_composite() local
272 max_extra_stride, &src_fmt); in test_composite()
278 max_extra_stride, &src_fmt); in test_composite()
307 if ((src_fmt == PIXMAN_x8r8g8b8 || src_fmt == PIXMAN_x8b8g8r8) && in test_composite()
351 format_name (src_fmt), format_name (dst_fmt), in test_composite()
Dlowlevel-blt-bench.c383 int src_fmt, in bench_composite() argument
406 bytes_per_pix += (src_fmt >> 24) / 8.0; in bench_composite()
407 src_img = pixman_image_create_bits (src_fmt, in bench_composite()
411 xsrc_img = pixman_image_create_bits (src_fmt, in bench_composite()
418 src_img = pixman_image_create_bits (src_fmt, in bench_composite()
422 xsrc_img = pixman_image_create_bits (src_fmt, in bench_composite()
506 ((PIXMAN_FORMAT_BPP(src_fmt) + PIXMAN_FORMAT_BPP(dst_fmt)) / 8); in bench_composite()
623 int src_fmt; member
882 test->src_fmt = format[0]; in parse_test_pattern()
895 if (test->src_fmt == PIXMAN_solid) in parse_test_pattern()
[all …]
Daffine-test.c45 pixman_format_code_t src_fmt, dst_fmt; in test_composite() local
95 src_fmt = src_bpp == 4 ? (prng_rand_n (2) == 0 ? in test_composite()
102 src_fmt, src_width, src_height, srcbuf, src_stride); in test_composite()
215 printf ("src_fmt=%s, dst_fmt=%s\n", format_name (src_fmt), format_name (dst_fmt)); in test_composite()
Dscaling-test.c76 pixman_format_code_t src_fmt, mask_fmt, dst_fmt; in test_composite() local
147 src_fmt = get_format (src_bpp); in test_composite()
170 src_fmt, src_width, src_height, srcbuf, src_stride); in test_composite()
352 operator_name (op), format_name (src_fmt), in test_composite()
Dcover-test.c264 pixman_format_code_t src_fmt, dst_fmt, mask_fmt; in test_cover() local
318 src_fmt = img_fmt_list[src_fmt_index]; in test_cover()
381 format_name (src_fmt), format_name (dst_fmt), in test_cover()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiocvt.c838 SDL_HandTunedTypeCVT(SDL_AudioFormat src_fmt, SDL_AudioFormat dst_fmt) in SDL_HandTunedTypeCVT() argument
857 SDL_AudioFormat src_fmt, SDL_AudioFormat dst_fmt) in SDL_BuildAudioTypeCVT() argument
859 if (src_fmt != dst_fmt) { in SDL_BuildAudioTypeCVT()
860 const Uint16 src_bitsize = SDL_AUDIO_BITSIZE(src_fmt); in SDL_BuildAudioTypeCVT()
862 SDL_AudioFilter filter = SDL_HandTunedTypeCVT(src_fmt, dst_fmt); in SDL_BuildAudioTypeCVT()
869 if ((filt->src_fmt == src_fmt) && (filt->dst_fmt == dst_fmt)) { in SDL_BuildAudioTypeCVT()
999 SDL_AudioFormat src_fmt, Uint8 src_channels, int src_rate, in SDL_BuildAudioCVT() argument
1016 if ((SDL_AUDIO_BITSIZE(src_fmt) > 16) && (!SDL_AUDIO_ISSIGNED(src_fmt))) { in SDL_BuildAudioCVT()
1032 src_fmt, dst_fmt, src_channels, dst_channels, src_rate, dst_rate); in SDL_BuildAudioCVT()
1037 cvt->src_format = src_fmt; in SDL_BuildAudioCVT()
[all …]
DSDL_audio_c.h35 SDL_AudioFormat src_fmt; member
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkateutil.c590 GstElement * element, GstPad * pad, GstFormat src_fmt, gint64 src_val, in gst_kate_decoder_base_convert() argument
595 if (src_fmt == *dest_fmt) { in gst_kate_decoder_base_convert()
605 if (src_fmt == GST_FORMAT_BYTES || *dest_fmt == GST_FORMAT_BYTES) { in gst_kate_decoder_base_convert()
610 switch (src_fmt) { in gst_kate_decoder_base_convert()
641 GstFormat src_fmt, dest_fmt; in gst_kate_decoder_base_sink_query() local
644 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_decoder_base_sink_query()
645 if (!gst_kate_decoder_base_convert (decoder, element, pad, src_fmt, in gst_kate_decoder_base_sink_query()
649 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_decoder_base_sink_query()
Dgstkateparse.c559 GstFormat src_fmt, dest_fmt; in gst_kate_parse_src_query()
562 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_parse_src_query()
564 gst_kate_parse_convert (pad, src_fmt, src_val, &dest_fmt, in gst_kate_parse_src_query()
567 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_parse_src_query()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-info.c443 GstFormat src_fmt, gint64 src_val, GstFormat dest_fmt, gint64 * dest_val) in gst_audio_info_convert() argument
449 src_val, gst_format_get_name (src_fmt), src_fmt, in gst_audio_info_convert()
452 if (src_fmt == dest_fmt || src_val == -1) { in gst_audio_info_convert()
467 switch (src_fmt) { in gst_audio_info_convert()
/third_party/gstreamer/gstplugins_bad/ext/flite/
Dgstflitetestsrc.c298 GstFormat src_fmt, dest_fmt;
301 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val);
302 if (src_fmt == dest_fmt) {
307 switch (src_fmt) {
336 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val);
/third_party/pixman/pixman/
Dpixman-arm-neon-asm.S2975 .macro bilinear_interpolate_last_pixel src_fmt, dst_fmt
2976 bilinear_load_&src_fmt d0, d1, d2
2991 .macro bilinear_interpolate_two_pixels src_fmt, dst_fmt
2992 bilinear_load_and_vertical_interpolate_two_&src_fmt \
3008 .macro bilinear_interpolate_four_pixels src_fmt, dst_fmt
3009 bilinear_load_and_vertical_interpolate_four_&src_fmt \
3040 .macro bilinear_interpolate_four_pixels_head src_fmt, dst_fmt
3041 .ifdef have_bilinear_interpolate_four_pixels_&src_fmt&_&dst_fmt
3042 bilinear_interpolate_four_pixels_&src_fmt&_&dst_fmt&_head
3044 bilinear_interpolate_four_pixels src_fmt, dst_fmt
[all …]
/third_party/gstreamer/gstplugins_bad/gst/frei0r/
Dgstfrei0rsrc.c182 GstFormat src_fmt, dest_fmt; in gst_frei0r_src_query() local
185 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_frei0r_src_query()
186 if (src_fmt == dest_fmt) { in gst_frei0r_src_query()
191 switch (src_fmt) { in gst_frei0r_src_query()
226 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_frei0r_src_query()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c463 struct iris_format_info src_fmt = in iris_blit() local
466 iris_resource_texture_aux_usage(ice, src_res, src_fmt.fmt); in iris_blit()
468 iris_resource_prepare_texture(ice, src_res, src_fmt.fmt, in iris_blit()
496 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit()
513 src_fmt.fmt, src_fmt.swizzle, in iris_blit()
523 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit()
/third_party/ffmpeg/tests/
Dfate-run.sh193 src_fmt=$1
207 ffmpeg -auto_conversion_filters -f $src_fmt $DEC_OPTS -i $tsrcfile $ENC_OPTS $enc_opt $FLAGS \
220 src_fmt=$1
230 ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $ENC_OPTS $enc_opt $FLAGS \
241 src_fmt=$1
251 ffmpeg -f $src_fmt -i $tsrcfile $stream_maps -codec copy $FLAGS \
/third_party/gstreamer/gstplugins_base/gst/audiorate/
Dgstaudiorate.c403 GstFormat src_fmt, guint64 src_val, GstFormat dest_fmt, guint64 * dest_val) in gst_audio_rate_convert() argument
405 return gst_audio_info_convert (&audiorate->info, src_fmt, src_val, dest_fmt, in gst_audio_rate_convert()
413 GstFormat src_fmt, dst_fmt; in gst_audio_rate_convert_segments() local
415 src_fmt = audiorate->sink_segment.format; in gst_audio_rate_convert_segments()
419 src_fmt, audiorate->sink_segment.field, \ in gst_audio_rate_convert_segments()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c560 struct crocus_format_info src_fmt = in crocus_blit() local
565 crocus_resource_prepare_texture(ice, src_res, src_fmt.fmt, in crocus_blit()
599 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in crocus_blit()
606 struct isl_swizzle src_swiz = pipe_to_isl_swizzles(src_fmt.swizzles); in crocus_blit()
618 src_fmt.fmt, src_swiz, in crocus_blit()
627 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in crocus_blit()

123