Home
last modified time | relevance | path

Searched refs:bufferInfo (Results 1 – 22 of 22) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshotUtils.h34 const BufferInfo* bufferInfo);
36 const BufferInfo* bufferInfo);
DVkDecoderSnapshotUtils.cpp477 const BufferInfo* bufferInfo) { in saveBufferContent() argument
480 if ((bufferInfo->usage & requiredUsages) != requiredUsages) { in saveBufferContent()
500 .size = static_cast<VkDeviceSize>(bufferInfo->size), in saveBufferContent()
535 .size = bufferInfo->size, in saveBufferContent()
554 .size = bufferInfo->size}; in saveBufferContent()
569 stream->putBe64(bufferInfo->size); in saveBufferContent()
570 stream->write(mapped, bufferInfo->size); in saveBufferContent()
580 const BufferInfo* bufferInfo) { in loadBufferContent() argument
583 if ((bufferInfo->usage & requiredUsages) != requiredUsages) { in loadBufferContent()
603 .size = static_cast<VkDeviceSize>(bufferInfo->size), in loadBufferContent()
[all …]
DVkDecoderGlobalState.cpp519 const BufferInfo& bufferInfo = mBufferInfo[unboxedBuffer]; in save() local
520 if (bufferInfo.memory == VK_NULL_HANDLE) { in save()
524 StateBlock stateBlock = createSnapshotStateBlock(bufferInfo.device); in save()
527 saveBufferContent(stream, &stateBlock, unboxedBuffer, &bufferInfo); in save()
641 VkDescriptorBufferInfo bufferInfo = entry.bufferInfo; in save() local
643 bufferInfo.buffer = in save()
644 unboxed_to_boxed_non_dispatchable_VkBuffer(bufferInfo.buffer); in save()
645 stream->write(&bufferInfo, sizeof(bufferInfo)); in save()
737 const BufferInfo& bufferInfo = mBufferInfo[unboxedBuffer]; in load() local
738 if (bufferInfo.memory == VK_NULL_HANDLE) { in load()
[all …]
DVkDecoderInternalStructs.h354 VkDescriptorBufferInfo bufferInfo; member
DVkCommonOperations.cpp3127 auto bufferInfo = android::base::find(sVkEmulation->buffers, bufferHandle); in readBufferToBytes() local
3128 if (!bufferInfo) { in readBufferToBytes()
3157 vk->vkCmdCopyBuffer(commandBuffer, bufferInfo->buffer, stagingBufferInfo.buffer, 1, in readBufferToBytes()
3219 auto bufferInfo = android::base::find(sVkEmulation->buffers, bufferHandle); in updateBufferFromBytes() local
3220 if (!bufferInfo) { in updateBufferFromBytes()
3264 vk->vkCmdCopyBuffer(commandBuffer, stagingBufferInfo.buffer, bufferInfo->buffer, 1, in updateBufferFromBytes()
DCompositorVk.cpp499 const VkDescriptorBufferInfo bufferInfo = { in setUpDescriptorSets() local
511 .pBufferInfo = &bufferInfo, in setUpDescriptorSets()
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DAstcTexture.cpp91 VkBufferCreateInfo bufferInfo = { in createVkBufferAndMapMemory() local
97 res = mVk->vkCreateBuffer(mDevice, &bufferInfo, nullptr, &mDecompBuffer); in createVkBufferAndMapMemory()
/hardware/google/gfxstream/host/vulkan/testing/
DVulkanTestHelper.cpp272 VkBufferCreateInfo bufferInfo = { in createBuffer() local
278 VK_CHECK(vk().vkCreateBuffer(mDevice, &bufferInfo, nullptr, &buffer)); in createBuffer()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp173 struct bufferInfo { struct
438 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
549 bufferInfo info; in set_image()
929 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
939 static size_t get_size(const bufferInfo& info) in get_size()
969 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1148 bufferInfo dst_info; in stretch_copybit_internal()
1219 bufferInfo src_info; in stretch_copybit_internal()
/hardware/google/gfxstream/guest/vulkan_enc/
DDescriptorSetVirtualization.h44 VkDescriptorBufferInfo bufferInfo; member
DDescriptorSetVirtualization.cpp152 entry.bufferInfo = write->pBufferInfo[i]; in doEmulatedDescriptorWrite()
286 entry.bufferInfo = bufferInfos[i]; in doEmulatedDescriptorBufferInfoWriteFromTemplate()
DResourceTracker.cpp859 VkDescriptorBufferInfo* bufferInfo = nullptr; in commitDescriptorSetUpdates() local
871 bufferInfo = &write.bufferInfo; in commitDescriptorSetUpdates()
898 bufferInfo, in commitDescriptorSetUpdates()
3530 const auto& bufferInfo = it->second; in on_vkAllocateMemory() local
3532 bufferConstraintsInfo.createInfo = bufferInfo.createInfo; in on_vkAllocateMemory()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp175 struct bufferInfo { struct
455 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
570 bufferInfo info; in set_image()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
963 static int get_size(const bufferInfo& info) in get_size()
993 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1174 bufferInfo dst_info; in stretch_copybit_internal()
1254 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp175 struct bufferInfo { struct
455 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
570 bufferInfo info; in set_image()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
963 static int get_size(const bufferInfo& info) in get_size()
993 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1174 bufferInfo dst_info; in stretch_copybit_internal()
1254 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp173 struct bufferInfo { struct
454 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
565 bufferInfo info; in set_image()
955 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
965 static int get_size(const bufferInfo& info) in get_size()
995 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1173 bufferInfo dst_info; in stretch_copybit_internal()
1253 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/sm7250/display/libcopybit/
Dcopybit_c2d.cpp175 struct bufferInfo { struct
455 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
570 bufferInfo info; in set_image()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
963 static int get_size(const bufferInfo& info) in get_size()
993 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1174 bufferInfo dst_info; in stretch_copybit_internal()
1254 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit_c2d.cpp175 struct bufferInfo { struct
455 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
570 bufferInfo info; in set_image()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
963 static int get_size(const bufferInfo& info) in get_size()
993 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1174 bufferInfo dst_info; in stretch_copybit_internal()
1254 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp175 struct bufferInfo { struct
455 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
570 bufferInfo info; in set_image()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
963 static int get_size(const bufferInfo& info) in get_size()
993 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1174 bufferInfo dst_info; in stretch_copybit_internal()
1254 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp173 struct bufferInfo { struct
448 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
559 bufferInfo info; in set_image()
949 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
959 static size_t get_size(const bufferInfo& info) in get_size()
989 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1167 bufferInfo dst_info; in stretch_copybit_internal()
1247 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp173 struct bufferInfo { struct
453 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
568 bufferInfo info; in set_image()
951 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
961 static int get_size(const bufferInfo& info) in get_size()
991 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1172 bufferInfo dst_info; in stretch_copybit_internal()
1252 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp172 struct bufferInfo { struct
457 static int calculate_yuv_offset_and_stride(const bufferInfo& info, in calculate_yuv_offset_and_stride()
568 bufferInfo info; in set_image()
958 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info()
968 static int get_size(const bufferInfo& info) in get_size()
998 static int get_temp_buffer(const bufferInfo& info, alloc_data& data) in get_temp_buffer()
1176 bufferInfo dst_info; in stretch_copybit_internal()
1256 bufferInfo src_info; in stretch_copybit_internal()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp5907 PendingBufferInfo bufferInfo; in processCaptureRequest() local
5908 bufferInfo.buffer = request->output_buffers[i].buffer; in processCaptureRequest()
5909 bufferInfo.stream = request->output_buffers[i].stream; in processCaptureRequest()
5910 bufsForCurRequest.mPendingBufferList.push_back(bufferInfo); in processCaptureRequest()
5911 QCamera3Channel *channel = (QCamera3Channel *)bufferInfo.stream->priv; in processCaptureRequest()
5913 frameNumber, bufferInfo.buffer, in processCaptureRequest()
5914 channel->getStreamTypeMask(), bufferInfo.stream->format); in processCaptureRequest()