• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2011 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /**
18 *************************************************************************
19  * @file    M4AD_Null.h
20  * @brief    Implementation of the decoder public interface that do nothing
21  * @note    This file defines the getInterface function.
22 *************************************************************************
23 */
24 #ifndef __M4AD_NULL_H__
25 #define __M4AD_NULL_H__
26 
27 #include "M4AD_Common.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 
34 /**
35  ************************************************************************
36  * @brief Retrieves the interface implemented by the decoder
37  * @param pDecoderType        : pointer on an M4AD_Type (allocated by the caller)
38  *                              that will be filled with the decoder type supported by this decoder
39  * @param pDecoderInterface   : address of a pointer that will be set to the interface implemented
40  *                              by this decoder. The interface is a structure allocated by the
41  *                              function and must be un-allocated by the caller.
42  *
43  * @return : M4NO_ERROR  if OK
44  *           M4ERR_ALLOC if allocation failed
45  ************************************************************************
46 */
47 M4OSA_ERR M4AD_NULL_getInterface( M4AD_Type *pDecoderType, M4AD_Interface **pDecoderInterface);
48 
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52 
53 #endif /*__M4AD_NULL_H__*/
54 
55