Home
last modified time | relevance | path

Searched refs:dstSize (Results 1 – 11 of 11) 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()
208 if (dstSize < offset) { in readSampleData()
217 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset); in readSampleData()
Dandroid_media_tv_Tuner.cpp3502 jsize dstSize = env->GetArrayLength(jdstIpAddress); in getDemuxIpAddress() local
3506 if (srcSize != dstSize) { in getDemuxIpAddress()
3509 "IP address lengths don't match. srcLength=%d, dstLength=%d", srcSize, dstSize); in getDemuxIpAddress()
3519 env->GetByteArrayRegion(jdstIpAddress, 0, dstSize, reinterpret_cast<jbyte *>(&dstAddr[0])); in getDemuxIpAddress()
3528 env->GetByteArrayRegion(jdstIpAddress, 0, dstSize, reinterpret_cast<jbyte *>(&dstAddr[0])); in getDemuxIpAddress()
/frameworks/base/media/java/android/media/
DImageUtils.java157 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); in imageCopy() local
158 if (!srcSize.equals(dstSize)) { in imageCopy()
160 + " 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/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/camera/ndk/impl/
DACameraManager.cpp772 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
773 char* dst = new char[dstSize]; in getCameraIdList()
779 strlcpy(dst, src, dstSize); in getCameraIdList()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp730 size_t dstSize = strlen(src) + 1; in getCameraIdList() local
731 char* dst = new char[dstSize]; in getCameraIdList()
737 strlcpy(dst, src, dstSize); in getCameraIdList()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1138 size_t dstSize = 0; in read() local
1192 dstSize = dstOffset; in read()
1194 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
1200 &buffer, false /* nonblocking */, dstSize /* requested size */); in read()
1201 buffer->set_range(0, dstSize); in read()
/frameworks/av/media/libstagefright/
DACodec.cpp8451 size_t dstSize = sizeof(config->param[paramIndex].cString); in setVendorParameters() local
8452 strncpy((char *)config->param[paramIndex].cString, value.c_str(), dstSize - 1); in setVendorParameters()
8454 config->param[paramIndex].cString[dstSize - 1] = '\0'; in setVendorParameters()