Lines Matching refs:resTag

163     RESOURCE_TAG resTag;  in AllocateResource()  local
164 MOS_ZeroMemory(&resTag, sizeof(resTag)); in AllocateResource()
167 resTag.typeID = SetResourceID(codec, name, index); in AllocateResource()
169 resTag.format = MosToAllocatorFormat(format); in AllocateResource()
170 resTag.tile = MosToAllocatorTile(tile); in AllocateResource()
171 resTag.zeroOnAllocation = zeroOnAllocation; in AllocateResource()
175 if (allocatorLinearBuffer == resTag.format) in AllocateResource()
177 resTag.size = width; in AllocateResource()
178 resTag.type = allocator1D; in AllocateResource()
179 buffer = Allocate1DBuffer(resTag.tag, width, zeroOnAllocation); in AllocateResource()
181 else if (allocatorBatchBuffer == resTag.format) in AllocateResource()
183 resTag.size = width; in AllocateResource()
184 resTag.type = allocatorBatch; in AllocateResource()
185 buffer = AllocateBatchBuffer(resTag.tag, width, zeroOnAllocation); in AllocateResource()
187 else if (allocatorSurface == resTag.format) in AllocateResource()
189 resTag.width = (uint16_t)width; in AllocateResource()
190 resTag.height = (uint16_t)height; in AllocateResource()
191 resTag.type = allocator2D; in AllocateResource()
192 buffer = Allocate2DBuffer(resTag.tag, width, height, format, tile, zeroOnAllocation); in AllocateResource()
200resTag.typeID, resTag.type, resTag.codec, resTag.format, resTag.tile, resTag.zeroOnAllocation, res… in AllocateResource()
213 RESOURCE_TAG resTag; in GetResourceSize() local
214 MOS_ZeroMemory(&resTag, sizeof(resTag)); in GetResourceSize()
216 if ((resTag.tag = GetResourceTag(SetResourceID(codec, name, index), matchLevel1))) in GetResourceSize()
218 return resTag.size; in GetResourceSize()
233 RESOURCE_TAG resTag; in SetResourceID() local
234 MOS_ZeroMemory(&resTag, sizeof(resTag)); in SetResourceID()
236 resTag.typeID = name; in SetResourceID()
237 resTag.codec = MosToAllocatorCodec(codec); in SetResourceID()
240 resTag.trackedRecycleBufferIndex = index; in SetResourceID()
242 return resTag.typeID; in SetResourceID()
247 RESOURCE_TAG resTag; in GetResourceID() local
248 MOS_ZeroMemory(&resTag, sizeof(resTag)); in GetResourceID()
250 resTag.tag = resourceTag; in GetResourceID()
254 resTag.typeID &= m_bufNameMask; in GetResourceID()
257 resTag.typeID |= m_bufIndexMask; in GetResourceID()
262 resTag.typeID &= m_bufNameMask; in GetResourceID()
264 return resTag.typeID; in GetResourceID()