1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "v3_0/codec_callback_service.h"
17 #include <hdf_base.h>
18 
19 namespace OHOS {
20 namespace HDI {
21 namespace Codec {
22 namespace V3_0 {
EventHandler(CodecEventType event,const EventInfo & info)23 int32_t CodecCallbackService::EventHandler(CodecEventType event, const EventInfo &info)
24 {
25     (void)event;
26     (void)info;
27     return HDF_SUCCESS;
28 }
29 
EmptyBufferDone(int64_t appData,const OmxCodecBuffer & buffer)30 int32_t CodecCallbackService::EmptyBufferDone(int64_t appData, const OmxCodecBuffer& buffer)
31 {
32     (void)appData;
33     (void)buffer;
34     return HDF_SUCCESS;
35 }
36 
FillBufferDone(int64_t appData,const OmxCodecBuffer & buffer)37 int32_t CodecCallbackService::FillBufferDone(int64_t appData, const OmxCodecBuffer& buffer)
38 {
39     (void)appData;
40     (void)buffer;
41     return HDF_SUCCESS;
42 }
43 } // V3_0
44 } // Codec
45 } // HDI
46 } // OHOS
47