Home
last modified time | relevance | path

Searched refs:dst_fmt (Results 1 – 24 of 24) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_slow.c46 SDL_PixelFormat *dst_fmt = info->dst_fmt; in SDL_Blit_Slow() local
48 int dstbpp = dst_fmt->BytesPerPixel; in SDL_Blit_Slow()
96 if (dst_fmt->Amask) { in SDL_Blit_Slow()
97 DISEMBLE_RGBA(dst, dstbpp, dst_fmt, dstpixel, dstR, dstG, in SDL_Blit_Slow()
100 DISEMBLE_RGB(dst, dstbpp, dst_fmt, dstpixel, dstR, dstG, in SDL_Blit_Slow()
151 if (dst_fmt->Amask) { in SDL_Blit_Slow()
152 ASSEMBLE_RGBA(dst, dstbpp, dst_fmt, dstR, dstG, dstB, dstA); in SDL_Blit_Slow()
154 ASSEMBLE_RGB(dst, dstbpp, dst_fmt, dstR, dstG, dstB); in SDL_Blit_Slow()
DSDL_blit.c79 (Uint16) dstrect->x * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit()
84 info->dst_pitch - info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit()
229 map->info.dst_fmt = dst->format; in SDL_CalculateBlit()
DSDL_blit_A.c40 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNto1SurfaceAlpha()
87 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNto1PixelAlpha()
133 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNto1SurfaceAlphaKey()
183 Uint32 dalpha = info->dst_fmt->Amask; in BlitRGBtoRGBSurfaceAlpha128MMX()
233 SDL_PixelFormat *df = info->dst_fmt; in BlitRGBtoRGBSurfaceAlphaMMX()
1156 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNSurfaceAlpha()
1195 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNSurfaceAlphaKey()
1236 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNPixelAlpha()
DSDL_blit_N.c269 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit_RGB565_32Altivec()
416 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit_RGB555_32Altivec()
565 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit32to32KeyAltivec()
682 SDL_PixelFormat *dstfmt = info->dst_fmt; in ConvertAltivec32to32_noprefetch()
765 SDL_PixelFormat *dstfmt = info->dst_fmt; in ConvertAltivec32to32_prefetch()
2078 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit4to4MaskAlpha()
2155 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoN()
2190 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNCopyAlpha()
2319 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNKey()
2362 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitNtoNKeyCopyAlpha()
[all …]
DSDL_blit_copy.c98 w = info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_BlitCopy()
DSDL_blit_1.c437 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit1toNAlpha()
477 SDL_PixelFormat *dstfmt = info->dst_fmt; in Blit1toNAlphaKey()
DSDL_blit_0.c363 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitBtoNAlpha()
408 SDL_PixelFormat *dstfmt = info->dst_fmt; in BlitBtoNAlphaKey()
DSDL_surface.c1062 SDL_PixelFormat src_fmt, dst_fmt; in SDL_ConvertPixels() local
1135 &dst_surface, &dst_fmt, &dst_blitmap)) { in SDL_ConvertPixels()
DSDL_blit.h66 SDL_PixelFormat *dst_fmt; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c328 const struct util_format_description *dst_fmt, in lp_build_float_to_srgb_packed() argument
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()
Dlp_bld_format.h249 const struct util_format_description *dst_fmt,
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_iconv.c131 int dst_fmt; member
210 int dst_fmt = ENCODING_UNKNOWN; in SDL_iconv_open() local
224 if (dst_fmt != ENCODING_UNKNOWN) { in SDL_iconv_open()
229 dst_fmt = encodings[i].format; in SDL_iconv_open()
235 if (src_fmt != ENCODING_UNKNOWN && dst_fmt != ENCODING_UNKNOWN) { in SDL_iconv_open()
239 cd->dst_fmt = dst_fmt; in SDL_iconv_open()
319 switch (cd->dst_fmt) { in SDL_iconv()
328 cd->dst_fmt = ENCODING_UTF16NATIVE; in SDL_iconv()
338 cd->dst_fmt = ENCODING_UTF32NATIVE; in SDL_iconv()
607 switch (cd->dst_fmt) { in SDL_iconv()
/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()
861 const Uint16 dst_bitsize = SDL_AUDIO_BITSIZE(dst_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()
1000 SDL_AudioFormat dst_fmt, Uint8 dst_channels, int dst_rate) in SDL_BuildAudioCVT() argument
1019 if ((SDL_AUDIO_BITSIZE(dst_fmt) > 16) && (!SDL_AUDIO_ISSIGNED(dst_fmt))) { in SDL_BuildAudioCVT()
1032 src_fmt, dst_fmt, src_channels, dst_channels, src_rate, dst_rate); in SDL_BuildAudioCVT()
1038 cvt->dst_format = dst_fmt; in SDL_BuildAudioCVT()
[all …]
DSDL_audio_c.h36 SDL_AudioFormat dst_fmt; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c504 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/ffmpeg/libavfilter/
Davfiltergraph.c630 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()
642 if (av_get_packed_sample_fmt(dst_fmt) == AV_SAMPLE_FMT_S32 && in get_fmt_score()
646 if (av_get_packed_sample_fmt(dst_fmt) == AV_SAMPLE_FMT_FLT && in get_fmt_score()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c578 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/gstreamer/gstplugins_base/gst/audiorate/
Dgstaudiorate.c413 GstFormat src_fmt, dst_fmt; in gst_audio_rate_convert_segments() local
416 dst_fmt = audiorate->src_segment.format; in gst_audio_rate_convert_segments()
420 dst_fmt, &audiorate->src_segment.field); in gst_audio_rate_convert_segments()
/third_party/ffmpeg/libswresample/
Daudioconvert.c35 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c502 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/ffmpeg/libavresample/
Daudio_convert.c134 #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c710 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()
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_render.c550 SDL_PixelFormat *dst_fmt; in SDL_CreateTextureFromSurface() local
554 dst_fmt = SDL_AllocFormat(format); in SDL_CreateTextureFromSurface()
555 if (!dst_fmt) { in SDL_CreateTextureFromSurface()
559 temp = SDL_ConvertSurface(surface, dst_fmt, 0); in SDL_CreateTextureFromSurface()
560 SDL_FreeFormat(dst_fmt); in SDL_CreateTextureFromSurface()
/third_party/ffmpeg/libswscale/
Dswscale_unscaled.c1970 #define IS_DIFFERENT_ENDIANESS(src_fmt, dst_fmt, pix_fmt) \ argument
1971 ((src_fmt == pix_fmt ## BE && dst_fmt == pix_fmt ## LE) || \
1972 (src_fmt == pix_fmt ## LE && dst_fmt == pix_fmt ## BE))