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.cpp147 size_t dstSize; in readSampleData() local
168 dstSize = (size_t) env->GetArrayLength(byteArray); in readSampleData()
170 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
173 if (dstSize < offset) { in readSampleData()
181 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset); in readSampleData()
/frameworks/base/media/java/android/media/
DImageUtils.java111 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); in imageCopy() local
112 if (!srcSize.equals(dstSize)) { in imageCopy()
114 + " with " + "destination image size " + dstSize); in imageCopy()
/frameworks/av/media/libstagefright/include/
DSoftVideoEncoderOMXComponent.h66 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp372 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
373 char* dst = new char[dstSize]; in getCameraIdList()
379 strlcpy(dst, src, dstSize); in getCameraIdList()
/frameworks/support/core-ui/java/android/support/v4/widget/
DAutoScrollHelper.java537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument
549 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.cpp523 uint8_t *dst, size_t dstSize, in extractGraphicBuffer() argument
589 if (dstSize < neededSize) { in extractGraphicBuffer()
590 ALOGE("destination buffer is too small (%zu vs %zu)", dstSize, neededSize); in extractGraphicBuffer()
/frameworks/native/cmds/installd/
Dutils.cpp872 const size_t dstSize = dst->len + 1; in copy_and_append() local
873 dst->path = (char*) malloc(dstSize); in copy_and_append()
876 || snprintf(dst->path, dstSize, "%s%s", src->path, suffix) in copy_and_append()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp719 size_t dstSize = 0; in read() local
773 dstSize = dstOffset; in read()
775 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
780 buffer = new MediaBuffer(dstSize); in read()