/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FrameHandler.cpp | 216 const BufferDesc& srcBuffer) { in copyBufferContents() argument 221 srcBuffer.width); in copyBufferContents() 223 srcBuffer.height); in copyBufferContents() 230 srcBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in copyBufferContents() 231 srcBuffer.width, srcBuffer.height, srcBuffer.format, 1, srcBuffer.usage, in copyBufferContents() 232 srcBuffer.stride); in copyBufferContents() 244 if (srcBuffer.format == HAL_PIXEL_FORMAT_YCRCB_420_SP) { // 420SP == NV21 in copyBufferContents() 248 } else if (srcBuffer.format == HAL_PIXEL_FORMAT_YV12) { // YUV_420P == YV12 in copyBufferContents() 252 } else if (srcBuffer.format == HAL_PIXEL_FORMAT_YCBCR_422_I) { // YUYV in copyBufferContents() 254 srcPixels, srcBuffer.stride, in copyBufferContents() [all …]
|
D | FrameHandler.h | 71 bool copyBufferContents(const BufferDesc& tgtBuffer, const BufferDesc& srcBuffer);
|
/hardware/interfaces/cas/1.0/default/ |
D | DescramblerImpl.cpp | 94 const SharedBuffer& srcBuffer, in descramble() argument 104 if (srcBuffer.heapBase.size() > SIZE_MAX) { in descramble() 105 ALOGE("Invalid hidl_memory size: %" PRIu64 "", srcBuffer.heapBase.size()); in descramble() 111 sp<IMemory> srcMem = mapMemory(srcBuffer.heapBase); in descramble() 121 srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize())) { in descramble() 123 "size %" PRIu64 "", srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize()); in descramble() 137 if (!validateRangeForSize(srcOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() 140 "size %" PRIu64 "", srcOffset, totalBytesInSubSamples, srcBuffer.size); in descramble() 146 void *srcPtr = (uint8_t *)(void *)srcMem->getPointer() + srcBuffer.offset; in descramble() 155 if (!validateRangeForSize(dstOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() [all …]
|
D | DescramblerImpl.h | 48 const SharedBuffer& srcBuffer,
|
/hardware/interfaces/cas/1.1/default/ |
D | DescramblerImpl.cpp | 87 const SharedBuffer& srcBuffer, uint64_t srcOffset, in descramble() argument 95 if (srcBuffer.heapBase.size() > SIZE_MAX) { in descramble() 96 ALOGE("Invalid hidl_memory size: %" PRIu64 "", srcBuffer.heapBase.size()); in descramble() 102 sp<IMemory> srcMem = mapMemory(srcBuffer.heapBase); in descramble() 111 if (!validateRangeForSize(srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize())) { in descramble() 113 "size %" PRIu64 "", srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize()); in descramble() 127 if (!validateRangeForSize(srcOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() 130 "size %" PRIu64 "", srcOffset, totalBytesInSubSamples, srcBuffer.size); in descramble() 136 void* srcPtr = (uint8_t*)(void*)srcMem->getPointer() + srcBuffer.offset; in descramble() 145 if (!validateRangeForSize(dstOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() [all …]
|
D | DescramblerImpl.h | 48 const SharedBuffer& srcBuffer, uint64_t srcOffset,
|
/hardware/interfaces/cas/1.2/default/ |
D | DescramblerImpl.cpp | 87 const SharedBuffer& srcBuffer, uint64_t srcOffset, in descramble() argument 95 if (srcBuffer.heapBase.size() > SIZE_MAX) { in descramble() 96 ALOGE("Invalid hidl_memory size: %" PRIu64 "", srcBuffer.heapBase.size()); in descramble() 102 sp<IMemory> srcMem = mapMemory(srcBuffer.heapBase); in descramble() 111 if (!validateRangeForSize(srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize())) { in descramble() 113 "size %" PRIu64 "", srcBuffer.offset, srcBuffer.size, (uint64_t)srcMem->getSize()); in descramble() 127 if (!validateRangeForSize(srcOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() 130 "size %" PRIu64 "", srcOffset, totalBytesInSubSamples, srcBuffer.size); in descramble() 136 void* srcPtr = (uint8_t*)(void*)srcMem->getPointer() + srcBuffer.offset; in descramble() 145 if (!validateRangeForSize(dstOffset, totalBytesInSubSamples, srcBuffer.size)) { in descramble() [all …]
|
D | DescramblerImpl.h | 48 const SharedBuffer& srcBuffer, uint64_t srcOffset,
|
/hardware/interfaces/cas/native/1.0/ |
D | IDescrambler.hal | 34 * @param srcBuffer the SharedBuffer containing the source scrambled data. 44 SharedBuffer srcBuffer, uint64_t srcOffset, DestinationBuffer dstBuffer, uint64_t dstOffset)
|
/hardware/interfaces/cas/1.1/vts/functional/ |
D | VtsHalCasV1_1TargetTest.cpp | 375 SharedBuffer srcBuffer = { in descrambleTestInputBuffer() local 380 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestInputBuffer() 385 ScramblingControl::EVENKEY /*2*/, hidlSubSamples, srcBuffer, 0, dstBuffer, 0, in descrambleTestInputBuffer() 429 SharedBuffer srcBuffer = { in descrambleTestOobInput() local 437 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestOobInput() 442 ScramblingControl::EVENKEY /*2*/, hidlSubSamples, srcBuffer, params.srcOffset, in descrambleTestOobInput()
|
/hardware/interfaces/cas/1.2/vts/functional/ |
D | VtsHalCasV1_2TargetTest.cpp | 419 SharedBuffer srcBuffer = { in descrambleTestInputBuffer() local 424 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestInputBuffer() 429 ScramblingControl::EVENKEY /*2*/, hidlSubSamples, srcBuffer, 0, dstBuffer, 0, in descrambleTestInputBuffer() 473 SharedBuffer srcBuffer = { in descrambleTestOobInput() local 481 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestOobInput() 486 ScramblingControl::EVENKEY /*2*/, hidlSubSamples, srcBuffer, params.srcOffset, in descrambleTestOobInput()
|
/hardware/interfaces/cas/1.0/vts/functional/ |
D | VtsHalCasV1_0TargetTest.cpp | 334 SharedBuffer srcBuffer = { in descrambleTestInputBuffer() local 342 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestInputBuffer() 347 ScramblingControl::EVENKEY /*2*/, hidlSubSamples, srcBuffer, 0, dstBuffer, 0, in descrambleTestInputBuffer() 392 SharedBuffer srcBuffer = { in descrambleTestOobInput() local 400 dstBuffer.nonsecureMemory = srcBuffer; in descrambleTestOobInput() 406 srcBuffer, in descrambleTestOobInput()
|
/hardware/google/av/media/sfplugin/ |
D | CCodecBufferChannel.cpp | 1760 hardware::cas::native::V1_0::SharedBuffer srcBuffer; in queueSecureInputBuffer() local 1761 encryptedBuffer->fillSourceBuffer(&srcBuffer); in queueSecureInputBuffer() 1769 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer() 1785 srcBuffer, in queueSecureInputBuffer()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 1943 sp<GraphicBuffer> srcBuffer = new GraphicBuffer(s_width, s_height, format, 1, usage, in swvenc_do_rotate() local 1945 if (srcBuffer.get() == NULL) { in swvenc_do_rotate() 1961 rotation, srcBuffer->getNativeBuffer(), dstBuffer->getNativeBuffer()); in swvenc_do_rotate()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 1962 sp<GraphicBuffer> srcBuffer = new GraphicBuffer(s_width, s_height, format, 1, usage, in swvenc_do_rotate() local 1964 if (srcBuffer.get() == NULL) { in swvenc_do_rotate() 1980 rotation, srcBuffer->getNativeBuffer(), dstBuffer->getNativeBuffer()); in swvenc_do_rotate()
|