Home
last modified time | relevance | path

Searched refs:bytesCount (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/av/media/codecs/m4v_h263/dec/test/
H A DMpeg4H263DecoderTest.cpp44 int32_t bytesCount; member
169 int32_t bytesCount = Info[frameIndex].bytesCount; in processMpeg4H263Decoder() local
170 ASSERT_GT(bytesCount, 0) << "Size for the memory allocation is negative"; in processMpeg4H263Decoder()
171 mInputBuffer = (char *)malloc(bytesCount); in processMpeg4H263Decoder()
173 mEleStream.read(mInputBuffer, bytesCount); in processMpeg4H263Decoder()
190 volSize = bytesCount; in processMpeg4H263Decoder()
249 int32_t inputSize = (Info)[frameIndex].bytesCount; in processMpeg4H263Decoder()
300 int32_t bytesCount = 0; in getInfo() local
304 if (!(eleInfo >> bytesCount)) { in getInfo()
309 Info.push_back({bytesCount, flags, timestamp}); in getInfo()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DInterruptableOutputStream.java47 int bytesCount = Math.min(MAX_WRITE_BYTES, end - offset); in write() local
48 mOutputStream.write(buffer, offset, bytesCount); in write()
49 offset += bytesCount; in write()
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/video/
H A DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp782 int bytesCount = 0, maxBytesCount = 0; in TEST_P() local
787 if (!(eleInfo >> bytesCount)) break; in TEST_P()
793 if (maxBytesCount < bytesCount) maxBytesCount = bytesCount; in TEST_P()
952 int bytesCount = 0; in TEST_P() local
1101 int bytesCount = 0, maxBytesCount = 0; in TEST_P() local
1105 if (!(eleInfo >> bytesCount)) break; in TEST_P()
1109 if (maxBytesCount < bytesCount) maxBytesCount = bytesCount; in TEST_P()
1222 int bytesCount = 0, maxBytesCount = 0; in TEST_P() local
1230 if (maxBytesCount < bytesCount) maxBytesCount = bytesCount; in TEST_P()
1329 int bytesCount = 0, maxBytesCount = 0; in TEST_P() local
[all …]
H A DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp868 uint32_t xFramerate, int bytesCount, in encodeNFrames() argument
935 bytesCount, in encodeNFrames()
943 omxNode, iBuffer, index, bytesCount, flags, timestamp)); in encodeNFrames()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
H A DVtsHalMediaC2V1_0TargetAudioEncTest.cpp334 uint32_t bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames() local
344 nFrames = std::min(nFrames, remainingBytes / bytesCount); in encodeNFrames()
375 char* data = (char*)malloc(bytesCount); in encodeNFrames()
377 eleStream.read(data, bytesCount); in encodeNFrames()
379 if (eleStream.gcount() < bytesCount) { in encodeNFrames()
380 bytesCount = eleStream.gcount(); in encodeNFrames()
395 ASSERT_EQ((size_t)bytesCount, view.capacity()); in encodeNFrames()
397 ASSERT_EQ((size_t)bytesCount, view.size()); in encodeNFrames()
399 memcpy(view.base(), data, bytesCount); in encodeNFrames()
619 if (fileSize < bytesCount) { in TEST_P()
[all …]
H A DVtsHalMediaC2V1_0TargetAudioDecTest.cpp355 int size = (*Info)[frameID].bytesCount; in decodeNFrames()
654 eleStream.ignore(Info[index].bytesCount); in TEST_P()
684 int bytesCount = 0; in TEST_P() local
697 bytesCount = 0; in TEST_P()
699 if (!(eleInfo >> bytesCount)) break; in TEST_P()
704 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
/aosp12/frameworks/av/media/tests/benchmark/src/native/decoder/
H A DDecoder.cpp33 ssize_t bytesCount = frameInfo[frameID].size; in readSampleData() local
34 if (bufSize < bytesCount) { in readSampleData()
39 memcpy(buf, inputBuffer + offset, bytesCount); in readSampleData()
40 offset += bytesCount; in readSampleData()
41 return make_tuple(bytesCount, flags, timestamp); in readSampleData()
/aosp12/frameworks/av/media/libstagefright/flac/dec/test/
H A DFlacDecoderTest.cpp36 int32_t bytesCount; member
73 int32_t bytesCount = 0; in getInfo() local
77 if (!(eleInfo >> bytesCount)) break; in getInfo()
80 Info.push_back({bytesCount, flags, timestamp}); in getInfo()
99 int32_t size = (Info)[frameID].bytesCount; in processFlacDecoder()
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/audio/
H A DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp621 ASSERT_LE((*Info)[frameID].bytesCount, in decodeNFrames()
713 int bytesCount = 0; in TEST_P() local
718 if (!(eleInfo >> bytesCount)) break; in TEST_P()
721 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
866 int bytesCount = 0; in TEST_P() local
870 if (!(eleInfo >> bytesCount)) break; in TEST_P()
980 int bytesCount = 0; in TEST_P() local
984 if (!(eleInfo >> bytesCount)) break; in TEST_P()
1072 int bytesCount = 0; in TEST_P() local
1076 if (!(eleInfo >> bytesCount)) break; in TEST_P()
[all …]
H A DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp318 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames() local
339 ASSERT_LE(bytesCount, in encodeNFrames()
341 eleStream.read(ipBuffer, bytesCount); in encodeNFrames()
342 if (eleStream.gcount() != bytesCount) break; in encodeNFrames()
346 omxNode, iBuffer, index, bytesCount, flags, timestamp)); in encodeNFrames()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
H A DVtsHalMediaC2V1_0TargetVideoDecTest.cpp476 int size = (*Info)[frameID].bytesCount; in decodeNFrames()
710 int bytesCount = 0; in TEST_P() local
715 if (!(eleInfo >> bytesCount)) break; in TEST_P()
719 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
917 eleStream.ignore(Info[index].bytesCount); in TEST_P()
947 int bytesCount = 0; in TEST_P() local
960 bytesCount = 0; in TEST_P()
962 if (!(eleInfo >> bytesCount)) break; in TEST_P()
967 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
1056 eleStream.ignore(Info[offset].bytesCount); in TEST_P()
H A DVtsHalMediaC2V1_0TargetVideoEncTest.cpp335 int bytesCount = nWidth * nHeight * 3 >> 1; in encodeNFrames() local
375 std::vector<uint8_t> buffer(bytesCount); in encodeNFrames()
388 eleStream.read(data, bytesCount); in encodeNFrames()
389 ASSERT_EQ(eleStream.gcount(), bytesCount); in encodeNFrames()
430 ALOGV("Frame #%d size = %d queued", frameID, bytesCount); in encodeNFrames()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
H A Dmedia_c2_hidl_test_common.cpp225 int32_t bytesCount = 0; in populateInfoVector() local
229 if (!(eleInfo >> bytesCount)) break; in populateInfoVector()
238 frameInfo->push_back({bytesCount, flags, timestamp}); in populateInfoVector()
H A Dmedia_c2_hidl_test_common.h53 int bytesCount; member
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/common/
H A Dmedia_hidl_test_common.h125 int bytesCount; member
364 size_t bufferIndex, int bytesCount, uint32_t flags,
H A Dmedia_hidl_test_common.cpp577 size_t bufferIndex, int bytesCount, uint32_t flags, in dispatchInputBuffer() argument
590 t.attr.preset.rangeLength = bytesCount; in dispatchInputBuffer()
/aosp12/frameworks/av/media/libstagefright/tests/writer/
H A DWriterTest.cpp213 int32_t bytesCount = 0; in getInputBufferInfo() local
218 if (!(eleInfo >> bytesCount)) break; in getInputBufferInfo()
221 mBufferInfo[idx].push_back({bytesCount, flags, timestamp}); in getInputBufferInfo()
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/
H A Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...