Home
last modified time | relevance | path

Searched refs:BufferSource (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/module/extractors/fuzzers/include/
DExtractorFuzzerBase.h76 class BufferSource : public DataSource {
78 BufferSource(const uint8_t* data, size_t length) : mData(data), mLength(length) {} in BufferSource() function
79 virtual ~BufferSource() { mData = nullptr; } in ~BufferSource()
125 DISALLOW_EVIL_CONSTRUCTORS(BufferSource);
128 sp<BufferSource> mBufferSource;
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp26 uint32_t WriterFuzzerBase::BufferSource::getNumTracks() { in getNumTracks()
35 bool WriterFuzzerBase::BufferSource::searchForMarker(size_t startIndex) { in searchForMarker()
48 ConfigFormat WriterFuzzerBase::BufferSource::getConfigFormat(int32_t trackIndex) { in getConfigFormat()
52 int32_t WriterFuzzerBase::BufferSource::getNumCsds(int32_t trackIndex) { in getNumCsds()
56 vector<FrameData> &WriterFuzzerBase::BufferSource::getFrameList(int32_t trackIndex) { in getFrameList()
60 void WriterFuzzerBase::BufferSource::getFrameInfo() { in getFrameInfo()
110 bool WriterFuzzerBase::BufferSource::getTrackInfo(int32_t trackIndex) { in getTrackInfo()
281 mBufferSource = new BufferSource(data, size); in initFileWriterAndProcessData()
/frameworks/av/media/libstagefright/writer_fuzzers/include/
DWriterFuzzerBase.h156 class BufferSource {
158 BufferSource(const uint8_t* data, size_t size) : mData(data), mSize(size), mReadIndex(0) {} in BufferSource() function
159 ~BufferSource() { in ~BufferSource()
200 BufferSource* mBufferSource = nullptr;
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.h61 class BufferSource {
63 BufferSource(const uint8_t* data, size_t size) : mData(data), mSize(size) { in BufferSource() function
66 ~BufferSource() { in ~BufferSource()
DC2Fuzzer.cpp69 bool Codec2Fuzzer::BufferSource::searchForMarker() { in searchForMarker()
82 void Codec2Fuzzer::BufferSource::parse() { in parse()
116 FrameData Codec2Fuzzer::BufferSource::getFrame() { in getFrame()
243 std::unique_ptr<BufferSource> bufferSource = std::make_unique<BufferSource>(data, size); in decodeFrames()
/frameworks/av/media/module/extractors/fuzzers/
DExtractorFuzzerBase.cpp29 mBufferSource = new BufferSource(data, size); in setDataSource()
DREADME.md22 `BufferSource` since the fuzzing engine feeds data using memory buffers and