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.cpp173 size_t dstSize; in readSampleData() local
194 dstSize = (size_t) env->GetArrayLength(byteArray); in readSampleData()
196 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
199 if (dstSize < offset) { in readSampleData()
207 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset); in readSampleData()
/frameworks/base/media/java/android/media/
DImageUtils.java118 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); in imageCopy() local
119 if (!srcSize.equals(dstSize)) { in imageCopy()
121 + " with " + "destination image size " + dstSize); in imageCopy()
/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/av/camera/ndk/impl/
DACameraManager.cpp455 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
456 char* dst = new char[dstSize]; in getCameraIdList()
462 strlcpy(dst, src, dstSize); in getCameraIdList()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp481 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
482 char* dst = new char[dstSize]; in getCameraIdList()
488 strlcpy(dst, src, dstSize); in getCameraIdList()
/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.cpp1123 size_t dstSize = 0; in read() local
1177 dstSize = dstOffset; in read()
1179 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
1185 &buffer, false /* nonblocking */, dstSize /* requested size */); in read()
1186 buffer->set_range(0, dstSize); in read()
/frameworks/av/media/libstagefright/
DACodec.cpp7898 size_t dstSize = sizeof(config->param[paramIndex].cString); in setVendorParameters() local
7899 strncpy((char *)config->param[paramIndex].cString, value.c_str(), dstSize - 1); in setVendorParameters()
7901 config->param[paramIndex].cString[dstSize - 1] = '\0'; in setVendorParameters()