/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_srgb.c | 328 const struct util_format_description *dst_fmt, in lp_build_float_to_srgb_packed() 342 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; in lp_build_float_to_srgb_packed() 355 for (chan = 0; chan < dst_fmt->nr_channels; chan++) { in lp_build_float_to_srgb_packed() 356 if (dst_fmt->swizzle[chan] <= PIPE_SWIZZLE_W) { in lp_build_float_to_srgb_packed() 359 ls = dst_fmt->channel[dst_fmt->swizzle[chan]].shift; in lp_build_float_to_srgb_packed() 327 lp_build_float_to_srgb_packed(struct gallivm_state *gallivm, const struct util_format_description *dst_fmt, struct lp_type src_type, LLVMValueRef *src) lp_build_float_to_srgb_packed() argument
|
H A D | lp_bld_format.h | 249 const struct util_format_description *dst_fmt,
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_blit.c | 504 struct iris_format_info dst_fmt = in iris_blit() local 509 dst_fmt.fmt, false); in iris_blit() 545 dst_fmt.fmt, dst_fmt.swizzle, in iris_blit()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blit.c | 578 struct crocus_format_info dst_fmt = in crocus_blit() local 583 dst_fmt.fmt, dst_aux_disable); in crocus_blit() 608 struct isl_swizzle dst_swiz = pipe_to_isl_swizzles(dst_fmt.swizzles); in crocus_blit() 621 dst_fmt.fmt, dst_swiz, in crocus_blit()
|
/third_party/ffmpeg/libavfilter/ |
H A D | avfiltergraph.c | 567 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() 579 if (av_get_packed_sample_fmt(dst_fmt) == AV_SAMPLE_FMT_S32 && in get_fmt_score() 583 if (av_get_packed_sample_fmt(dst_fmt) == AV_SAMPLE_FMT_FLT && in get_fmt_score()
|
/third_party/ffmpeg/libavresample/ |
H A D | audio_convert.c | 134 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt
|
/third_party/ffmpeg/libswresample/ |
H A D | audioconvert.c | 35 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
H A D | tde_osictl_k.c | 313 static tde_colorfmt_transform tde_osi_get_fmt_trans_type(hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt); 318 static tde_clut_usage tde_osi_get_clut_usage(hi_tde_color_fmt src_fmt, hi_tde_color_fmt dst_fmt); 770 dst_fmt: target pixel format 773 static tde_colorfmt_transform tde_osi_get_fmt_trans_type(hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt) in tde_osi_get_fmt_trans_type() argument 782 dst_category = tde_osi_get_fmt_category(dst_fmt); in tde_osi_get_fmt_trans_type() 852 dst_fmt target pixel format 855 static tde_clut_usage tde_osi_get_clut_usage(hi_tde_color_fmt src_fmt, hi_tde_color_fmt dst_fmt) in tde_osi_get_clut_usage() argument 859 color_trans_type = tde_osi_get_fmt_trans_type(src_fmt, dst_fmt); in tde_osi_get_clut_usage() 1039 dst_fmt target pixel format 1044 static hi_s32 tde_osi_check_single_src_to_opt(hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt, hi_tde_op argument 1189 tde_osi_check_double_src_opt(hi_tde_color_fmt src1_fmt, hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt, hi_tde_opt *opt) tde_osi_check_double_src_opt() argument 1303 tde_osi_double_src_get_opt_code(hi_tde_color_fmt src1_fmt, hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt) tde_osi_double_src_get_opt_code() argument 1336 tde_osi_single_src_to_get_opt_code(hi_tde_color_fmt src2_fmt, hi_tde_color_fmt dst_fmt) tde_osi_single_src_to_get_opt_code() argument 5777 tde_osi_check_single_src_pattern_opt(hi_tde_color_fmt src_fmt, hi_tde_color_fmt dst_fmt, hi_tde_pattern_fill_opt *opt) tde_osi_check_single_src_pattern_opt() argument 5875 tde_osi_check_double_src_pattern_opt(hi_tde_color_fmt back_ground_fmt, hi_tde_color_fmt fore_ground_fmt, hi_tde_color_fmt dst_fmt, hi_tde_pattern_fill_opt *opt) tde_osi_check_double_src_pattern_opt() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_surface.c | 502 enum pipe_format dst_fmt; in nvc0_clear_buffer() local 510 dst_fmt = PIPE_FORMAT_R32G32B32A32_UINT; in nvc0_clear_buffer() 517 dst_fmt = PIPE_FORMAT_NONE; /* Init dst_fmt to silence gcc warning */ in nvc0_clear_buffer() 520 dst_fmt = PIPE_FORMAT_R32G32_UINT; in nvc0_clear_buffer() 525 dst_fmt = PIPE_FORMAT_R32_UINT; in nvc0_clear_buffer() 530 dst_fmt = PIPE_FORMAT_R16_UINT; in nvc0_clear_buffer() 536 dst_fmt = PIPE_FORMAT_R8_UINT; in nvc0_clear_buffer() 592 PUSH_DATA (push, nvc0_format_table[dst_fmt].rt); in nvc0_clear_buffer()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 710 enum pipe_format dst_fmt; in nv50_clear_buffer() local 718 dst_fmt = PIPE_FORMAT_R32G32B32A32_UINT; in nv50_clear_buffer() 722 dst_fmt = PIPE_FORMAT_R32G32_UINT; in nv50_clear_buffer() 727 dst_fmt = PIPE_FORMAT_R32_UINT; in nv50_clear_buffer() 732 dst_fmt = PIPE_FORMAT_R16_UINT; in nv50_clear_buffer() 738 dst_fmt = PIPE_FORMAT_R8_UINT; in nv50_clear_buffer() 792 PUSH_DATA (push, nv50_format_table[dst_fmt].rt); in nv50_clear_buffer()
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_iep2.c | 88 u32 dst_fmt;
member 352 reg = IEP2_REG_SRC_FMT(cfg->src_fmt) | IEP2_REG_SRC_YUV_SWAP(cfg->src_yuv_swap) | IEP2_REG_DST_FMT(cfg->dst_fmt) |
in iep2_config()
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_iep2.c | 98 u32 dst_fmt; member 366 | IEP2_REG_DST_FMT(cfg->dst_fmt) in iep2_config()
|
/third_party/ffmpeg/libswscale/ |
H A D | swscale_unscaled.c | 1969 #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))
|