/external/intel-media-driver/media_driver/linux/Xe_M/ddi/ |
D | media_libva_caps_dg2.cpp | 2 * Copyright (c) 2020-2022, Intel Corporation 44 if (MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeAV1Vdenc)|| in LoadAv1EncProfileEntrypoints() 45 MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeAV1Vdenc10bit420)) in LoadAv1EncProfileEntrypoints() 54 VAConfigAttrib attrib; in LoadAv1EncProfileEntrypoints() local 55 attrib.type = (VAConfigAttribType) VAConfigAttribEncAV1; in LoadAv1EncProfileEntrypoints() 59 attrib.value = attribValAV1Tools.value; in LoadAv1EncProfileEntrypoints() 60 (*attributeList)[attrib.type] = attrib.value; in LoadAv1EncProfileEntrypoints() 62 attrib.type = (VAConfigAttribType) VAConfigAttribEncAV1Ext1; in LoadAv1EncProfileEntrypoints() 69 attrib.value = attribValAV1ToolsExt1.value; in LoadAv1EncProfileEntrypoints() 70 (*attributeList)[attrib.type] = attrib.value; in LoadAv1EncProfileEntrypoints() [all …]
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_generic.c | 3 * Copyright 2007-2023 VMware, Inc. 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 43 typedef void (*emit_func)(const void *attrib, void *ptr); 66 /* this value is set to -1 if this is a normal element with 71 * output_format == input_format or for 32-bit instance ids: 76 } attrib[TRANSLATE_MAX_ATTRIBS]; member 96 #define ATTRIB(NAME, SZ, SRCTYPE, DSTTYPE, TO) \ macro 98 emit_##NAME(const void *attrib, void *ptr) \ 101 SRCTYPE *in = (SRCTYPE *)attrib; \ 135 ATTRIB(R64G64B64A64_FLOAT, 4, float, double, TO_64_FLOAT) [all …]
|
/external/mesa3d/src/mesa/main/ |
D | glthread_varray.c | 43 init_attrib(struct glthread_attrib *attrib, int index, int size, GLenum type) in init_attrib() argument 45 attrib->Format = MESA_PACK_VFORMAT(type, size, 0, 0, 0); in init_attrib() 46 attrib->ElementSize = element_size(attrib->Format); in init_attrib() 47 attrib->RelativeOffset = 0; in init_attrib() 48 attrib->BufferIndex = index; in init_attrib() 49 attrib->Stride = attrib->ElementSize; in init_attrib() 50 attrib->Divisor = 0; in init_attrib() 51 attrib->EnabledAttribCount = 0; in init_attrib() 52 attrib->Pointer = NULL; in init_attrib() 58 vao->CurrentElementBufferName = 0; in _mesa_glthread_reset_vao() [all …]
|
D | samplerobj.c | 2 * Mesa 3-D graphics library 63 _mesa_HashLookup(&ctx->Shared->SamplerObjects, name); in _mesa_lookup_samplerobj() 70 _mesa_HashLookupLocked(&ctx->Shared->SamplerObjects, name); in lookup_samplerobj_locked() 78 free(sampObj->Label); in delete_sampler_object() 90 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */ in _mesa_reference_sampler_object_() 96 assert(oldSamp->RefCount > 0); in _mesa_reference_sampler_object_() 98 if (p_atomic_dec_zero(&oldSamp->RefCount)) in _mesa_reference_sampler_object_() 104 assert(samp->RefCount > 0); in _mesa_reference_sampler_object_() 106 p_atomic_inc(&samp->RefCount); in _mesa_reference_sampler_object_() 119 sampObj->Name = name; in _mesa_init_sampler_object() [all …]
|
/external/cronet/tot/third_party/libxml/fuzz/seed_corpus/ |
D | 9de04ffa9771c61b055b3a79ab8114e36c5bc852 | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- $Id: docbook.rng,v 1.5 2001/10/23 05:56:47 jjc Exp $ --> 4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> 508 <define name="arch.attrib"> 515 <define name="condition.attrib"> 522 <define name="conformance.attrib"> 529 <define name="os.attrib"> 536 <define name="revision.attrib"> 543 <define name="security.attrib"> 550 <define name="userlevel.attrib"> [all …]
|
/external/cronet/stable/third_party/libxml/fuzz/seed_corpus/ |
D | 9de04ffa9771c61b055b3a79ab8114e36c5bc852 | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- $Id: docbook.rng,v 1.5 2001/10/23 05:56:47 jjc Exp $ --> 4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> 508 <define name="arch.attrib"> 515 <define name="condition.attrib"> 522 <define name="conformance.attrib"> 529 <define name="os.attrib"> 536 <define name="revision.attrib"> 543 <define name="security.attrib"> 550 <define name="userlevel.attrib"> [all …]
|
/external/intel-media-driver/media_softlet/linux/Xe_M_plus/ddi/ |
D | media_libva_caps_mtl_base.cpp | 2 * Copyright (c) 2021-2023, Intel Corporation 123 if (MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeAVCVdenc)) in LoadAvcEncLpProfileEntrypoints() 143 …int32_t numModes = MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEnableMediaKernels) ? sizeof(encRcMode… in LoadAvcEncLpProfileEntrypoints() 153 configStartIdx, m_encConfigs.size() - configStartIdx); in LoadAvcEncLpProfileEntrypoints() 167 if (MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeAV1Vdenc)|| in LoadAv1EncProfileEntrypoints() 168 MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeAV1Vdenc10bit420)) in LoadAv1EncProfileEntrypoints() 177 VAConfigAttrib attrib; in LoadAv1EncProfileEntrypoints() local 178 attrib.type = (VAConfigAttribType) VAConfigAttribEncAV1; in LoadAv1EncProfileEntrypoints() 183 attrib.value = attribValAV1Tools.value; in LoadAv1EncProfileEntrypoints() 184 (*attributeList)[attrib.type] = attrib.value; in LoadAv1EncProfileEntrypoints() [all …]
|
/external/intel-media-driver/media_driver/linux/common/ddi/ |
D | media_libva_caps.cpp | 2 * Copyright (c) 2017-2021, Intel Corporation 136 m_isEntryptSupported = m_CapsCp->IsDecEncryptionSupported(m_mediaCtx); in MediaLibvaCaps() 180 if (prot && prot->CheckEntrypointSupported(entrypoint)) in CheckEntrypointCodecType() 205 VAStatus MediaLibvaCaps::AddVpConfig(uint32_t attrib) in AddVpConfig() argument 207 m_vpConfigs.emplace_back(attrib); in AddVpConfig() 225 configOffset = configId - DDI_CODEC_GEN_CONFIG_ATTRIBUTES_DEC_BASE; in GetProfileEntrypointFromConfigId() 230 configOffset = configId - DDI_CODEC_GEN_CONFIG_ATTRIBUTES_ENC_BASE; in GetProfileEntrypointFromConfigId() 235 configOffset = configId - DDI_VP_GEN_CONFIG_ATTRIBUTES_BASE; in GetProfileEntrypointFromConfigId() 238 else if( m_CapsCp->IsCpConfigId(configId) ) in GetProfileEntrypointFromConfigId() 240 configOffset = configId - DDI_CP_GEN_CONFIG_ATTRIBUTES_BASE; in GetProfileEntrypointFromConfigId() [all …]
|
/external/libxml2/test/relaxng/ |
D | docbook.rng | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- $Id: docbook.rng,v 1.5 2001/10/23 05:56:47 jjc Exp $ --> 4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> 508 <define name="arch.attrib"> 515 <define name="condition.attrib"> 522 <define name="conformance.attrib"> 529 <define name="os.attrib"> 536 <define name="revision.attrib"> 543 <define name="security.attrib"> 550 <define name="userlevel.attrib"> [all …]
|
/external/intel-media-driver/media_driver/linux/gen12/ddi/ |
D | media_libva_caps_g12.cpp | 2 * Copyright (c) 2018-2023, Intel Corporation 95 {CODECHAL_ENCODE_VP9_MAX_NUM_TEMPORAL_LAYERS - 1, 1, 0} 150 if (m_supportedImageformatsG12[idx].fourcc == vaImgFmt->fourcc) in PopulateColorMaskInfo() 152 vaImgFmt->red_mask = m_supportedImageformatsG12[idx].red_mask; in PopulateColorMaskInfo() 153 vaImgFmt->green_mask = m_supportedImageformatsG12[idx].green_mask; in PopulateColorMaskInfo() 154 vaImgFmt->blue_mask = m_supportedImageformatsG12[idx].blue_mask; in PopulateColorMaskInfo() 155 vaImgFmt->alpha_mask = m_supportedImageformatsG12[idx].alpha_mask; in PopulateColorMaskInfo() 382 && !(MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrDisableVDBox2SFC))) in GetPlatformSpecificAttrib() 609 if (MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeHEVC)) in LoadHevcEncProfileEntrypoints() 614 if (MEDIA_IS_SKU(&(m_mediaCtx->SkuTable), FtrEncodeHEVC10bit)) in LoadHevcEncProfileEntrypoints() [all …]
|
/external/libdrm/intel/tests/ |
D | gen6-3d.batch-ref.txt | 88 … enable, Guardband test disable, Clip mode 0, Perspective Divide enable, Non-Perspective Barycentr… 91 0x12300168: 0x00200810: Attrib Out 0, Attrib Swizzle enable, VUE read length 1, VUE read of… 98 0x12300184: 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 99 0x12300188: 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 100 0x1230018c: 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 101 0x12300190: 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 102 0x12300194: 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 103 0x12300198: 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0); … 104 0x1230019c: 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0); … 105 0x123001a0: 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0); … [all …]
|
/external/angle/src/libANGLE/ |
D | VertexAttribute.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 46 mBuffer->onNonTFBindingChanged(incr); in onContainerBindingChanged() 59 VertexAttribute::VertexAttribute(VertexAttribute &&attrib) in VertexAttribute() argument 60 : enabled(attrib.enabled), in VertexAttribute() 61 format(attrib.format), in VertexAttribute() 62 pointer(attrib.pointer), in VertexAttribute() 63 relativeOffset(attrib.relativeOffset), in VertexAttribute() 64 vertexAttribArrayStride(attrib.vertexAttribArrayStride), in VertexAttribute() 65 bindingIndex(attrib.bindingIndex), in VertexAttribute() 66 mCachedElementLimit(attrib.mCachedElementLimit) in VertexAttribute() [all …]
|
/external/intel-media-driver/media_softlet/linux/common/ddi/ |
D | media_libva_caps_next.cpp | 2 * Copyright (c) 2021-2022, Intel Corporation 35 m_capsTable = MOS_New(MediaCapsTableSpecific, mediaCtx->m_hwInfo->GetDeviceInfo()); in MediaLibvaCapsNext() 65 return m_capsTable->Init(m_mediaCtx); in Init() 70 return m_capsTable->GetConfigList(); in GetConfigList() 85 attribList = m_capsTable->QuerySupportedAttrib(profile, entrypoint); in GetAttribValue() 88 for (int i = 0; i < attribList->size(); i++) in GetAttribValue() 90 if(attribList->at(i).type == type) in GetAttribValue() 92 *value = attribList->at(i).value; in GetAttribValue() 104 return m_capsTable->GetImageFormatsMaxNum(); in GetImageFormatsMaxNum() 117 return m_capsTable->QueryConfigProfiles(profileList, profilesNum); in QueryConfigProfiles() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | VertexDataManager.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 40 // Warning: ensure the binding matches attrib.bindingIndex before using these functions. 41 int64_t GetMaxAttributeByteOffsetForDraw(const gl::VertexAttribute &attrib, in GetMaxAttributeByteOffsetForDraw() argument 45 CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in GetMaxAttributeByteOffsetForDraw() 46 CheckedNumeric<int64_t> offset = ComputeVertexAttributeOffset(attrib, binding); in GetMaxAttributeByteOffsetForDraw() 47 CheckedNumeric<int64_t> size = ComputeVertexAttributeTypeSize(attrib); in GetMaxAttributeByteOffsetForDraw() 52 stride * (CheckedNumeric<int64_t>(elementCount) - 1) + size + offset; in GetMaxAttributeByteOffsetForDraw() 56 // Warning: ensure the binding matches attrib.bindingIndex before using these functions. 57 int ElementsInBuffer(const gl::VertexAttribute &attrib, in ElementsInBuffer() argument 62 angle::CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in ElementsInBuffer() [all …]
|
D | VertexBuffer.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 49 mRefCount--; in release() 59 : mFactory(factory), mVertexBuffer(factory->createVertexBuffer()), mDynamic(dynamic) in VertexBufferInterface() 66 mVertexBuffer->release(); in ~VertexBufferInterface() 74 return mVertexBuffer->getSerial(); in getSerial() 80 return mVertexBuffer->getBufferSize(); in getBufferSize() 86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize() 88 return mVertexBuffer->initialize(context, size, mDynamic); in setBufferSize() 91 return mVertexBuffer->setBufferSize(context, size); in setBufferSize() 95 const gl::VertexAttribute &attrib, in getSpaceRequired() argument [all …]
|
/external/mesa3d/src/panfrost/compiler/ |
D | bifrost_isa.py | 62 if cond.attrib.get('alias', False) and not aliased: 65 if 'left' in cond.attrib: 66 return [cond.tag, cond.attrib['left'], cond.attrib['right']] 71 return [int(obj.attrib['mask'], 0), int(obj.attrib['exact'], 0)] 77 loc = [int(deriv.attrib['start']), int(deriv.attrib['size'])] 92 if mod.attrib.get('pseudo', False) and not include_pseudo: 95 name = mod.attrib['name'] 96 start = mod.attrib.get('start', None) 97 size = int(mod.attrib['size']) 105 if 'opt' in mod.attrib: [all …]
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | SysIconUtils.cpp | 32 shFileInfo.iIcon = -1; in Shell_GetFileInfo_SysIconIndex_for_CSIDL() 42 pMalloc->Free(pidl); in Shell_GetFileInfo_SysIconIndex_for_CSIDL() 43 pMalloc->Release(); in Shell_GetFileInfo_SysIconIndex_for_CSIDL() 51 return -1; in Shell_GetFileInfo_SysIconIndex_for_CSIDL() 56 typedef DWORD_PTR (WINAPI * Func_SHGetFileInfoW)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, … 74 static DWORD_PTR My_SHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInf… in My_SHGetFileInfoW() argument 78 return g_SHGetFileInfo_Init.f_SHGetFileInfoW(pszPath, attrib, psfi, cbFileInfo, uFlags); in My_SHGetFileInfoW() 83 CFSTR path, DWORD attrib, int &iconIndex) in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef() argument 90 shFileInfo.iIcon = -1; // optional in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef() 92 attrib ? attrib : FILE_ATTRIBUTE_ARCHIVE, in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef() [all …]
|
/external/fonttools/Lib/fontTools/svgLib/path/ |
D | shapes.py | 25 # https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform 49 path = self.paths[-1] 54 self.paths[-1] = path 102 x1 = float(line.attrib.get("x1", 0)) 103 y1 = float(line.attrib.get("y1", 0)) 104 x2 = float(line.attrib.get("x2", 0)) 105 y2 = float(line.attrib.get("y2", 0)) 112 x = float(rect.attrib.get("x", 0)) 113 y = float(rect.attrib.get("y", 0)) 114 w = float(rect.attrib.get("width")) [all …]
|
/external/mesa3d/src/compiler/isaspec/ |
D | isa.py | 39 For a leaf node, the mask should be (1 << size) - 1 60 if 'pos' in field.attrib: 61 assert('low' not in field.attrib) 62 assert('high' not in field.attrib) 63 low = int(field.attrib['pos']) 66 low = int(field.attrib['low']) 67 high = int(field.attrib['high']) 73 mask = ((1 << (1 + high - low)) - 1) << low 77 …assert (len(patstr) == (1 + high - low)), "Invalid {} length in {}: {}..{}".format(xml.tag, name, … 99 return name.lower().replace('#', '__').replace('-', '_').replace('.', '_') [all …]
|
/external/llvm-libc/src/__support/threads/linux/ |
D | thread.cpp | 1 //===--- Implementation of a Linux thread class -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 69 if (lhs > SIZE_MAX - rhs) in add_no_overflow() 71 if (rhs > SIZE_MAX - lhs) in add_no_overflow() 77 auto vp_or_err = add_no_overflow(v, EXEC_PAGESIZE - 1); in round_to_page() 81 return vp_or_err.value() & -EXEC_PAGESIZE; in round_to_page() 94 // future-proof. in alloc_stack() 100 -1, // Not backed by any file in alloc_stack() 103 if (mmap_result < 0 && (uintptr_t(mmap_result) >= UINTPTR_MAX - size)) in alloc_stack() [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/src/__support/threads/linux/ |
D | thread.cpp | 1 //===--- Implementation of a Linux thread class -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 69 if (lhs > SIZE_MAX - rhs) in add_no_overflow() 71 if (rhs > SIZE_MAX - lhs) in add_no_overflow() 77 auto vp_or_err = add_no_overflow(v, EXEC_PAGESIZE - 1); in round_to_page() 81 return vp_or_err.value() & -EXEC_PAGESIZE; in round_to_page() 94 // future-proof. in alloc_stack() 100 -1, // Not backed by any file in alloc_stack() 103 if (mmap_result < 0 && (uintptr_t(mmap_result) >= UINTPTR_MAX - size)) in alloc_stack() [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/src/__support/threads/linux/ |
D | thread.cpp | 1 //===--- Implementation of a Linux thread class -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 69 if (lhs > SIZE_MAX - rhs) in add_no_overflow() 71 if (rhs > SIZE_MAX - lhs) in add_no_overflow() 77 auto vp_or_err = add_no_overflow(v, EXEC_PAGESIZE - 1); in round_to_page() 81 return vp_or_err.value() & -EXEC_PAGESIZE; in round_to_page() 94 // future-proof. in alloc_stack() 100 -1, // Not backed by any file in alloc_stack() 103 if (mmap_result < 0 && (uintptr_t(mmap_result) >= UINTPTR_MAX - size)) in alloc_stack() [all …]
|
/external/libva-utils/test/ |
D | test_va_api_display_attribs.cpp | 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 138 VADisplayAttribute attrib{/*type:*/ type}; in TEST_F() local 139 ASSERT_STATUS(vaGetDisplayAttributes(m_vaDisplay, &attrib, 1)); in TEST_F() 141 if (findDisplayAttribInQueryList(attrib.type)) { in TEST_F() 142 EXPECT_TRUE((attrib.flags & VA_DISPLAY_ATTRIB_GETTABLE) in TEST_F() 143 || (attrib.flags & VA_DISPLAY_ATTRIB_SETTABLE)); in TEST_F() 145 EXPECT_FALSE(attrib.flags & VA_DISPLAY_ATTRIB_NOT_SUPPORTED); in TEST_F() 173 for (auto attrib : m_attribs) { in TEST_F() local 174 if (attrib.flags & VA_DISPLAY_ATTRIB_SETTABLE) { in TEST_F() 175 ASSERT_LE(attrib.min_value, attrib.max_value); in TEST_F() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 4 * Copyright 2007-2008 VMware, Inc. 21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 60 * #---0---#---1---# 64 * #---2---#---3---# 76 * #---+---# 106 * da'dx = (dadx - dwdx*a)*oow 107 * da'dy = (dady - dwdy*a)*oow 109 * Ironically, this actually makes things slower -- probably because the 121 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) in attrib_name() argument 123 if (attrib == 0) in attrib_name() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_emit.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 60 * have a couple of slots at the beginning (1-dword header, 4-dword 66 const struct vertex_info *vinfo = &i915->current.vertex_info.draw; in emit_hw_vertex() 70 assert(!i915->dirty); in emit_hw_vertex() 72 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex() 73 const uint32_t j = vinfo->attrib[i].src_index; in emit_hw_vertex() 74 const float *attrib = vertex->data[j]; in emit_hw_vertex() local 75 switch (vinfo->attrib[i].emit) { in emit_hw_vertex() 77 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex() 81 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex() [all …]
|