Searched defs:dst_format (Results 1 - 11 of 11) sorted by relevance

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

Completed in 783 milliseconds