Home
last modified time | relevance | path

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

/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 …]