/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | decode.c | 174 uint32_t buffer[4]; in memmove16() 175 memcpy(buffer, src, 16); in memmove16() 176 memcpy(dst, buffer, 16); in memmove16() 1118 /* Decodes a command or literal and updates block type ring-buffer. 1266 and either ring-buffer is as big as window size, or |force| is true. */ 1302 /* Wrap ring buffer only if it has reached its maximal size. */ in WriteRingBuffer() 1319 /* Allocates ring-buffer. 1324 Last two bytes of ring-buffer are initialized to 0, so context calculation 1374 /* Copy remaining bytes from s->br.buf_ to ring-buffer. */ in CopyUncompressedBlockToOutput() 1406 /* Calculates the smallest feasible ring buffer [all...] |
/third_party/skia/third_party/skcms/ |
H A D | skcms.cc | 372 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); 1197 if (!profile || !profile->buffer || !tag) { return; } 1202 tag->buf = read_big_u32(tags[idx].offset) + profile->buffer; 1207 if (!profile || !profile->buffer || !tag) { return false; } 1213 tag->buf = read_big_u32(tags[i].offset) + profile->buffer; 1242 profile->buffer = (const uint8_t*)buf; 1253 // Validate signature, size (smaller than buffer, large enough to hold tag table), 1377 nullptr, // buffer, moot here 1472 nullptr, // buffer, moot here
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | mutex.cc | 428 // A buffer with enough space for the ASCII for all the PCs, even on a in PostSynchEvent() 430 char buffer[ABSL_ARRAYSIZE(pcs) * 24]; in PostSynchEvent() local 431 int pos = snprintf(buffer, sizeof (buffer), " @"); in PostSynchEvent() 433 pos += snprintf(&buffer[pos], sizeof (buffer) - pos, " %p", pcs[i]); in PostSynchEvent() 436 (e == nullptr ? "" : e->name), buffer); in PostSynchEvent()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 410 // Since we are sending the buffer of size 13, six UDP packets in gso() 893 // allocate buffer for encrypted data in test_af_alg_cipher() 909 // allocate buffer for decrypted data in test_af_alg_cipher() 989 // allocate buffer for encrypted data in test_af_alg_aead() 1014 // allocate buffer for decrypted data in test_af_alg_aead() 1018 // authentication tag memory is only needed in the output buffer for encryption in test_af_alg_aead() 1019 // and in the input buffer for decryption. in test_af_alg_aead() 1020 // Do not block on read, as we may have fewer bytes than buffer size in test_af_alg_aead() 1400 /// Ensure that passing a an oversized control message buffer to recvmsg 2224 let mut buffer in test_recvmsg_timestampns() variables 2279 let mut buffer = vec![0u8; message.len()]; test_recvmmsg_timestampns() variables 2361 let mut buffer = vec![0u8; message.len()]; test_recvmsg_rxq_ovfl() variables [all...] |
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | CilTest.c | 60 char *buffer; in set_cil_file_data() local 73 buffer = malloc(file_size + 2); in set_cil_file_data() 74 if(fread(buffer, file_size, 1, file) < 1) { in set_cil_file_data() 77 memset(buffer+file_size, 0, 2); in set_cil_file_data() 81 new_data->buffer = buffer; in set_cil_file_data()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsUniformBlockCase.cpp | 1371 GLU_EXPECT_NO_ERROR(m_renderCtx.getFunctions().getError(), "Failed to allocate uniform buffer"); in allocBuffer() 1510 deUint32 buffer = bufferManager.allocBuffer(); in iterate() local 1513 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1515 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to upload uniform buffer data"); in iterate() 1517 gl.bindBufferBase(GL_UNIFORM_BUFFER, binding, buffer); in iterate() 1554 // Allocate buffer and upload data. in iterate() 1555 deUint32 buffer = bufferManager.allocBuffer(); in iterate() local 1556 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1560 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to upload uniform buffer data"); in iterate() 1566 gl.bindBufferRange(GL_UNIFORM_BUFFER, binding, buffer, (gl in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryWatertightnessTests.cpp | 167 VkBuffer getVkBuffer (const de::MovePtr<BufferWithMemory>& buffer) in getVkBuffer() argument 169 VkBuffer result = (buffer.get() == DE_NULL) ? DE_NULL : buffer->get(); in getVkBuffer() 174 VkStridedDeviceAddressRegionKHR makeStridedDeviceAddressRegion (const DeviceInterface& vkd, const VkDevice device, VkBuffer buffer, VkDeviceSize size) in makeStridedDeviceAddressRegion() argument 176 const VkDeviceSize sizeFixed = ((buffer == DE_NULL) ? 0ull : size); in makeStridedDeviceAddressRegion() 178 return makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, buffer, 0), sizeFixed, sizeFixed); in makeStridedDeviceAddressRegion() 773 // Initialize vertex buffer in initVertexBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktDeviceObjectReservationTests.cpp | 302 const VkBuffer buffer, in createBufferViews() 314 buffer, // VkBuffer buffer in createBufferViews() 1484 BufferWithMemory buffer(vkd, device, allocator, bufferCI, MemoryRequirement::HostVisible); 1487 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews), end(bufferViews)); 1489 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(bufferViews)); 1491 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews), end(bufferViews)); 2047 { TRC_BUFFER, "buffer" }, in createDeviceObjectReservationTests() 300 createBufferViews(const DeviceInterface& vkd, const VkDevice device, const VkBuffer buffer, const VkDeviceSize size, std::vector<BufferViewSp>::iterator begin, std::vector<BufferViewSp>::iterator end) createBufferViews() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cGPUShaderFP64Tests.cpp | 3573 * @param out_buffer_size Size of uniform buffer 4116 /** Prepare uniform buffer for test 4145 /* Prepare storage for buffer data */ in prepareUniforms() 4166 /* Update uniform buffer with new set of data */ in prepareUniforms() 4173 /* Bind uniform block to uniform buffer */ in prepareUniforms() 4278 /* Prepare uniform buffer and bind it with uniform block */ in test() 4312 /** Prepare transform feedback buffer, framebuffer or image unit for test results 4323 /* Prepare buffer filled with m_result_failure */ in testBegin() 4330 /* Prepare buffer for test results */ in testBegin() 4359 /* Create/clean transform feedback buffer */ in testBegin() 12576 const glw::GLuint buffer[2] = { in[0], in[1] }; packDouble2x32() local 13001 set(glw::GLvoid* buffer, const T& in) set() argument 13016 set(glw::GLvoid* buffer, const tcu::Matrix<glw::GLdouble, Rows, Cols>& in) set() argument 13041 get(const glw::GLvoid* buffer, T& out) get() argument 13056 get(const glw::GLvoid* buffer, tcu::Matrix<glw::GLdouble, Rows, Cols>& out) get() argument 14740 logVariableType(const glw::GLvoid* buffer, const glw::GLchar* name, Utils::_variable_type type) const logVariableType() argument 14781 prepareArgument(const functionObject& function_object, glw::GLuint vertex, glw::GLubyte* buffer) prepareArgument() argument 14801 prepareComponents(const functionObject& function_object, glw::GLuint vertex, glw::GLuint argument, glw::GLubyte* buffer) prepareComponents() argument [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_change_request_napi.cpp | 101 NAPI_ERR_LOG("Failed to copy buffer to mem"); in ReadData() 600 char buffer[ARG_BUF_SIZE]; in ParseAssetCreateOptions() local 602 result = napi_get_value_string_utf8(env, value, buffer, ARG_BUF_SIZE, &res); in ParseAssetCreateOptions() 604 context.valuesBucket.Put(iter.second, string(buffer)); in ParseAssetCreateOptions() 1183 auto buffer = new (std::nothrow) uint8_t[pixelSize]; in SavePhotoProxyImage() local 1188 imagePacker.StartPacking(buffer, pixelSize, packOption); in SavePhotoProxyImage() 1191 if (buffer == nullptr) { in SavePhotoProxyImage() 1197 int ret = write(destFd, buffer, packedSize); in SavePhotoProxyImage() 1202 delete[] buffer; in SavePhotoProxyImage() 1539 "Failed to get data buffer"); in AddMovingPhotoVideoResource() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v11_0.c | 609 * dce_v11_0_line_buffer_adjust - Set up the line buffer 616 * Setup up the line buffer allocation for 618 * Returns the line buffer size in pixels. 733 u32 lb_size; /* line buffer allocated to pipe */ 1046 * @lb_size: line buffer size 1182 * buffer allocation (CIK). 1561 void *buffer, size_t size) in dce_v11_0_afmt_update_avi_infoframe() 1567 uint8_t *frame = buffer + 3; in dce_v11_0_afmt_update_avi_infoframe() 1568 uint8_t *header = buffer; in dce_v11_0_afmt_update_avi_infoframe() 1618 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v11_0_afmt_setmode() local 1560 dce_v11_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v11_0_afmt_update_avi_infoframe() argument [all...] |
H A D | dce_v8_0.c | 520 * dce_v8_0_line_buffer_adjust - Set up the line buffer 527 * Setup up the line buffer allocation for 529 * Returns the line buffer size in pixels. 642 u32 lb_size; /* line buffer allocated to pipe */ 955 * @lb_size: line buffer size 1093 * buffer allocation (CIK). 1469 void *buffer, size_t size) in dce_v8_0_afmt_update_avi_infoframe() 1476 uint8_t *frame = buffer + 3; in dce_v8_0_afmt_update_avi_infoframe() 1477 uint8_t *header = buffer; in dce_v8_0_afmt_update_avi_infoframe() 1523 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v8_0_afmt_setmode() local 1468 dce_v8_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v8_0_afmt_update_avi_infoframe() argument [all...] |
H A D | dce_v10_0.c | 583 * dce_v10_0_line_buffer_adjust - Set up the line buffer 590 * Setup up the line buffer allocation for 592 * Returns the line buffer size in pixels. 707 u32 lb_size; /* line buffer allocated to pipe */ 1020 * @lb_size: line buffer size 1156 * buffer allocation (CIK). 1519 void *buffer, size_t size) in dce_v10_0_afmt_update_avi_infoframe() 1525 uint8_t *frame = buffer + 3; in dce_v10_0_afmt_update_avi_infoframe() 1526 uint8_t *header = buffer; in dce_v10_0_afmt_update_avi_infoframe() 1576 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v10_0_afmt_setmode() local 1518 dce_v10_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v10_0_afmt_update_avi_infoframe() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 487 * @pba_num_size: part number string buffer length 501 hw_dbg(hw, "PBA string buffer was null\n"); in ixgbe_read_pba_string_generic() 527 hw_dbg(hw, "PBA string buffer too small\n"); in ixgbe_read_pba_string_generic() 568 /* check if pba_num buffer is big enough */ in ixgbe_read_pba_string_generic() 570 hw_dbg(hw, "PBA string buffer too small\n"); in ixgbe_read_pba_string_generic() 911 * initialization. It is worth to do that when we write large buffer. in ixgbe_write_eeprom_buffer_bit_bang_generic() 1189 * This function is called only when we are writing a new large buffer 2222 * to the Rx packet buffer size - 24KB. This allows in ixgbe_fc_enable_generic() 3490 * ixgbe_set_rxpba_generic - Initialize RX packet buffer 3494 * @strategy: packet buffer allocatio 3563 ixgbe_calculate_checksum(u8 *buffer, u32 length) ixgbe_calculate_checksum() argument 3592 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) ixgbe_hic_unlocked() argument 3664 ixgbe_host_interface_command(struct ixgbe_hw *hw, void *buffer, u32 length, u32 timeout, bool return_data) ixgbe_host_interface_command() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | shmem.c | 1473 char buffer[64]; in shmem_show_mpol() local 1478 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol() 1480 seq_printf(seq, ",mpol=%s", buffer); in shmem_show_mpol() 3273 const char *name, void *buffer, size_t size) in shmem_xattr_handler_get() 3278 return simple_xattr_get(&info->xattrs, name, buffer, size); in shmem_xattr_handler_get() 3314 static ssize_t shmem_listxattr(struct dentry *dentry, char *buffer, size_t size) in shmem_listxattr() argument 3317 return simple_xattr_list(d_inode(dentry), &info->xattrs, buffer, size); in shmem_listxattr() 3271 shmem_xattr_handler_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) shmem_xattr_handler_get() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | sor.c | 1913 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in tegra_sor_hdmi_setup_avi_infoframe() local 1932 err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); in tegra_sor_hdmi_setup_avi_infoframe() 1938 tegra_sor_hdmi_write_infopack(sor, buffer, err); in tegra_sor_hdmi_setup_avi_infoframe() 1958 * The HDA codec will always report an ELD buffer size of 96 bytes and in tegra_sor_write_eld() 1959 * the HDA codec driver will check that each byte read from the buffer in tegra_sor_write_eld() 2019 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in tegra_sor_hdmi_enable_audio_infoframe() local 2032 err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); in tegra_sor_hdmi_enable_audio_infoframe() 2038 tegra_sor_hdmi_write_infopack(sor, buffer, er in tegra_sor_hdmi_enable_audio_infoframe() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v8_0.c | 521 * dce_v8_0_line_buffer_adjust - Set up the line buffer 528 * Setup up the line buffer allocation for 530 * Returns the line buffer size in pixels. 643 u32 lb_size; /* line buffer allocated to pipe */ 956 * @lb_size: line buffer size 1094 * buffer allocation (CIK). 1469 void *buffer, size_t size) in dce_v8_0_afmt_update_avi_infoframe() 1476 uint8_t *frame = buffer + 3; in dce_v8_0_afmt_update_avi_infoframe() 1477 uint8_t *header = buffer; in dce_v8_0_afmt_update_avi_infoframe() 1523 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v8_0_afmt_setmode() local 1468 dce_v8_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v8_0_afmt_update_avi_infoframe() argument [all...] |
H A D | dce_v11_0.c | 612 * dce_v11_0_line_buffer_adjust - Set up the line buffer 619 * Setup up the line buffer allocation for 621 * Returns the line buffer size in pixels. 736 u32 lb_size; /* line buffer allocated to pipe */ 1049 * @lb_size: line buffer size 1185 * buffer allocation (CIK). 1564 void *buffer, size_t size) in dce_v11_0_afmt_update_avi_infoframe() 1570 uint8_t *frame = buffer + 3; in dce_v11_0_afmt_update_avi_infoframe() 1571 uint8_t *header = buffer; in dce_v11_0_afmt_update_avi_infoframe() 1621 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v11_0_afmt_setmode() local 1563 dce_v11_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v11_0_afmt_update_avi_infoframe() argument [all...] |
H A D | dce_v10_0.c | 580 * dce_v10_0_line_buffer_adjust - Set up the line buffer 587 * Setup up the line buffer allocation for 589 * Returns the line buffer size in pixels. 704 u32 lb_size; /* line buffer allocated to pipe */ 1017 * @lb_size: line buffer size 1153 * buffer allocation (CIK). 1515 void *buffer, size_t size) in dce_v10_0_afmt_update_avi_infoframe() 1521 uint8_t *frame = buffer + 3; in dce_v10_0_afmt_update_avi_infoframe() 1522 uint8_t *header = buffer; in dce_v10_0_afmt_update_avi_infoframe() 1572 u8 buffer[HDMI_INFOFRAME_HEADER_SIZ in dce_v10_0_afmt_setmode() local 1514 dce_v10_0_afmt_update_avi_infoframe(struct drm_encoder *encoder, void *buffer, size_t size) dce_v10_0_afmt_update_avi_infoframe() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | sor.c | 1914 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in tegra_sor_hdmi_setup_avi_infoframe() local 1933 err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); in tegra_sor_hdmi_setup_avi_infoframe() 1939 tegra_sor_hdmi_write_infopack(sor, buffer, err); in tegra_sor_hdmi_setup_avi_infoframe() 1959 * The HDA codec will always report an ELD buffer size of 96 bytes and in tegra_sor_write_eld() 1960 * the HDA codec driver will check that each byte read from the buffer in tegra_sor_write_eld() 2020 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in tegra_sor_hdmi_enable_audio_infoframe() local 2033 err = hdmi_audio_infoframe_pack(&frame, buffer, sizeof(buffer)); in tegra_sor_hdmi_enable_audio_infoframe() 2039 tegra_sor_hdmi_write_infopack(sor, buffer, er in tegra_sor_hdmi_enable_audio_infoframe() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | pktgen.c | 834 /* Parses imix entries from user buffer. 835 * The user buffer should consist of imix entries separated by spaces 839 static ssize_t get_imix_entries(const char __user *buffer, in get_imix_entries() argument 853 len = num_arg(&buffer[i], max_digits, &size); in get_imix_entries() 857 if (get_user(c, &buffer[i])) in get_imix_entries() 867 len = num_arg(&buffer[i], max_digits, &weight); in get_imix_entries() 877 if (get_user(c, &buffer[i])) in get_imix_entries() 890 static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) in get_labels() argument 900 len = hex32_arg(&buffer[i], 8, &tmp); in get_labels() 907 if (get_user(c, &buffer[ in get_labels() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | jpeg2000dec.c | 857 tp->tp_end = s->g.buffer + Psot - n - 2; in get_sot() 887 * buffer. 966 bytestream_get_buffer(&s->g.buffer, s->packed_headers + s->packed_headers_size, in get_ppm() 1002 s->g.buffer, n - 3); in get_ppt() 2179 if (tp->tp_end < s->g.buffer) { in jpeg2000_read_main_headers() 2188 bytestream2_init(&tp->header_tpg, s->packed_headers_stream.buffer, tp_header_size); in jpeg2000_read_main_headers() 2195 bytestream2_init(&tp->tpg, s->g.buffer, tp->tp_end - s->g.buffer); in jpeg2000_read_main_headers() 2196 bytestream2_skip(&s->g, tp->tp_end - s->g.buffer); in jpeg2000_read_main_headers() 2536 /* get picture buffer */ in jpeg2000_decode_frame() [all...] |
/third_party/curl/lib/vssh/ |
H A D | libssh2.c | 3185 static ssize_t ssh_tls_recv(libssh2_socket_t sock, void *buffer, in ssh_tls_recv() argument 3199 result = Curl_read(data, sock, buffer, length, &nread); in ssh_tls_recv() 3205 Curl_debug(data, CURLINFO_DATA_IN, (char *)buffer, (size_t)nread); in ssh_tls_recv() 3209 static ssize_t ssh_tls_send(libssh2_socket_t sock, const void *buffer, in ssh_tls_send() argument 3223 result = Curl_write(data, sock, buffer, length, &nwrite); in ssh_tls_send() 3229 Curl_debug(data, CURLINFO_DATA_OUT, (char *)buffer, (size_t)nwrite); in ssh_tls_send() 3297 recvcb(libssh2_socket_t sock, void *buffer, size_t length, in ssh_connect() 3301 sendcb(libssh2_socket_t sock, const void *buffer, size_t length, in ssh_connect() 3808 void Curl_ssh_version(char *buffer, size_t buflen) in Curl_ssh_version() argument 3810 (void)msnprintf(buffer, bufle in Curl_ssh_version() [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_from_nir.cpp | 2033 uint32_t buffer = getIndirect(&insn->src[0], 0, indirectBuffer); 2035 Symbol *sym = mkSymbol(FILE_MEMORY_BUFFER, buffer, dType, 0); 2043 uint32_t buffer = getIndirect(&insn->src[1], 0, indirectBuffer); 2049 Symbol *sym = mkSymbol(FILE_MEMORY_BUFFER, buffer, sType, 2062 uint32_t buffer = getIndirect(&insn->src[0], 0, indirectBuffer); 2066 loadFrom(FILE_MEMORY_BUFFER, buffer, dType, newDefs[i], offset, i, 2110 uint32_t buffer = getIndirect(&insn->src[0], 0, indirectBuffer); 2113 Symbol *sym = mkSymbol(FILE_MEMORY_BUFFER, buffer, dType, offset);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 389 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes) in commandBufferWriteBarrierBeforeHostRead() argument 395 buffer, 0ull, bufferSizeBytes); in commandBufferWriteBarrierBeforeHostRead() 400 //! Copy all layers of an image to a buffer. 404 const VkBuffer buffer, in commandCopyImageToBuffer() 420 buffer, 0ull, bufferSizeBytes); in commandCopyImageToBuffer() 423 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©Region); in commandCopyImageToBuffer() 427 //! Copy all layers of a mipmap image to a buffer. 432 const VkBuffer buffer, in commandCopyMipmapImageToBuffer() 463 buffer, 0ull, bufferSizeBytes); in commandCopyMipmapImageToBuffer() 466 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, (deUint3 in commandCopyMipmapImageToBuffer() 401 commandCopyImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyImageToBuffer() argument 428 commandCopyMipmapImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkFormat imageFormat, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyMipmapImageToBuffer() argument [all...] |