Home
last modified time | relevance | path

Searched refs:srcSize (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DCryptoPlugin.cpp96 size_t srcSize = 0; in decrypt() local
101 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt()
106 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt()
115 if (destSize > destBuffer.size || srcSize > in_args.source.size) { in decrypt()
/frameworks/base/libs/hwui/jni/
DBufferUtils.cpp20 static void copyToVector(std::vector<uint8_t>& dst, const void* src, size_t srcSize) { in copyToVector() argument
22 dst.resize(srcSize); in copyToVector()
23 memcpy(dst.data(), src, srcSize); in copyToVector()
/frameworks/base/media/java/android/media/
DImageUtils.java156 Size srcSize = new Size(src.getWidth(), src.getHeight()); in imageCopy() local
158 if (!srcSize.equals(dstSize)) { in imageCopy()
159 throw new IllegalArgumentException("source image size " + srcSize + " is different" in imageCopy()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp523 const uint8_t *src, size_t srcSize, in extractGraphicBuffer() argument
540 if (srcSize < sizeof(VideoNativeMetadata)) { in extractGraphicBuffer()
541 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoNativeMetadata)); in extractGraphicBuffer()
571 if (srcSize < sizeof(VideoGrallocMetadata)) { in extractGraphicBuffer()
572 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoGrallocMetadata)); in extractGraphicBuffer()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h67 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
/frameworks/rs/
DrsScriptGroup.cpp194 ScriptKernelID ** src, size_t srcSize, in create() argument
368 RsScriptKernelID * src, size_t srcSize, in rsi_ScriptGroupCreate() argument
376 (ScriptKernelID **) src, srcSize, in rsi_ScriptGroupCreate()
DrsScriptGroup.h84 ScriptKernelID ** src, size_t srcSize,
DrsHidlAdaptation.cpp961 RsScriptKernelID * src, size_t srcSize, in ScriptGroupCreate() argument
967 std::vector<ScriptKernelID> _src(srcSize / sizeof(RsScriptKernelID)); in ScriptGroupCreate()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument
540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1136 size_t srcSize = frame->range_length(); in read() local
1145 while (srcOffset + mNALSizeLen <= srcSize) { in read()
1161 } else if (srcOffset + mNALSizeLen + NALsize > srcSize) { in read()
1181 if (srcOffset < srcSize) { in read()
1194 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp3499 jsize srcSize = env->GetArrayLength(jsrcIpAddress); in getDemuxIpAddress() local
3506 if (srcSize != dstSize) { in getDemuxIpAddress()
3509 "IP address lengths don't match. srcLength=%d, dstLength=%d", srcSize, dstSize); in getDemuxIpAddress()
3513 if (srcSize == IP_V4_LENGTH) { in getDemuxIpAddress()
3518 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress()
3522 } else if (srcSize == IP_V6_LENGTH) { in getDemuxIpAddress()
3527 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress()
3534 "Invalid IP address length %d", srcSize); in getDemuxIpAddress()