Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp89 jlong dstSize; in android_media_MediaMuxer_writeSampleData() local
106 dstSize = env->GetArrayLength(byteArray); in android_media_MediaMuxer_writeSampleData()
108 dstSize = env->GetDirectBufferCapacity(byteBuf); in android_media_MediaMuxer_writeSampleData()
111 if (dstSize < (offset + size)) { in android_media_MediaMuxer_writeSampleData()
113 (long long)dstSize, size, offset); in android_media_MediaMuxer_writeSampleData()
Dandroid_media_MediaExtractor.cpp171 size_t dstSize; in readSampleData() local
192 dstSize = (size_t) env->GetArrayLength(byteArray); in readSampleData()
194 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
197 if (dstSize < offset) { in readSampleData()
205 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset); in readSampleData()
/frameworks/base/media/java/android/media/
DImageUtils.java116 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); in imageCopy() local
117 if (!srcSize.equals(dstSize)) { in imageCopy()
119 + " with " + "destination image size " + dstSize); in imageCopy()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h65 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp375 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
376 char* dst = new char[dstSize]; in getCameraIdList()
382 strlcpy(dst, src, dstSize); in getCameraIdList()
/frameworks/support/compat/src/main/java/androidx/core/widget/
DAutoScrollHelper.java548 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument
560 final float targetVelocity = relativeVelocity * dstSize; in computeTargetVelocity()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument
549 final float targetVelocity = relativeVelocity * dstSize; in computeTargetVelocity()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp522 uint8_t *dst, size_t dstSize, in extractGraphicBuffer() argument
588 if (dstSize < neededSize) { in extractGraphicBuffer()
589 ALOGE("destination buffer is too small (%zu vs %zu)", dstSize, neededSize); in extractGraphicBuffer()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp831 size_t dstSize = 0; in read() local
885 dstSize = dstOffset; in read()
887 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
892 buffer = MediaBufferBase::Create(dstSize); in read()
/frameworks/av/media/libstagefright/
DACodec.cpp7642 size_t dstSize = sizeof(config->param[paramIndex].cString); in setVendorParameters() local
7643 strncpy((char *)config->param[paramIndex].cString, value.c_str(), dstSize - 1); in setVendorParameters()
7645 config->param[paramIndex].cString[dstSize - 1] = '\0'; in setVendorParameters()