Home
last modified time | relevance | path

Searched refs:src_fmt (Results 1 - 11 of 11) sorted by relevance

/third_party/ffmpeg/libavformat/
H A 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()
H A 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/mesa3d/src/gallium/drivers/iris/
H A Diris_blit.c493 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/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blit.c561 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/
H A Davfiltergraph.c567 static int get_fmt_score(enum AVSampleFormat dst_fmt, enum AVSampleFormat src_fmt) in get_fmt_score() argument
571 if (av_sample_fmt_is_planar(dst_fmt) != av_sample_fmt_is_planar(src_fmt)) in get_fmt_score()
574 if (av_get_bytes_per_sample(dst_fmt) < av_get_bytes_per_sample(src_fmt)) { in get_fmt_score()
575 score += 100 * (av_get_bytes_per_sample(src_fmt) - av_get_bytes_per_sample(dst_fmt)); in get_fmt_score()
577 score += 10 * (av_get_bytes_per_sample(dst_fmt) - av_get_bytes_per_sample(src_fmt)); in get_fmt_score()
580 av_get_packed_sample_fmt(src_fmt) == AV_SAMPLE_FMT_FLT) in get_fmt_score()
584 av_get_packed_sample_fmt(src_fmt) == AV_SAMPLE_FMT_S32) in get_fmt_score()
591 enum AVSampleFormat src_fmt) in find_best_sample_fmt_of_2()
595 score1 = get_fmt_score(dst_fmt1, src_fmt); in find_best_sample_fmt_of_2()
596 score2 = get_fmt_score(dst_fmt2, src_fmt); in find_best_sample_fmt_of_2()
590 find_best_sample_fmt_of_2(enum AVSampleFormat dst_fmt1, enum AVSampleFormat dst_fmt2, enum AVSampleFormat src_fmt) find_best_sample_fmt_of_2() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c1906 const struct util_format_description *src_fmt, in convert_to_blend_type()
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 in convert_to_blend_type()
1904 convert_to_blend_type(struct gallivm_state *gallivm, unsigned block_size, const struct util_format_description *src_fmt, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef* src, unsigned num_srcs) convert_to_blend_type() argument
2072 convert_from_blend_type(struct gallivm_state *gallivm, unsigned block_size, const struct util_format_description *src_fmt, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef* src, unsigned num_srcs) convert_from_blend_type() argument
[all...]
/third_party/ffmpeg/libavresample/
H A Dutils.c221 enum AVSampleFormat src_fmt; in avresample_open() local
223 src_fmt = avr->internal_sample_fmt; in avresample_open()
225 src_fmt = avr->in_sample_fmt; in avresample_open()
226 avr->ac_out = ff_audio_convert_alloc(avr, avr->out_sample_fmt, src_fmt, in avresample_open()
H A Daudio_convert.c134 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt
/third_party/ffmpeg/tests/
H A Dfate-run.sh242 src_fmt=$1
255 ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_input \
266 src_fmt=$1
276 ffmpeg -f $src_fmt -i $tsrcfile $stream_maps -codec copy $FLAGS \
/third_party/ffmpeg/libswresample/
H A Daudioconvert.c35 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt
/third_party/ffmpeg/libswscale/
H A Dswscale_unscaled.c1969 #define IS_DIFFERENT_ENDIANESS(src_fmt, dst_fmt, pix_fmt) \
1970 ((src_fmt == pix_fmt ## BE && dst_fmt == pix_fmt ## LE) || \
1971 (src_fmt == pix_fmt ## LE && dst_fmt == pix_fmt ## BE))

Completed in 16 milliseconds