Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java55 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() argument
56 assert dst.length >= dstOffset + byteCount; in readByteArray()
57 mByteBuffer.get(dst, dstOffset, byteCount); in readByteArray()
71 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument
73 dst[dstOffset++] = mByteBuffer.getInt(); in readIntArray()
/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()
DMediaDescrambler.java242 ByteBuffer dstBuf, int dstOffset, int dstLimit); in native_descramble() argument
/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/base/media/jni/
Dandroid_media_MediaDescrambler.cpp135 jint dstOffset, in descramble() argument
156 info.dstOffset = 0; in descramble()
164 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->pointer(), *result); in descramble()
293 jobject dstBuf, jint dstOffset, jint dstLimit) { in android_media_MediaDescrambler_native_descramble() argument
321 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble()
335 srcPtr, srcOffset, dstPtr, dstOffset, &result); in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaDescrambler.h48 jint dstOffset,
/frameworks/av/drm/libmediadrm/
DMediaCasDefs.cpp118 err = parcel->readInt32(&dstOffset); in readFromParcel()
172 err = parcel->writeInt32(dstOffset); in writeToParcel()
DDescramblerImpl.cpp90 info.dstOffset, in descramble()
/frameworks/native/include/media/cas/
DDescramblerAPI.h91 int32_t dstOffset,
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp218 int32_t dstOffset, in descramble() argument
224 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
DMockCasPlugin.h112 int32_t dstOffset,
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp4729 size_t dstOffset = 0; in read() local
4751 if (dstOffset > SIZE_MAX - 4 || in read()
4752 dstOffset + 4 > SIZE_MAX - nalLength || in read()
4753 dstOffset + 4 + nalLength > mBuffer->size()) { in read()
4754 ALOGE("b/27208621 : %zu %zu", dstOffset, mBuffer->size()); in read()
4761 dstData[dstOffset++] = 0; in read()
4762 dstData[dstOffset++] = 0; in read()
4763 dstData[dstOffset++] = 0; in read()
4764 dstData[dstOffset++] = 1; in read()
4765 memcpy(&dstData[dstOffset], &mSrcBuffer[srcOffset], nalLength); in read()
[all …]
DACodecBufferChannel.cpp155 descrambleInfo.dstOffset = 0; in queueSecureInputBuffer()
/frameworks/av/include/media/
DMediaCasDefs.h80 int32_t dstOffset; variable
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.cpp438 int32_t dstOffset, in descramble() argument
445 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
456 dstPtr == NULL ? NULL : ((uint8_t*)dstPtr + dstOffset), in descramble()
DClearKeyCasPlugin.h119 int32_t dstOffset,
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1085 size_t dstOffset = 0; in dequeueAccessUnitH264() local
1099 seiPos.nalOffset = dstOffset + 4; in dequeueAccessUnitH264()
1112 memcpy(accessUnit->data() + dstOffset, "\x00\x00\x00\x01", 4); in dequeueAccessUnitH264()
1118 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1121 dstOffset += newSize + 4; in dequeueAccessUnitH264()
1130 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1134 dstOffset += pos.nalSize + 4; in dequeueAccessUnitH264()
1177 dstOffset, nals.size(), totalSize); in dequeueAccessUnitH264()
DATSParser.cpp1379 info.dstOffset = 0; in flushScrambled()
1394 info.srcOffset = info.dstOffset = pesOffset; in flushScrambled()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp725 size_t dstOffset = 0; in read() local
747 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); in read()
750 memcpy(&dstPtr[dstOffset + 4], in read()
756 dstOffset += 4; // 0x00 00 00 01 in read()
757 dstOffset += NALsize; in read()
773 dstSize = dstOffset; in read()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp399 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
400 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
413 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
1095 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in CmdUpdateBuffer() argument
1096 …GetData(commandBuffer).dispatch.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pDa… in CmdUpdateBuffer()
1099 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si… in CmdFillBuffer() argument
1100 GetData(commandBuffer).dispatch.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); in CmdFillBuffer()
1151 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st… in CmdCopyQueryPoolResults() argument
1152 …PoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); in CmdCopyQueryPoolResults()
1815 …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/api/
Dvulkan.api2430 VkDeviceSize dstOffset /// Specified in bytes
2495 …VkOffset3D dstOffset /// Specified in pixels for both…
2519 VkOffset3D dstOffset
6182 VkDeviceSize dstOffset,
6200 VkDeviceSize dstOffset,
6439 VkDeviceSize dstOffset,