Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp163 size_t srcSize = 0; in decrypt_1_2() local
168 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt_1_2()
173 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt_1_2()
182 if (destSize > destBuffer.size || srcSize > source.size) { in decrypt_1_2()
/frameworks/base/media/java/android/media/
DImageUtils.java123 Size srcSize = new Size(src.getWidth(), src.getHeight()); in imageCopy() local
125 if (!srcSize.equals(dstSize)) { in imageCopy()
126 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/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/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h67 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
/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/extractors/mkv/
DMatroskaExtractor.cpp1130 size_t srcSize = frame->range_length(); in read() local
1139 while (srcOffset + mNALSizeLen <= srcSize) { in read()
1155 } else if (srcOffset + mNALSizeLen + NALsize > srcSize) { in read()
1175 if (srcOffset < srcSize) { in read()
1188 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp3520 jsize srcSize = env->GetArrayLength(jsrcIpAddress); in getDemuxIpAddress() local
3527 if (srcSize != dstSize) { in getDemuxIpAddress()
3530 "IP address lengths don't match. srcLength=%d, dstLength=%d", srcSize, dstSize); in getDemuxIpAddress()
3534 if (srcSize == IP_V4_LENGTH) { in getDemuxIpAddress()
3538 jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte*>(srcAddr)); in getDemuxIpAddress()
3543 } else if (srcSize == IP_V6_LENGTH) { in getDemuxIpAddress()
3547 jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte*>(srcAddr)); in getDemuxIpAddress()
3555 "Invalid IP address length %d", srcSize); in getDemuxIpAddress()