Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h55 struct CodecListener : public android::Codec2Client::Listener { struct
59 : callBack(fn) {} in callBack()
60 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
68 virtual void onTripped( in onTripped()
76 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()
89 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
95 virtual void onFrameRendered(uint64_t bufferQueueId, int32_t slotId, in onFrameRendered()
105 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
/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;