Home
last modified time | relevance | path

Searched defs:CodecListener (Results 1 – 2 of 2) 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/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h50 struct CodecListener : public android::Codec2Client::Listener { struct
55 : callBack(fn) {} in callBack()
56 virtual void onWorkDone( in onWorkDone()
65 virtual void onTripped( in onTripped()
74 virtual void onError( in onError()
83 virtual void onDeath( in onDeath()
89 virtual void onInputBufferDone( in onInputBufferDone()
96 virtual void onFrameRendered( in onFrameRendered()
108 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;