khronosfws/openmax_al/src/mediarecorder/xavideoencoderitf.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 36 73253677b50a
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XAVIDEOENCODERITF_H
       
    19 #define XAVIDEOENCODERITF_H
       
    20 
       
    21 
       
    22 #include "xamediarecorder.h"
       
    23 /** MACROS **/
       
    24 
       
    25 /** TYPES **/
       
    26 
       
    27 /** ENUMERATIONS **/
       
    28 
       
    29 /** STRUCTURES **/
       
    30 /* Definition of XAVideoEncoderItf implementation */
       
    31 typedef struct XAVideoEncoderItfImpl_
       
    32 {
       
    33     /* parent interface */
       
    34     struct XAVideoEncoderItf_ itf;
       
    35     /* pointer to self */
       
    36     struct XAVideoEncoderItfImpl_* self;
       
    37 
       
    38     /* variables */
       
    39     XAAdaptationBaseCtx *adaptCtx;
       
    40 
       
    41 } XAVideoEncoderItfImpl;
       
    42 
       
    43 /** METHODS **/
       
    44 
       
    45 /* Base interface XAVideoEncoderItf implementation
       
    46  * See API Specification for method documentation
       
    47  */
       
    48 XAresult XAVideoEncoderItfImpl_SetVideoSettings(XAVideoEncoderItf self,
       
    49                                                 XAVideoSettings *pSettings);
       
    50 
       
    51 XAresult XAVideoEncoderItfImpl_GetVideoSettings(XAVideoEncoderItf self,
       
    52                                                 XAVideoSettings *pSettings);
       
    53 
       
    54 
       
    55 /* XAVideoEncoderItfImpl -specific methods */
       
    56 XAVideoEncoderItfImpl* XAVideoEncoderItfImpl_Create( XAMediaRecorderImpl* impl );
       
    57 void XAVideoEncoderItfImpl_Free(XAVideoEncoderItfImpl* self);
       
    58 
       
    59 #endif /* XAVIDEOENCODERITF_H */