Home
last modified time | relevance | path

Searched refs:eleStream (Results 1 – 8 of 8) sorted by relevance

/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoDecTest.cpp335 std::ifstream& eleStream, in decodeNFrames() argument
377 eleStream.read(data, size); in decodeNFrames()
378 ASSERT_EQ(eleStream.gcount(), size); in decodeNFrames()
430 std::ifstream eleStream, eleInfo; in TEST_F() local
456 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
457 ASSERT_EQ(eleStream.is_open(), true); in TEST_F()
460 mLinearPool, eleStream, &Info, 0, (int)Info.size())); in TEST_F()
470 eleStream.close(); in TEST_F()
499 std::ifstream eleStream, eleInfo; in TEST_F() local
533 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
[all …]
DMtsHidlC2V1_0TargetVideoEncTest.cpp251 std::ifstream& eleStream, uint32_t frameID, in encodeNFrames() argument
295 if (eleStream.is_open()) { in encodeNFrames()
296 eleStream.read(data, bytesCount); in encodeNFrames()
297 ASSERT_EQ(eleStream.gcount(), bytesCount); in encodeNFrames()
358 std::ifstream eleStream; in TEST_F() local
359 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
360 ASSERT_EQ(eleStream.is_open(), true) << mURL << " file not found"; in TEST_F()
371 mFlushedIndices, mGraphicPool, eleStream, in TEST_F()
380 eleStream.close(); in TEST_F()
454 std::ifstream eleStream; in TEST_F() local
[all …]
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioDecTest.cpp394 std::ifstream& eleStream, in decodeNFrames() argument
435 eleStream.read(data, size); in decodeNFrames()
436 ASSERT_EQ(eleStream.gcount(), size); in decodeNFrames()
501 std::ifstream eleStream, eleInfo; in TEST_F() local
534 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
535 ASSERT_EQ(eleStream.is_open(), true); in TEST_F()
538 mLinearPool, eleStream, &Info, 0, (int)Info.size())); in TEST_F()
543 eleStream.close(); in TEST_F()
587 std::ifstream eleStream, eleInfo; in TEST_F() local
626 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
[all …]
DMtsHidlC2V1_0TargetAudioEncTest.cpp268 std::ifstream& eleStream, uint32_t nFrames, in encodeNFrames() argument
313 eleStream.read(data, bytesCount); in encodeNFrames()
314 ASSERT_EQ(eleStream.gcount(), bytesCount); in encodeNFrames()
400 std::ifstream eleStream; in TEST_F() local
402 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
403 ASSERT_EQ(eleStream.is_open(), true); in TEST_F()
407 mFlushedIndices, mLinearPool, eleStream, numFrames, in TEST_F()
413 eleStream.close(); in TEST_F()
514 std::ifstream eleStream; in TEST_F() local
517 eleStream.open(mURL, std::ifstream::binary); in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp590 OMX_U32 kPortIndexOutput, std::ifstream& eleStream, in decodeNFrames() argument
623 eleStream.read(ipBuffer, (*Info)[frameID].bytesCount); in decodeNFrames()
624 ASSERT_EQ(eleStream.gcount(), (*Info)[frameID].bytesCount); in decodeNFrames()
708 std::ifstream eleStream, eleInfo; in TEST_P() local
754 eleStream.open(mURL, std::ifstream::binary); in TEST_P()
755 ASSERT_EQ(eleStream.is_open(), true); in TEST_P()
758 kPortIndexOutput, eleStream, &Info, 0, (int)Info.size(), compName)); in TEST_P()
759 eleStream.close(); in TEST_P()
861 std::ifstream eleStream, eleInfo; in TEST_P() local
908 eleStream.open(mURL, std::ifstream::binary); in TEST_P()
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp313 int32_t nSampleRate, std::ifstream& eleStream, in encodeNFrames() argument
341 eleStream.read(ipBuffer, bytesCount); in encodeNFrames()
342 if (eleStream.gcount() != bytesCount) break; in encodeNFrames()
417 std::ifstream eleStream; in TEST_P() local
469 eleStream.open(mURL, std::ifstream::binary); in TEST_P()
470 ASSERT_EQ(eleStream.is_open(), true); in TEST_P()
473 nSampleRate, eleStream)); in TEST_P()
474 eleStream.close(); in TEST_P()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp543 std::ifstream& eleStream, android::Vector<FrameData>* Info, in decodeNFrames() argument
574 eleStream.read(ipBuffer, (*Info)[frameID].bytesCount); in decodeNFrames()
575 ASSERT_EQ(eleStream.gcount(), (*Info)[frameID].bytesCount); in decodeNFrames()
776 std::ifstream eleStream, eleInfo; in TEST_P() local
839 eleStream.open(mURL, std::ifstream::binary); in TEST_P()
840 ASSERT_EQ(eleStream.is_open(), true); in TEST_P()
843 kPortIndexOutput, eleStream, &Info, 0, (int)Info.size(), portMode[1])); in TEST_P()
844 eleStream.close(); in TEST_P()
943 std::ifstream eleStream, eleInfo; in TEST_P() local
969 eleStream.open(mURL, std::ifstream::binary); in TEST_P()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp631 std::ifstream& eleStream) { in colorFormatConversion() argument
638 return std::visit([buffer, buff, format, &eleStream](auto&& mapper) -> int { in colorFormatConversion()
674 eleStream.read(img, size); in colorFormatConversion()
675 if (eleStream.gcount() != size) { in colorFormatConversion()
735 eleStream.read(ipBuffer, rect.width * 4); in colorFormatConversion()
736 if (eleStream.gcount() != rect.width * 4) return 1; in colorFormatConversion()
760 std::ifstream& eleStream) { in fillGraphicBuffer() argument
767 return std::visit([buffer, format, &eleStream](auto&& mapper) -> int { in fillGraphicBuffer()
783 if (colorFormatConversion(buffer, buff, format, eleStream)) return 1; in fillGraphicBuffer()
798 OMX_U32 portIndex, std::ifstream& eleStream, in dispatchGraphicBuffer() argument
[all …]