Home
last modified time | relevance | path

Searched refs:dst_format (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/tests/unit/
Du_format_compatible_test.c39 enum pipe_format dst_format; in test_all() local
48 for (dst_format = 1; dst_format < PIPE_FORMAT_COUNT; ++dst_format) { in test_all()
50 dst_format_desc = util_format_description(dst_format); in test_all()
55 if (dst_format == src_format) { in test_all()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type); in do_blit_readpixels() local
108 if (dst_format == MESA_FORMAT_NONE || in do_blit_readpixels()
109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels()
133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels()
136 dst_imagesize = get_texture_image_size(dst_format, in do_blit_readpixels()
169 dst_format, in do_blit_readpixels()
170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
Dr200_blit.c306 uint32_t dst_format = 0; in emit_cb_setup() local
315 dst_format = RADEON_COLOR_FORMAT_ARGB8888; in emit_cb_setup()
318 dst_format = RADEON_COLOR_FORMAT_RGB565; in emit_cb_setup()
321 dst_format = RADEON_COLOR_FORMAT_ARGB4444; in emit_cb_setup()
324 dst_format = RADEON_COLOR_FORMAT_ARGB1555; in emit_cb_setup()
329 dst_format = RADEON_COLOR_FORMAT_RGB8; in emit_cb_setup()
348 OUT_BATCH_REGVAL(RADEON_RB3D_CNTL, dst_format); in emit_cb_setup()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type); in do_blit_readpixels() local
108 if (dst_format == MESA_FORMAT_NONE || in do_blit_readpixels()
109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels()
133 dst_rowstride *= _mesa_get_format_bytes(dst_format); in do_blit_readpixels()
136 dst_imagesize = get_texture_image_size(dst_format, in do_blit_readpixels()
169 dst_format, in do_blit_readpixels()
170 aligned_rowstride / _mesa_get_format_bytes(dst_format), in do_blit_readpixels()
Dradeon_blit.c184 uint32_t dst_format = 0; in emit_cb_setup() local
191 dst_format = RADEON_COLOR_FORMAT_ARGB8888; in emit_cb_setup()
194 dst_format = RADEON_COLOR_FORMAT_RGB565; in emit_cb_setup()
197 dst_format = RADEON_COLOR_FORMAT_ARGB4444; in emit_cb_setup()
200 dst_format = RADEON_COLOR_FORMAT_ARGB1555; in emit_cb_setup()
205 dst_format = RADEON_COLOR_FORMAT_RGB8; in emit_cb_setup()
223 OUT_BATCH_REGVAL(RADEON_RB3D_CNTL, dst_format); in emit_cb_setup()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c158 enum pipe_format src_format, dst_format; in util_resource_copy_region() local
170 dst_format = dst->format; in util_resource_copy_region()
186 assert(util_format_get_blocksize(dst_format) == util_format_get_blocksize(src_format)); in util_resource_copy_region()
187 assert(util_format_get_blockwidth(dst_format) == util_format_get_blockwidth(src_format)); in util_resource_copy_region()
188 assert(util_format_get_blockheight(dst_format) == util_format_get_blockheight(src_format)); in util_resource_copy_region()
201 dst_format, in util_resource_copy_region()
Du_blit.c400 enum pipe_format dst_format) in formats_compatible() argument
402 if (src_format == dst_format) { in formats_compatible()
409 util_format_description(dst_format); in formats_compatible()
439 enum pipe_format src_format, dst_format; in util_blit_pixels() local
467 dst_format = util_format_linear(dst->texture->format); in util_blit_pixels()
484 if (formats_compatible(src_format, dst_format) && in util_blit_pixels()
527 if (dst_format == dst->format) { in util_blit_pixels()
531 templ.format = dst_format; in util_blit_pixels()
649 assert(screen->is_format_supported(screen, dst_format, ctx->internal_target, in util_blit_pixels()
Du_format.c532 util_format_translate(enum pipe_format dst_format, in util_format_translate() argument
548 dst_format_desc = util_format_description(dst_format); in util_format_translate()
556 util_copy_rect(dst, dst_format, dst_stride, dst_x, dst_y, in util_format_translate()
Du_format_s3tc.h54 enum util_format_dxtn dst_format,
Du_format.h1004 util_format_translate(enum pipe_format dst_format,
Du_format_s3tc.c84 enum util_format_dxtn dst_format, in util_format_dxtn_pack_stub() argument
/external/pdfium/core/src/fxge/dib/
Dfx_dib_convert.cpp642 FX_BOOL _ConvertBuffer_1bppMask2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_1bppMask2Rgb() argument
650 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_1bppMask2Rgb()
672 FX_BOOL _ConvertBuffer_8bppMask2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_8bppMask2Rgb() argument
680 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_8bppMask2Rgb()
695 FX_BOOL _ConvertBuffer_1bppPlt2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_1bppPlt2Rgb() argument
704 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_1bppPlt2Rgb()
754 FX_BOOL _ConvertBuffer_8bppPlt2Rgb(FXDIB_Format dst_format, in _ConvertBuffer_8bppPlt2Rgb() argument
763 int comps = (dst_format & 0xff) / 8; in _ConvertBuffer_8bppPlt2Rgb()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp_blit.cpp184 gl_format dst_format = find_miptree(buffer_bit, dst_irb)->format; in formats_match() local
187 _mesa_get_srgb_format_linear(dst_format); in formats_match()