Home
last modified time | relevance | path

Searched refs:filledCount (Results 1 – 12 of 12) 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
81 filledCount = (temp - buf); in ReadOnePacket()
88 bool CodecMpeg4Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() argument
115 filledCount = (temp - buf); in ReadOnePacket()
122 bool CodecVp9Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() argument
126 filledCount = 0; in ReadOnePacket()
127 ioIn.read(reinterpret_cast<char *>(&filledCount), sizeof(filledCount)); in ReadOnePacket()
131 filledCount = ntohl(filledCount); in ReadOnePacket()
132 ioIn.read(buf, filledCount); in ReadOnePacket()
Dcodec_hdi_encode.cpp77 bool CodecHdiEncode::ReadOneFrame(char *buf, uint32_t &filledCount) in ReadOneFrame() argument
80 filledCount = ioIn_.read(buf, GetInputBufferSize()).gcount(); in ReadOneFrame()
/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;
Dcodec_hdi_encode.h106 bool ReadOneFrame(char *buf, uint32_t &filledCount);
/drivers/peripheral/codec/test/demo/adapter/include/
Dcodec_hdi_adapter_decode.h105 bool ReadOnePacket(FILE *fp, uint8_t *buf, uint32_t &filledCount);
106 bool ReadOneFrameFromFile(FILE *fp, uint8_t *buf, uint32_t &filledCount);
Dcodec_hdi_adapter_encode.h111 bool ReadOneFrame(FILE *fp, char *buf, uint32_t &filledCount);
/drivers/peripheral/codec/test/demo/adapter/src/
Dcodec_hdi_adapter_decode.cpp100 bool CodecHdiAdapterDecode::ReadOnePacket(FILE *fp, uint8_t *buf, uint32_t &filledCount) in ReadOnePacket() argument
102 filledCount = fread(buf, 1, inputBufferSize_, fp); in ReadOnePacket()
103 if (filledCount <= 0) { in ReadOnePacket()
109 bool CodecHdiAdapterDecode::ReadOneFrameFromFile(FILE *fp, uint8_t *buf, uint32_t &filledCount) in ReadOneFrameFromFile() argument
141 filledCount = readSize; in ReadOneFrameFromFile()
Dcodec_hdi_adapter_encode.cpp86 bool CodecHdiAdapterEncode::ReadOneFrame(FILE *fp, char *buf, uint32_t &filledCount) in ReadOneFrame() argument
89 filledCount = fread(buf, 1, (stride_ * height_ * NUMERATOR) / DENOMINATOR, fp); in ReadOneFrame()
90 totalSrcSize_ += filledCount; in ReadOneFrame()
/drivers/peripheral/codec/test/demo/idl/include/
Dcodec_hdi_encode.h83 bool ReadOneFrame(FILE *fp, char *buf, uint32_t &filledCount);
Dcodec_hdi_decode.h95 bool ReadOnePacket(FILE *fp, char *buf, uint32_t &filledCount);
/drivers/peripheral/codec/test/demo/idl/src/
Dcodec_hdi_encode.cpp77 bool CodecHdiEncode::ReadOneFrame(FILE *fp, char *buf, uint32_t &filledCount) in ReadOneFrame() argument
89 filledCount = static_cast<uint32_t>(t); in ReadOneFrame()
Dcodec_hdi_decode.cpp90 bool CodecHdiDecode::ReadOnePacket(FILE *fp, char *buf, uint32_t &filledCount) in ReadOnePacket() argument
122 filledCount = (temp - buf); in ReadOnePacket()