Home
last modified time | relevance | path

Searched defs:CodecListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h58 struct CodecListener : public android::Codec2Client::Listener { struct
62 : callBack(fn) {} in callBack()
63 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component> &comp, in onWorkDone()
70 virtual void onTripped( in onTripped()
77 virtual void onError(const std::weak_ptr<android::Codec2Client::Component> &comp, in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component> &comp) override { in onDeath()
88 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
93 virtual void onFrameRendered(uint64_t bufferQueueId, int32_t slotId, in onFrameRendered()
100 std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> callBack;
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h85 struct CodecListener : public android::Codec2Client::Listener { struct
89 : callBack(fn) {} in callBack()
90 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
97 virtual void onTripped( in onTripped()
105 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
112 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
117 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
123 virtual void onFrameRendered(uint64_t bufferQueueId, int32_t slotId, in onFrameRendered()
133 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp38 struct CodecListener : public C2Component::Listener { struct
40 CodecListener(const std::function<void(std::weak_ptr<C2Component> comp, in CodecListener() argument
44 virtual void onWorkDone_nb(const std::weak_ptr<C2Component> comp, in onWorkDone_nb()
51 virtual void onTripped_nb(const std::weak_ptr<C2Component> comp, in onTripped_nb()
57 virtual void onError_nb(const std::weak_ptr<C2Component> comp, uint32_t errorCode) { in onError_nb()
63 std::list<std::unique_ptr<C2Work>>& workItems)> callBack;