Home
last modified time | relevance | path

Searched refs:ioIn (Results 1 – 2 of 2) sorted by relevance

/drivers/peripheral/codec/test/demo/v2.0/src/
Dcodec_packet_reader.cpp51 bool CodecH264Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() argument
54 ioIn.read(buf, START_CODE_SIZE_FRAME); in ReadOnePacket()
55 if (ioIn.eof()) { in ReadOnePacket()
62 while (!ioIn.eof()) { in ReadOnePacket()
63 ioIn.read(temp, 1); in ReadOnePacket()
68 ioIn.seekg(-START_CODE_SIZE_FRAME, std::ios_base::cur); in ReadOnePacket()
73 ioIn.seekg(-START_CODE_SIZE_SLICE, std::ios_base::cur); in ReadOnePacket()
88 bool CodecMpeg4Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() argument
90 ioIn.read(buf, START_CODE_SIZE_SLICE); in ReadOnePacket()
91 if (ioIn.eof()) { in ReadOnePacket()
[all …]
/drivers/peripheral/codec/test/demo/v2.0/include/
Dcodec_packet_reader.h28 virtual bool ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) = 0;
39 bool ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) override;
48 bool ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) override;
57 bool ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) override;