/aosp_15_r20/external/angle/src/tests/gl_tests/ |
H A D | CompressedTextureFormatsTest.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 72 void checkSubImage2D(FormatDesc desc, int numX) in checkSubImage2D() argument 76 // The semantic of this call is to take uncompressed data, compress it on-the-fly, in checkSubImage2D() 77 // and perform a partial update of an existing GPU-compressed texture. This in checkSubImage2D() 79 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, desc.blockX, desc.blockY, GL_RGBA, GL_UNSIGNED_BYTE, in checkSubImage2D() 84 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, desc.blockX, desc.blockY, desc.format, in checkSubImage2D() 89 // on-the-fly, and perform a partial update of an existing GPU-compressed texture. This in checkSubImage2D() 91 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, desc.blockX, desc.blockY); in checkSubImage2D() 95 glCompressedTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, desc.blockX * numX, desc.blockY * 2, in checkSubImage2D() 96 desc.format, desc.size * 4, data); in checkSubImage2D() [all …]
|
/aosp_15_r20/external/armnn/python/pyarmnn/test/ |
H A D | test_descriptors.py | 2 # SPDX-License-Identifier: MIT 13 desc = ann.ActivationDescriptor() 14 assert desc.m_Function == ann.ActivationFunction_Sigmoid 15 assert desc.m_A == 0 16 assert desc.m_B == 0 20 desc = ann.ArgMinMaxDescriptor() 21 assert desc.m_Function == ann.ArgMinMaxFunction_Min 22 assert desc.m_Axis == -1 26 desc = ann.BatchNormalizationDescriptor() 27 assert desc.m_DataLayout == ann.DataLayout_NCHW [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/va/ |
H A D | picture_hevc_enc.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 47 h265 = buf->data; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 48 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 49 context->desc.h265enc.not_referenced = !h265->pic_fields.bits.reference_pic_flag; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 52 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 54 surf = handle_table_get(drv->htab, h265->decoded_curr_pic.picture_id); in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 58 for (i = 0; i < ARRAY_SIZE(context->desc.h265enc.dpb); i++) { in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 59 if (context->desc.h265enc.dpb[i].id == h265->decoded_curr_pic.picture_id) { in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 60 assert(surf->is_dpb); in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 63 if (!context->desc.h265enc.dpb[i].id) { in vlVaHandleVAEncPictureParameterBufferTypeHEVC() [all …]
|
H A D | picture_h264_enc.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 42 h264 = buf->data; in vlVaHandleVAEncPictureParameterBufferTypeH264() 43 if (h264->pic_fields.bits.idr_pic_flag == 1) in vlVaHandleVAEncPictureParameterBufferTypeH264() 44 context->desc.h264enc.frame_num = 0; in vlVaHandleVAEncPictureParameterBufferTypeH264() 45 context->desc.h264enc.not_referenced = !h264->pic_fields.bits.reference_pic_flag; in vlVaHandleVAEncPictureParameterBufferTypeH264() 46 context->desc.h264enc.pic_order_cnt = h264->CurrPic.TopFieldOrderCnt; in vlVaHandleVAEncPictureParameterBufferTypeH264() 47 context->desc.h264enc.is_ltr = h264->CurrPic.flags & VA_PICTURE_H264_LONG_TERM_REFERENCE; in vlVaHandleVAEncPictureParameterBufferTypeH264() 48 if (context->desc.h264enc.is_ltr) in vlVaHandleVAEncPictureParameterBufferTypeH264() 49 context->desc.h264enc.ltr_index = h264->CurrPic.frame_idx; in vlVaHandleVAEncPictureParameterBufferTypeH264() 50 if (context->desc.h264enc.gop_cnt == 0) in vlVaHandleVAEncPictureParameterBufferTypeH264() [all …]
|
H A D | picture_av1.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 48 unsigned MiCols = 2 * ((av1->frame_width_minus1 + 8) >> 3); in tile_info() 49 unsigned MiRows = 2 * ((av1->frame_height_minus1 + 8) >> 3); in tile_info() 51 unsigned TileColsLog2 = util_logbase2_ceil(av1->tile_cols); in tile_info() 52 unsigned TileRowsLog2 = util_logbase2_ceil(av1->tile_rows); in tile_info() 54 if (av1->pic_info_fields.bits.use_superres) { in tile_info() 55 unsigned width = ((av1->frame_width_minus1 + 1) * 8 + av1->superres_scale_denominator / 2) in tile_info() 56 / av1->superres_scale_denominator; in tile_info() 57 MiCols = 2 * (((width - 1) + 8) >> 3); in tile_info() 60 sbCols = (av1->seq_info_fields.fields.use_128x128_superblock) ? in tile_info() [all …]
|
H A D | picture_hevc.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 34 VAPictureParameterBufferHEVC *hevc = buf->data; in vlVaHandlePictureParameterBufferHEVC() 37 assert(buf->size >= sizeof(VAPictureParameterBufferHEVC) && buf->num_elements == 1); in vlVaHandlePictureParameterBufferHEVC() 38 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC() 39 context->desc.h265.pps->sps->separate_colour_plane_flag = in vlVaHandlePictureParameterBufferHEVC() 40 hevc->pic_fields.bits.separate_colour_plane_flag; in vlVaHandlePictureParameterBufferHEVC() 41 context->desc.h265.pps->sps->no_pic_reordering_flag = in vlVaHandlePictureParameterBufferHEVC() 42 hevc->pic_fields.bits.NoPicReorderingFlag; in vlVaHandlePictureParameterBufferHEVC() 43 context->desc.h265.pps->sps->no_bi_pred_flag = in vlVaHandlePictureParameterBufferHEVC() 44 hevc->pic_fields.bits.NoBiPredFlag; in vlVaHandlePictureParameterBufferHEVC() [all …]
|
H A D | picture_vp9.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 35 VADecPictureParameterBufferVP9 *vp9 = buf->data; in vlVaHandlePictureParameterBufferVP9() 38 assert(buf->size >= sizeof(VADecPictureParameterBufferVP9) && buf->num_elements == 1); in vlVaHandlePictureParameterBufferVP9() 40 …context->desc.vp9.picture_parameter.prev_frame_width = context->desc.vp9.picture_parameter.frame_w… in vlVaHandlePictureParameterBufferVP9() 41 …context->desc.vp9.picture_parameter.prev_frame_height = context->desc.vp9.picture_parameter.frame_… in vlVaHandlePictureParameterBufferVP9() 42 context->desc.vp9.picture_parameter.frame_width = vp9->frame_width; in vlVaHandlePictureParameterBufferVP9() 43 context->desc.vp9.picture_parameter.frame_height = vp9->frame_height; in vlVaHandlePictureParameterBufferVP9() 45 … context->desc.vp9.picture_parameter.pic_fields.subsampling_x = vp9->pic_fields.bits.subsampling_x; in vlVaHandlePictureParameterBufferVP9() 46 … context->desc.vp9.picture_parameter.pic_fields.subsampling_y = vp9->pic_fields.bits.subsampling_y; in vlVaHandlePictureParameterBufferVP9() 47 context->desc.vp9.picture_parameter.pic_fields.frame_type = vp9->pic_fields.bits.frame_type; in vlVaHandlePictureParameterBufferVP9() [all …]
|
H A D | picture_av1_enc.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 87 return value + (1 << leadingZeros) - 1; in av1_uvlc() 108 VAEncSequenceParameterBufferAV1 *av1 = buf->data; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 110 context->desc.av1enc.seq.tier = av1->seq_tier; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 111 context->desc.av1enc.seq.level = av1->seq_level_idx; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 112 context->desc.av1enc.seq.intra_period = av1->intra_period; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 113 context->desc.av1enc.seq.ip_period = av1->ip_period; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 114 context->desc.av1enc.seq.bit_depth_minus8 = av1->seq_fields.bits.bit_depth_minus8; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 115 context->desc.av1enc.seq.seq_bits.enable_cdef = av1->seq_fields.bits.enable_cdef; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() 116 context->desc.av1enc.seq.seq_bits.enable_order_hint = av1->seq_fields.bits.enable_order_hint; in vlVaHandleVAEncSequenceParameterBufferTypeAV1() [all …]
|
/aosp_15_r20/external/virglrenderer/src/ |
H A D | virgl_video.c | 29 * This implementation is currently based on VA-API, and other interfaces, 40 * - virgl_video_begin_frame() 44 * - virgl_video_decode_bitstream() 45 * It constructs the decoding-related VABuffers according to the picture 47 * - virgl_video_encode_bitstream() 48 * It constructs the encoding-related VABuffers according to the picture 50 * - virgl_video_end_frame() 263 return -1; in va_profile_from_pipe() 319 const VADRMPRIMESurfaceDescriptor *desc) in fill_video_dma_buf() argument 326 num_layers=%u\n", desc->fourcc, desc->width, desc->height, in fill_video_dma_buf() [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/common/ |
H A D | ac_formats.c | 5 * SPDX-License-Identifier: MIT 15 ac_translate_buffer_numformat(const struct util_format_description *desc, in ac_translate_buffer_numformat() argument 18 if (desc->format == PIPE_FORMAT_R11G11B10_FLOAT) in ac_translate_buffer_numformat() 23 switch (desc->channel[first_non_void].type) { in ac_translate_buffer_numformat() 26 if (desc->channel[first_non_void].size >= 32 || desc->channel[first_non_void].pure_integer) in ac_translate_buffer_numformat() 28 else if (desc->channel[first_non_void].normalized) in ac_translate_buffer_numformat() 34 if (desc->channel[first_non_void].size >= 32 || desc->channel[first_non_void].pure_integer) in ac_translate_buffer_numformat() 36 else if (desc->channel[first_non_void].normalized) in ac_translate_buffer_numformat() 48 ac_translate_buffer_dataformat(const struct util_format_description *desc, in ac_translate_buffer_dataformat() argument 53 if (desc->format == PIPE_FORMAT_R11G11B10_FLOAT) in ac_translate_buffer_dataformat() [all …]
|
/aosp_15_r20/external/mesa3d/src/panfrost/compiler/valhall/ |
H A D | ISA.xml | 1 <!-- 22 --> 26 <desc> 31 separate half-words and individual bytes via swizzles on the source. 32 </desc> 33 <constant desc="Zero">0x00000000</constant> 34 <constant desc="All ones; integer $-1$">0xFFFFFFFF</constant> 35 <constant desc="Maximum integer; floating-point NaN">0x7FFFFFFF</constant> 36 <constant desc="Integers $(-2, -3, -4, -6)$">0xFAFCFDFE</constant> 37 <constant desc="16-bit integer $2^8$">0x01000000</constant> [all …]
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
H A D | ResourceManager11.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 50 uint64_t ComputeMemoryUsage(const D3D11_TEXTURE2D_DESC *desc) in ComputeMemoryUsage() argument 52 ASSERT(desc); in ComputeMemoryUsage() 54 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage() 58 uint64_t ComputeMemoryUsage(const D3D11_TEXTURE3D_DESC *desc) in ComputeMemoryUsage() argument 60 ASSERT(desc); in ComputeMemoryUsage() 62 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 63 return ComputeMippedMemoryUsage(desc->Width, desc->Height, desc->Depth, pixelBytes, in ComputeMemoryUsage() 64 desc->MipLevels); in ComputeMemoryUsage() [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/data/misc/ |
H A D | numberingSystems.txt | 3 // Generated using tools/cldr/cldr-to-icu/build-icu-data.xml 8 desc{""} 13 desc{""} 18 desc{"٠١٢٣٤٥٦٧٨٩"} 23 desc{"۰۱۲۳۴۵۶۷۸۹"} 28 desc{"%armenian-upper"} 33 desc{"%armenian-lower"} 38 desc{"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"} 43 desc{"০১২৩৪৫৬৭৮৯"} 48 desc{""} [all …]
|
/aosp_15_r20/external/icu/icu4c/source/data/misc/ |
H A D | numberingSystems.txt | 3 // Generated using tools/cldr/cldr-to-icu/build-icu-data.xml 8 desc{""} 13 desc{""} 18 desc{"٠١٢٣٤٥٦٧٨٩"} 23 desc{"۰۱۲۳۴۵۶۷۸۹"} 28 desc{"%armenian-upper"} 33 desc{"%armenian-lower"} 38 desc{"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"} 43 desc{"০১২৩৪৫৬৭৮৯"} 48 desc{""} [all …]
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/tools/fiptool/ |
D | fiptool.c | 2 * Copyright (c) 2016-2023, ARM Limited and Contributors. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 143 image_desc_t *desc; in new_image_desc() local 145 desc = xzalloc(sizeof(*desc), in new_image_desc() 147 memcpy(&desc->uuid, uuid, sizeof(uuid_t)); in new_image_desc() 148 desc->name = xstrdup(name, in new_image_desc() 150 desc->cmdline_name = xstrdup(cmdline_name, in new_image_desc() 152 desc->action = DO_UNSPEC; in new_image_desc() 153 return desc; in new_image_desc() 156 static void set_image_desc_action(image_desc_t *desc, int action, in set_image_desc_action() argument [all …]
|
/aosp_15_r20/external/arm-trusted-firmware/tools/fiptool/ |
H A D | fiptool.c | 2 * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 140 image_desc_t *desc; in new_image_desc() local 142 desc = xzalloc(sizeof(*desc), in new_image_desc() 144 memcpy(&desc->uuid, uuid, sizeof(uuid_t)); in new_image_desc() 145 desc->name = xstrdup(name, in new_image_desc() 147 desc->cmdline_name = xstrdup(cmdline_name, in new_image_desc() 149 desc->action = DO_UNSPEC; in new_image_desc() 150 return desc; in new_image_desc() 153 static void set_image_desc_action(image_desc_t *desc, int action, in set_image_desc_action() argument [all …]
|
/aosp_15_r20/cts/tests/tests/nativehardware/jni/ |
H A D | AHardwareBufferGLTest.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 54 // glReadPixels YUV -> RGB conversion. 57 -0.14822352941176470, -0.29099215686274510, 0.43921568627450980, 128.0, 58 0.43921568627450980, -0.36778823529411764, -0.07142745098039215, 128.0 121 // Used for reading directly from half-float buffers 135 float o = uif.f - denormal; in FloatFromHalf() 136 return s == 0 ? o : -o; in FloatFromHalf() 143 outE = e - 15 + 127; in FloatFromHalf() 152 // Used for writing directly into half-float buffers. 166 e = e - 127 + 15; in HalfFromFloat() [all …]
|
H A D | AHardwareBufferTest.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include <android-base/properties.h> 35 #define BAD_VALUE -EINVAL 36 #define INVALID_OPERATION -ENOSYS 157 void PrintTo(const AHardwareBuffer_Desc& desc, ::std::ostream* os) { in PrintTo() argument 158 *os << "AHardwareBuffer_Desc " << desc.width << "x" << desc.height; in PrintTo() 159 if (desc.layers > 1) { in PrintTo() 160 *os << ", " << desc.layers << " layers"; in PrintTo() 163 PrintAhbUsage(*os, desc.usage); in PrintTo() 165 PrintAhbFormat(*os, desc.format); in PrintTo() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/heuristics/direct_conv/ |
H A D | ClDirectConvDefaultConfigValhall.cpp | 4 * SPDX-License-Identifier: MIT 61 func = configs_G57.get_function(src->data_type()); in configure() 65 func = configs_G78.get_function(src->data_type()); in configure() 70 return (this->*func)(src, wei, conv_info); in configure() 75 DirectConvComputeKernelInfo desc; in configure_G78_f32() local 77 if(src->data_layout() == DataLayout::NHWC) in configure_G78_f32() 80 const TensorShape wei_shape = wei->tensor_shape(); in configure_G78_f32() 88 desc.export_weights_to_cl_image = export_weights_to_cl_image; in configure_G78_f32() 96 desc.m0 = 1; in configure_G78_f32() 97 desc.n0 = 4; in configure_G78_f32() [all …]
|
/aosp_15_r20/external/mesa3d/src/util/format/ |
H A D | u_format.h | 3 * Copyright 2009-2010 VMware, Inc. 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 57 * Formats with sub-sampled channels. 70 * Red-Green Texture Compression formats. 176 * - pixel depth must be 8, 16, or 32 bits; 177 * - all channels must be unsigned, signed, or void 201 * If each channel is accessed as an individual N-byte value, X is always 203 * currently-defined formats, the N-byte value has native endianness. 205 * If instead a group of channels is accessed as a single N-byte value, 207 * For big-endian targets, X is the most significant subvalue, [all …]
|
/aosp_15_r20/external/golang-protobuf/encoding/protojson/ |
H A D | decode_test.go | 2 // Use of this source code is governed by a BSD-style 33 desc string 41 desc: "proto2 empty message", 46 desc: "unexpected value instead of EOF", 51 desc: "proto2 optional scalars set to zero values", 88 desc: "proto3 scalars set to zero values", 109 desc: "proto3 optional set to zero values", 138 desc: "proto2 optional scalars set to null", 159 desc: "proto3 scalars set to null", 180 desc: "boolean", [all …]
|
H A D | encode_test.go | 2 // Use of this source code is governed by a BSD-style 12 "github.com/google/go-cmp/cmp" 37 desc string 44 desc: "proto2 optional scalars not set", 48 desc: "proto3 scalars not set", 52 desc: "proto3 optional not set", 56 desc: "proto2 optional scalars set to zero values", 92 desc: "proto3 optional set to zero values", 120 desc: "proto2 optional scalars set to some values", 127 OptSint32: proto.Int32(-1001), [all …]
|
/aosp_15_r20/external/kernel-headers/original/uapi/linux/usb/ |
H A D | audio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * <linux/usb/audio.h> -- USB Audio definitions. 37 /* A.5 Audio Class-Specific AC Interface Descriptor Subtypes */ 47 /* A.6 Audio Class-Specific AS Interface Descriptor Subtypes */ 61 /* A.8 Audio Class-Specific Endpoint Descriptor Subtypes */ 64 /* A.9 Audio Class-Specific Request Codes */ 104 #define UAC_CONTROL_BIT(CS) (1 << ((CS) - 1)) 106 /* A.10.3.1 Up/Down-mix Processing Unit Controls Selectors */ 141 /* MIDI - A.1 MS Class-Specific Interface Descriptor Subtypes */ 146 /* MIDI - A.1 MS Class-Specific Endpoint Descriptor Subtypes */ [all …]
|
/aosp_15_r20/external/icu/icu4c/source/test/testdata/ |
H A D | idna_conf.txt | 2 desc: Copyright 2003-2005 http://idnconnect.jdna.jp/testbed.html 5 namezone: xn--dn-mja 13 desc: 1-1-1 Has one IDN 16 namezone: xn--dn-mja 24 desc: 1-1-2 Has two IDNs 27 namezone: xn--x-ega.xn--dn-mja 35 desc: 1-2-1 Latin-1 38 namezone: xn--5cae2e 46 desc: 1-2-2 Latin Extended A 49 namezone: xn--b-rhat [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/testdata/ |
H A D | idna_conf.txt | 2 desc: Copyright 2003-2005 http://idnconnect.jdna.jp/testbed.html 5 namezone: xn--dn-mja 13 desc: 1-1-1 Has one IDN 16 namezone: xn--dn-mja 24 desc: 1-1-2 Has two IDNs 27 namezone: xn--x-ega.xn--dn-mja 35 desc: 1-2-1 Latin-1 38 namezone: xn--5cae2e 46 desc: 1-2-2 Latin Extended A 49 namezone: xn--b-rhat [all …]
|