/hardware/google/av/codec2/hidl/1.0/mts/video/ |
D | MtsHidlC2V1_0TargetVideoDecTest.cpp | 335 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 …]
|
D | MtsHidlC2V1_0TargetVideoEncTest.cpp | 251 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/ |
D | MtsHidlC2V1_0TargetAudioDecTest.cpp | 394 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 …]
|
D | MtsHidlC2V1_0TargetAudioEncTest.cpp | 268 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/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 590 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 …]
|
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 313 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/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 543 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 …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 631 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 …]
|