Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/
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()
174 ASSERT_EQ(mEleStream.gcount(), bytesCount) << "mEleStream.gcount() != 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()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp39 int bytesCount; member
377 int size = (*Info)[frameID].bytesCount; in decodeNFrames()
450 int bytesCount = 0; in TEST_P() local
457 if (!(eleInfo >> bytesCount)) break; in TEST_P()
464 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
540 int bytesCount = 0; in TEST_F() local
545 if (!(eleInfo >> bytesCount)) break; in TEST_F()
549 Info.push_back({bytesCount, flags, timestamp}); in TEST_F()
634 int bytesCount = 0; in TEST_F() local
638 if (!(eleInfo >> bytesCount)) break; in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp293 int bytesCount = nWidth * nHeight * 3 >> 1; in encodeNFrames() local
329 char* data = (char*)malloc(bytesCount); in encodeNFrames()
331 memset(data, 0, bytesCount); in encodeNFrames()
333 eleStream.read(data, bytesCount); in encodeNFrames()
334 ASSERT_EQ(eleStream.gcount(), bytesCount); in encodeNFrames()
374 ALOGV("Frame #%d size = %d queued", frameID, bytesCount); in encodeNFrames()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp40 int bytesCount; member
439 int size = (*Info)[frameID].bytesCount; in decodeNFrames()
529 int bytesCount = 0; in TEST_P() local
533 if (!(eleInfo >> bytesCount)) break; in TEST_P()
540 Info.push_back({bytesCount, flags, timestamp}); in TEST_P()
642 int bytesCount = 0; in TEST_F() local
646 if (!(eleInfo >> bytesCount)) break; in TEST_F()
649 Info.push_back({bytesCount, flags, timestamp}); in TEST_F()
743 int bytesCount = 0; in TEST_F() local
748 if (!(eleInfo >> bytesCount)) break; in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp292 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames() local
327 char* data = (char*)malloc(bytesCount); in encodeNFrames()
329 eleStream.read(data, bytesCount); in encodeNFrames()
330 ASSERT_EQ(eleStream.gcount(), bytesCount); in encodeNFrames()
333 bytesCount, {C2MemoryUsage::CPU_READ, in encodeNFrames()
343 ASSERT_EQ((size_t)bytesCount, view.capacity()); in encodeNFrames()
345 ASSERT_EQ((size_t)bytesCount, view.size()); in encodeNFrames()
347 memcpy(view.base(), data, bytesCount); in encodeNFrames()
359 ALOGV("Frame #%d size = %d queued", frameID, bytesCount); in encodeNFrames()
/frameworks/av/media/tests/benchmark/src/native/decoder/
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()
/frameworks/av/media/libstagefright/flac/dec/test/
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()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); in android_view_TextureView_lockCanvas() local
162 bitmap.setInfo(convertPixelFormat(buffer), bytesCount); in android_view_TextureView_lockCanvas()
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp194 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_graphics_GraphicBuffer_lockCanvas() local
200 bytesCount); in android_graphics_GraphicBuffer_lockCanvas()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp203 int32_t bytesCount = 0; in getInputBufferInfo() local
208 if (!(eleInfo >> bytesCount)) break; in getInputBufferInfo()
211 mBufferInfo[idx].push_back({bytesCount, flags, timestamp}); in getInputBufferInfo()