Home
last modified time | relevance | path

Searched refs:dstOffset (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java50 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() argument
51 assert dst.length >= dstOffset + byteCount; in readByteArray()
52 mByteBuffer.get(dst, dstOffset, byteCount); in readByteArray()
66 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument
68 dst[dstOffset++] = mByteBuffer.getInt(); in readIntArray()
/frameworks/av/media/libstagefright/
DDRMExtractor.cpp161 size_t dstOffset = 0; in read() local
203 if (dstOffset > SIZE_MAX - 4 || in read()
204 dstOffset + 4 > SIZE_MAX - nalLength || in read()
205 dstOffset + 4 + nalLength > (*buffer)->size()) { in read()
215 dstData[dstOffset++] = 0; in read()
216 dstData[dstOffset++] = 0; in read()
217 dstData[dstOffset++] = 0; in read()
218 dstData[dstOffset++] = 1; in read()
219 memcpy(&dstData[dstOffset], &decryptedDrmBuffer.data[srcOffset], nalLength); in read()
221 dstOffset += nalLength; in read()
[all …]
DMPEG4Extractor.cpp4411 size_t dstOffset = 0; in read() local
4433 if (dstOffset > SIZE_MAX - 4 || in read()
4434 dstOffset + 4 > SIZE_MAX - nalLength || in read()
4435 dstOffset + 4 + nalLength > mBuffer->size()) { in read()
4436 ALOGE("b/27208621 : %zu %zu", dstOffset, mBuffer->size()); in read()
4443 dstData[dstOffset++] = 0; in read()
4444 dstData[dstOffset++] = 0; in read()
4445 dstData[dstOffset++] = 0; in read()
4446 dstData[dstOffset++] = 1; in read()
4447 memcpy(&dstData[dstOffset], &mSrcBuffer[srcOffset], nalLength); in read()
[all …]
/frameworks/base/media/java/android/media/
DImageUtils.java147 int dstOffset = dstBuffer.position(); in imageCopy() local
160 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
162 dstOffset += dstRowStride; in imageCopy()
266 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
267 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount); in directByteBufferCopy()
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp189 size_t dstOffset = 0; in addPacket() local
204 accessUnit->data()[dstOffset++] = toc; in addPacket()
205 memcpy(accessUnit->data() + dstOffset, in addPacket()
209 dstOffset += frameSize - 1; in addPacket()
DARTPWriter.cpp797 size_t dstOffset = 13; in sendAMRData() local
808 data[dstOffset++] = toc; in sendAMRData()
818 memcpy(&data[dstOffset], &mediaData[srcOffset], frameSize - 1); in sendAMRData()
820 dstOffset += frameSize - 1; in sendAMRData()
823 buffer->setRange(0, dstOffset); in sendAMRData()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp704 size_t dstOffset = 0; in read() local
726 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); in read()
729 memcpy(&dstPtr[dstOffset + 4], in read()
735 dstOffset += 4; // 0x00 00 00 01 in read()
736 dstOffset += NALsize; in read()
752 dstSize = dstOffset; in read()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp852 size_t dstOffset = 0; in dequeueAccessUnitH264() local
865 seiPos.nalOffset = dstOffset + 4; in dequeueAccessUnitH264()
878 memcpy(accessUnit->data() + dstOffset, "\x00\x00\x00\x01", 4); in dequeueAccessUnitH264()
880 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
884 dstOffset += pos.nalSize + 4; in dequeueAccessUnitH264()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp397 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
398 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
411 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
1078 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in CmdUpdateBuffer() argument
1079 …GetData(commandBuffer).dispatch.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pDa… in CmdUpdateBuffer()
1082 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si… in CmdFillBuffer() argument
1083 GetData(commandBuffer).dispatch.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); in CmdFillBuffer()
1134 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st… in CmdCopyQueryPoolResults() argument
1135 …PoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); in CmdCopyQueryPoolResults()
1798 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in vkCmdUpdateBuffer() argument
[all …]
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h148 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
149 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
162 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h2098 VkDeviceSize dstOffset; member
2113 VkOffset3D dstOffset; member
2165 VkOffset3D dstOffset; member
2350 …Buffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
2351 …Buffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
2364 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
3033 VkDeviceSize dstOffset,
3040 VkDeviceSize dstOffset,
3140 VkDeviceSize dstOffset,
/frameworks/native/vulkan/api/
Dvulkan.api1715 VkDeviceSize dstOffset /// Specified in bytes
1780 …VkOffset3D dstOffset /// Specified in pixels for both…
1804 VkOffset3D dstOffset
4571 VkDeviceSize dstOffset,
4589 VkDeviceSize dstOffset,
4828 VkDeviceSize dstOffset,