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

/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/qemu/distrib/sdl-1.2.15/include/
H A DSDL_audio.h129 Uint16 dst_format; /**< Target audio format */ member in struct:SDL_AudioCVT
236 Uint16 dst_format, Uint8 dst_channels, int dst_rate);
/external/chromium_org/third_party/mesa/src/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/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/pixman/test/
H A Dcomposite-traps-test.c61 pixman_format_code_t mask_format, dst_format; local
147 dst_format = RANDOM_ELT(formats);
148 dst_bpp = (PIXMAN_FORMAT_BPP (dst_format) + 7) / 8;
160 dst_format, dst_width, dst_height, dst_bits, dst_stride);
217 if (dst_format == PIXMAN_x8r8g8b8)
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audiocvt.c1329 Uint16 dst_format, Uint8 dst_channels, int dst_rate)
1332 src_format, dst_format, src_channels, dst_channels, src_rate, dst_rate);*/
1341 if ( (src_format & 0x1000) != (dst_format & 0x1000)
1342 && ((src_format & 0xff) == 16) && ((dst_format & 0xff) == 16)) {
1347 if ( (src_format & 0x8000) != (dst_format & 0x8000) ) {
1352 if ( (src_format & 0xFF) != (dst_format & 0xFF) ) {
1353 switch (dst_format&0x10FF) {
1504 cvt->dst_format = dst_format;
1327 SDL_BuildAudioCVT(SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate) argument
/external/chromium_org/content/renderer/pepper/
H A Dpepper_media_stream_video_track_host.cc95 PP_VideoFrame_Format dst_format,
99 if (dst_format == PP_VIDEOFRAME_FORMAT_BGRA) {
127 } else if (dst_format == PP_VIDEOFRAME_FORMAT_YV12 ||
128 dst_format == PP_VIDEOFRAME_FORMAT_I420) {
135 const int plane_order = (dst_format == PP_VIDEOFRAME_FORMAT_YV12) ? 0 : 1;
94 ConvertFromMediaVideoFrame(const scoped_refptr<media::VideoFrame>& src, PP_VideoFrame_Format dst_format, const gfx::Size& dst_size, uint8_t* dst) argument
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_convert.cpp606 FX_BOOL _ConvertBuffer_1bppMask2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, argument
609 int comps = (dst_format & 0xff) / 8;
631 FX_BOOL _ConvertBuffer_8bppMask2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, argument
634 int comps = (dst_format & 0xff) / 8;
649 FX_BOOL _ConvertBuffer_1bppPlt2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, argument
652 int comps = (dst_format & 0xff) / 8;
696 FX_BOOL _ConvertBuffer_8bppPlt2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, argument
699 int comps = (dst_format & 0xff) / 8;
/external/chromium_org/third_party/mesa/src/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);
/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 986 milliseconds