/third_party/ffmpeg/libavformat/ |
D | h263dec.c | 32 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()
|
D | h261dec.c | 32 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/ |
D | SDL_blit_slow.c | 45 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()
|
D | SDL_blit.c | 71 (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()
|
D | SDL_blit_N.c | 164 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 …]
|
D | SDL_blit_A.c | 39 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1SurfaceAlpha() 86 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1PixelAlpha() 132 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1SurfaceAlphaKey() 336 SDL_PixelFormat *sf = info->src_fmt; in BlitRGBtoRGBPixelAlphaMMX() 523 SDL_PixelFormat *sf = info->src_fmt; in BlitRGBtoRGBPixelAlphaMMX3DNOW() 1155 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoNSurfaceAlpha() 1194 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoNSurfaceAlphaKey() 1235 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoNPixelAlpha()
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_iconv.c | 130 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/flutter/skia/third_party/externals/sdl/src/audio/ |
D | SDL_audiocvt.c | 838 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 …]
|
D | SDL_audio_c.h | 35 SDL_AudioFormat src_fmt; member
|
/third_party/gstreamer/gstplugins_bad/ext/kate/ |
D | gstkateutil.c | 590 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()
|
D | gstkateparse.c | 559 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()
|
D | gstkateenc.c | 1145 gst_kate_enc_convert (GstPad * pad, GstFormat src_fmt, gint64 src_val, in gst_kate_enc_convert() argument 1151 if (src_fmt == *dest_fmt) { in gst_kate_enc_convert() 1164 if (src_fmt == GST_FORMAT_BYTES || *dest_fmt == GST_FORMAT_BYTES) { in gst_kate_enc_convert() 1170 switch (src_fmt) { in gst_kate_enc_convert() 1205 GstFormat src_fmt, dest_fmt; in gst_kate_enc_source_query() local 1208 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_enc_source_query() 1209 if (!gst_kate_enc_convert (pad, src_fmt, src_val, &dest_fmt, &dest_val)) { in gst_kate_enc_source_query() 1212 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_enc_source_query()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-info.c | 443 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/ |
D | gstflitetestsrc.c | 298 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/gstreamer/gstplugins_bad/gst/frei0r/ |
D | gstfrei0rsrc.c | 182 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/ffmpeg/tests/ |
D | fate-run.sh | 193 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/mesa3d/src/gallium/drivers/iris/ |
D | iris_blit.c | 493 struct iris_format_info src_fmt = in iris_blit() local 496 iris_resource_texture_aux_usage(ice, src_res, src_fmt.fmt); in iris_blit() 498 iris_resource_prepare_texture(ice, src_res, src_fmt.fmt, in iris_blit() 526 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit() 543 src_fmt.fmt, src_fmt.swizzle, in iris_blit() 553 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit()
|
/third_party/gstreamer/gstplugins_base/gst/audiorate/ |
D | gstaudiorate.c | 403 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/ |
D | crocus_blit.c | 561 struct crocus_format_info src_fmt = in crocus_blit() local 566 crocus_resource_prepare_texture(ice, src_res, src_fmt.fmt, in crocus_blit() 600 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in crocus_blit() 607 struct isl_swizzle src_swiz = pipe_to_isl_swizzles(src_fmt.swizzles); in crocus_blit() 619 src_fmt.fmt, src_swiz, in crocus_blit() 628 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in crocus_blit()
|
/third_party/ffmpeg/libavfilter/ |
D | avfiltergraph.c | 630 static int get_fmt_score(enum AVSampleFormat dst_fmt, enum AVSampleFormat src_fmt) in get_fmt_score() argument 634 if (av_sample_fmt_is_planar(dst_fmt) != av_sample_fmt_is_planar(src_fmt)) in get_fmt_score() 637 if (av_get_bytes_per_sample(dst_fmt) < av_get_bytes_per_sample(src_fmt)) { in get_fmt_score() 638 score += 100 * (av_get_bytes_per_sample(src_fmt) - av_get_bytes_per_sample(dst_fmt)); in get_fmt_score() 640 score += 10 * (av_get_bytes_per_sample(dst_fmt) - av_get_bytes_per_sample(src_fmt)); in get_fmt_score() 643 av_get_packed_sample_fmt(src_fmt) == AV_SAMPLE_FMT_FLT) in get_fmt_score() 647 av_get_packed_sample_fmt(src_fmt) == AV_SAMPLE_FMT_S32) in get_fmt_score() 654 enum AVSampleFormat src_fmt) in find_best_sample_fmt_of_2() argument 658 score1 = get_fmt_score(dst_fmt1, src_fmt); in find_best_sample_fmt_of_2() 659 score2 = get_fmt_score(dst_fmt2, src_fmt); in find_best_sample_fmt_of_2()
|
/third_party/gstreamer/gstplugins_bad/ext/ladspa/ |
D | gstladspasource.c | 131 GstFormat src_fmt, dest_fmt; in gst_ladspa_source_type_query() local 134 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_ladspa_source_type_query() 136 if (!gst_audio_info_convert (&ladspa->info, src_fmt, src_val, dest_fmt, in gst_ladspa_source_type_query() 142 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_ladspa_source_type_query()
|
/third_party/gstreamer/gstplugins_base/ext/vorbis/ |
D | gstvorbisparse.c | 653 GstFormat src_fmt, dest_fmt; in vorbis_parse_src_query() local 656 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in vorbis_parse_src_query() 658 vorbis_parse_convert (pad, src_fmt, src_val, &dest_fmt, in vorbis_parse_src_query() 661 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in vorbis_parse_src_query()
|
/third_party/gstreamer/gstplugins_bad/ext/lv2/ |
D | gstlv2source.c | 315 GstFormat src_fmt, dest_fmt; in gst_lv2_source_query() local 318 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_lv2_source_query() 320 if (!gst_audio_info_convert (&lv2->info, src_fmt, src_val, dest_fmt, in gst_lv2_source_query() 326 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_lv2_source_query()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 1906 const struct util_format_description *src_fmt, in convert_to_blend_type() argument 1926 if (format_expands_to_float_soa(src_fmt)) { in convert_to_blend_type() 1972 if (src_fmt->format == PIPE_FORMAT_R11G11B10_FLOAT) { in convert_to_blend_type() 1976 lp_build_unpack_rgba_soa(gallivm, src_fmt, dst_type, tmps, tmpsoa); in convert_to_blend_type() 1983 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_to_blend_type() 1984 lp_blend_type_from_format_desc(src_fmt, &blend_type); in convert_to_blend_type() 2020 for (j = 0; j < src_fmt->nr_channels; ++j) { in convert_to_blend_type() 2022 unsigned sa = src_fmt->channel[j].shift; in convert_to_blend_type() 2029 mask = (1 << src_fmt->channel[j].size) - 1; in convert_to_blend_type() 2044 chans = scale_bits(gallivm, src_fmt->channel[j].size, in convert_to_blend_type() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglbasesrc.c | 292 GstFormat src_fmt, dest_fmt; in gst_gl_base_src_query() local 295 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_gl_base_src_query() 297 gst_video_info_convert (&src->out_info, src_fmt, src_val, dest_fmt, in gst_gl_base_src_query() 299 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_gl_base_src_query()
|