Home
last modified time | relevance | path

Searched refs:src_format (Results 1 – 25 of 68) sorted by relevance

123

/external/mesa3d/src/gallium/tests/unit/
Du_format_compatible_test.c38 enum pipe_format src_format; in test_all() local
41 for (src_format = 1; src_format < PIPE_FORMAT_COUNT; ++src_format) { in test_all()
43 src_format_desc = util_format_description(src_format); in test_all()
55 if (dst_format == src_format) { in test_all()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c139 element.src_format = PIPE_FORMAT_R32G32_FLOAT; in vl_vb_get_quad_vertex_element()
156 offset += util_format_get_blocksize(elements[i].src_format); in vl_vb_element_helper()
171 vertex_elems[VS_I_VPOS].src_format = PIPE_FORMAT_R8G8B8A8_USCALED; in vl_vb_get_ves_ycbcr()
174 vertex_elems[VS_I_BLOCK_NUM].src_format = PIPE_FORMAT_R32_FLOAT; in vl_vb_get_ves_ycbcr()
192 vertex_elems[VS_I_VPOS].src_format = PIPE_FORMAT_R16G16_SSCALED; in vl_vb_get_ves_mv()
197 vertex_elems[VS_I_MV_TOP].src_format = PIPE_FORMAT_R16G16B16A16_SSCALED; in vl_vb_get_ves_mv()
200 vertex_elems[VS_I_MV_BOTTOM].src_format = PIPE_FORMAT_R16G16B16A16_SSCALED; in vl_vb_get_ves_mv()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_convert.cpp950 FXDIB_Format src_format = pSrcBitmap->GetFormat(); in ConvertBuffer() local
963 if ((src_format & 0xff) == 1) { in ConvertBuffer()
972 if ((src_format & 0xff) == 8) { in ConvertBuffer()
981 if ((src_format & 0xff) >= 24) { in ConvertBuffer()
990 if ((src_format & 0xff) == 8 && !pSrcBitmap->GetPalette()) { in ConvertBuffer()
996 if (((src_format & 0xff) == 1 || (src_format & 0xff) == 8) && in ConvertBuffer()
1002 if ((src_format & 0xff) >= 24) { in ConvertBuffer()
1011 if ((src_format & 0xff) == 1) { in ConvertBuffer()
1021 if ((src_format & 0xff) == 8) { in ConvertBuffer()
1031 if ((src_format & 0xff) == 24) { in ConvertBuffer()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c97 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare()
99 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
108 } else if (util_format_is_pure_uint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare()
110 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
121 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.h154 void GetTransMethod(FXDIB_Format des_format, FXCodec_Format src_format);
158 FXCodec_Format src_format);
162 FXCodec_Format src_format);
169 FXCodec_Format src_format);
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c158 enum pipe_format src_format, dst_format; in util_resource_copy_region() local
169 src_format = src->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()
Du_blit.c137 ctx->velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_create_blit()
399 formats_compatible(enum pipe_format src_format, in formats_compatible() argument
402 if (src_format == dst_format) { in formats_compatible()
407 util_format_description(src_format); in formats_compatible()
439 enum pipe_format src_format, dst_format; in util_blit_pixels() local
466 src_format = util_format_linear(src_tex->format); in util_blit_pixels()
484 if (formats_compatible(src_format, dst_format) && in util_blit_pixels()
567 texTemp.format = src_format; in util_blit_pixels()
620 u_sampler_view_default_template(&sv_templ, src_tex, src_format); in util_blit_pixels()
623 sv_templ.format = util_format_stencil_only(src_format); in util_blit_pixels()
Du_draw.c72 format_desc = util_format_description(element->src_format); in util_draw_max_index()
/external/mesa3d/src/gallium/tests/graw/
Dfs-write-z.c86 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
88 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dfs-frontface.c82 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
84 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dfs-fragcoord.c60 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
62 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dtri.c48 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
50 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dtri-instanced.c116 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
121 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
126 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dgs-test.c240 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
242 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
244 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
246 ve[3].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dtex-swizzle.c47 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
49 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dquad-tex.c49 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
51 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Docclusion-query.c87 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
89 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dtex-srgb.c65 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
67 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dtri-gs.c84 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
86 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dshader-leak.c83 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
85 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
Dfs-test.c207 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
209 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
211 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c115 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
119 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c413 velements[attr].src_format = st_pipe_vertex_format(array->Type, in setup_interleaved_attribs()
418 assert(velements[attr].src_format); in setup_interleaved_attribs()
520 velements[attr].src_format = st_pipe_vertex_format(array->Type, in setup_non_interleaved_attribs()
525 assert(velements[attr].src_format); in setup_non_interleaved_attribs()
Dst_draw_feedback.c196 velements[attr].src_format = in st_feedback_draw_vbo()
202 assert(velements[attr].src_format); in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c204 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
209 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()

123