/external/mesa3d/src/gallium/tests/unit/ |
D | u_format_compatible_test.c | 38 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/mesa/state_tracker/ |
D | st_cb_readpixels.c | 98 enum pipe_format src_format, enum pipe_format dst_format, in try_pbo_readpixels() argument 160 u_sampler_view_default_template(&templ, texture, src_format); in try_pbo_readpixels() 235 void *fs = st_pbo_get_download_fs(st, view_target, src_format, dst_format); in try_pbo_readpixels() 262 enum pipe_format src_format, enum pipe_format dst_format) in blit_to_staging() argument 298 blit.src.format = src_format; in blit_to_staging() 331 enum pipe_format src_format, enum pipe_format dst_format) in try_cached_readpixels() argument 373 src_format, dst_format); in try_cached_readpixels() 409 enum pipe_format dst_format, src_format; in st_ReadPixels() local 446 src_format = util_format_linear(src->format); in st_ReadPixels() 447 src_format = util_format_luminance_to_red(src_format); in st_ReadPixels() [all …]
|
D | st_atom_array.c | 375 velement->src_format = format; in init_velement() 378 assert(velement->src_format); in init_velement() 508 unsigned src_format; in setup_interleaved_attribs() local 517 src_format = st_pipe_vertex_format(array->Type, in setup_interleaved_attribs() 523 init_velement_lowered(vp, velements, src_offset, src_format, in setup_interleaved_attribs() 591 unsigned src_format; in setup_non_interleaved_attribs() local 662 src_format = st_pipe_vertex_format(array->Type, in setup_non_interleaved_attribs() 668 init_velement_lowered(vp, velements, 0, src_format, in setup_non_interleaved_attribs()
|
D | st_cb_texture.c | 1097 reinterpret_formats(enum pipe_format *src_format, enum pipe_format *dst_format) in reinterpret_formats() argument 1099 enum pipe_format src = *src_format; in reinterpret_formats() 1148 *src_format = src; in reinterpret_formats() 1157 enum pipe_format src_format) in try_pbo_upload_common() argument 1165 fs = st_pbo_get_upload_fs(st, src_format, surface->format); in try_pbo_upload_common() 1199 templ.format = src_format; in try_pbo_upload_common() 1275 enum pipe_format src_format; in try_pbo_upload() local 1298 src_format = st_choose_matching_format(st, 0, format, type, unpack->SwapBytes); in try_pbo_upload() 1299 if (!src_format) { in try_pbo_upload() 1303 src_format = util_format_linear(src_format); in try_pbo_upload() [all …]
|
D | st_pbo.c | 249 velem.src_format = PIPE_FORMAT_R32G32_FLOAT; in st_pbo_draw() 539 get_pbo_conversion(enum pipe_format src_format, enum pipe_format dst_format) in get_pbo_conversion() argument 541 if (util_format_is_pure_uint(src_format)) { in get_pbo_conversion() 544 } else if (util_format_is_pure_sint(src_format)) { in get_pbo_conversion() 554 enum pipe_format src_format, in st_pbo_get_upload_fs() argument 559 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); in st_pbo_get_upload_fs() 569 enum pipe_format src_format, in st_pbo_get_download_fs() argument 575 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); in st_pbo_get_download_fs()
|
D | st_pbo.h | 89 enum pipe_format src_format, 94 enum pipe_format src_format,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | data_format_ops.cc | 36 string src_format; in DataFormatDimMapOp() local 37 OP_REQUIRES_OK(context, context->GetAttr("src_format", &src_format)); in DataFormatDimMapOp() 40 OP_REQUIRES(context, src_format.size() == 4, in DataFormatDimMapOp() 43 src_format))); in DataFormatDimMapOp() 49 dst_idx_ = Tensor(DT_INT32, {static_cast<int64>(src_format.size())}); in DataFormatDimMapOp() 50 for (int i = 0; i < src_format.size(); ++i) { in DataFormatDimMapOp() 52 if (dst_format[j] == src_format[i]) { in DataFormatDimMapOp() 78 string src_format; in DataFormatVecPermuteOp() local 79 OP_REQUIRES_OK(context, context->GetAttr("src_format", &src_format)); in DataFormatVecPermuteOp() 82 src_format_ = src_format; in DataFormatVecPermuteOp()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_draw.c | 77 mesa_format src_format = _mesa_format_from_format_and_type(format, type); in do_blit_drawpixels() local 78 if (_mesa_format_is_mesa_array_format(src_format)) in do_blit_drawpixels() 79 src_format = _mesa_format_from_array_format(src_format); in do_blit_drawpixels() 83 src_format = _mesa_get_srgb_format_linear(src_format); in do_blit_drawpixels() 86 if (!intel_miptree_blit_compatible_formats(src_format, dst_format)) { in do_blit_drawpixels()
|
D | brw_blorp.c | 261 mesa_format src_format, int src_swizzle, in brw_blorp_blit_miptrees() argument 283 if (!decode_srgb && _mesa_get_format_color_encoding(src_format) == GL_SRGB) in brw_blorp_blit_miptrees() 284 src_format = _mesa_get_srgb_format_linear(src_format); in brw_blorp_blit_miptrees() 303 src_format = dst_format = MESA_FORMAT_R_FLOAT32; in brw_blorp_blit_miptrees() 307 brw_blorp_to_isl_format(brw, src_format, false); in brw_blorp_blit_miptrees() 316 src_aux_usage != ISL_AUX_USAGE_NONE && src_mt->format == src_format; in brw_blorp_blit_miptrees() 493 struct intel_renderbuffer *src_irb, mesa_format src_format, in do_blorp_blit() argument 510 src_format, blorp_get_texture_swizzle(src_irb), in do_blorp_blit() 880 need_signed_unsigned_int_conversion(mesa_format src_format, in need_signed_unsigned_int_conversion() argument 883 const GLenum src_type = _mesa_get_format_datatype(src_format); in need_signed_unsigned_int_conversion() [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_vertex_buffers.c | 139 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/tensorflow/tensorflow/core/util/ |
D | tensor_format.h | 579 TensorFormat src_format) { in ShapeFromFormat() argument 580 if (src_format == dst_format) { in ShapeFromFormat() 584 const int64 batch = GetTensorDim(src_shape, src_format, 'N'); in ShapeFromFormat() 585 const int64 channels = GetTensorDim(src_shape, src_format, 'C') * in ShapeFromFormat() 586 (src_format == FORMAT_NCHW_VECT_C ? 4 : 1); in ShapeFromFormat() 588 GetTensorSpatialDims(src_shape.dims(), src_format); in ShapeFromFormat() 593 src_shape.dims(), src_format, spatial_dim)]; in ShapeFromFormat() 595 if (src_format == FORMAT_NHWC_VECT_W) { in ShapeFromFormat()
|
/external/mesa3d/src/mesa/main/ |
D | format_utils.c | 268 void *void_src, uint32_t src_format, size_t src_stride, in _mesa_format_convert() argument 286 if (_mesa_format_is_mesa_array_format(src_format)) { in _mesa_format_convert() 288 src_array_format = src_format; in _mesa_format_convert() 290 assert(_mesa_is_format_color_format(src_format)); in _mesa_format_convert() 292 src_array_format = _mesa_format_to_array_format(src_format); in _mesa_format_convert() 319 src_format == dst_format) { in _mesa_format_convert() 320 int format_size = _mesa_get_format_bytes(src_format); in _mesa_format_convert() 333 _mesa_unpack_rgba_row(src_format, width, in _mesa_format_convert() 340 assert(!_mesa_is_format_integer_color(src_format)); in _mesa_format_convert() 342 _mesa_unpack_ubyte_rgba_row(src_format, width, in _mesa_format_convert() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 95 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare() 97 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 106 } else if (util_format_is_pure_uint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare() 108 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 119 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | permute_test.py | 32 def _runPermuteAndCompare(self, x, src_format, dst_format, expected): argument 38 placeholder, src_format=src_format, dst_format=dst_format)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_blit.c | 116 ctx->velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_create_blit() 339 formats_compatible(enum pipe_format src_format, in formats_compatible() argument 342 if (src_format == dst_format) { in formats_compatible() 347 util_format_description(src_format); in formats_compatible() 378 enum pipe_format src_format, dst_format; in util_blit_pixels() local 399 src_format = util_format_linear(src_tex->format); in util_blit_pixels() 430 if (formats_compatible(src_format, dst_format) && in util_blit_pixels() 476 info.src.format = src_format; in util_blit_pixels()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_progressivedecoder.h | 163 FXCodec_Format src_format); 173 void GetTransMethod(FXDIB_Format des_format, FXCodec_Format src_format); 178 FXCodec_Format src_format); 182 FXCodec_Format src_format);
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibsource.cpp | 1102 FXDIB_Format src_format = pSrcBitmap->GetFormat(); in ConvertBuffer() local 1111 if ((src_format & 0xff) == 1) { in ConvertBuffer() 1121 if ((src_format & 0xff) == 8) { in ConvertBuffer() 1131 if ((src_format & 0xff) >= 24) { in ConvertBuffer() 1140 if ((src_format & 0xff) == 8 && !pSrcBitmap->GetPalette()) { in ConvertBuffer() 1145 if (((src_format & 0xff) == 1 || (src_format & 0xff) == 8) && in ConvertBuffer() 1151 if ((src_format & 0xff) >= 24) { in ConvertBuffer() 1160 if ((src_format & 0xff) == 1) { in ConvertBuffer() 1170 if ((src_format & 0xff) == 8) { in ConvertBuffer() 1180 if ((src_format & 0xff) == 24) { in ConvertBuffer() [all …]
|
D | cfx_bitmapstorer.cpp | 44 FXDIB_Format src_format, in SetInfo() argument 47 if (!pBitmap->Create(width, height, src_format)) in SetInfo()
|
D | cfx_scanlinecompositor.h | 21 FXDIB_Format src_format, 59 void InitSourcePalette(FXDIB_Format src_format,
|
D | cfx_bitmapcomposer.cpp | 49 FXDIB_Format src_format, in SetInfo() argument 51 m_SrcFormat = src_format; in SetInfo() 52 if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, width, pSrcPalette, in SetInfo()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_vertex.c | 134 svga_translate_vertex_format_vgpu10(elem->src_format, in define_input_element_object() 138 translate_vertex_format_to_decltype(elem->src_format); in define_input_element_object() 157 if (util_format_is_pure_integer(elem->src_format)) { in define_input_element_object() 213 const enum pipe_format f = velems->velem[i].src_format; in translate_vertex_decls()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_surface.c | 257 enum pipe_format src_format, dst_format; in util_resource_copy_region() local 267 src_format = src->format; in util_resource_copy_region() 270 assert(util_format_get_blocksize(dst_format) == util_format_get_blocksize(src_format)); in util_resource_copy_region() 271 assert(util_format_get_blockwidth(dst_format) == util_format_get_blockwidth(src_format)); in util_resource_copy_region() 272 assert(util_format_get_blockheight(dst_format) == util_format_get_blockheight(src_format)); in util_resource_copy_region()
|
/external/mesa3d/src/gallium/tests/graw/ |
D | fs-frontface.c | 84 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 86 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
|
D | fs-write-z.c | 88 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 90 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 114 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog() 118 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
|