khronosfws/openmax_al/src/adaptation/xamediarecorderadaptctx.h
changeset 16 43d09473c595
parent 14 80975da52420
child 22 128eb6a32b84
equal deleted inserted replaced
14:80975da52420 16:43d09473c595
     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 XAMEDIARECORDERADAPTCTX_H_
       
    19 #define XAMEDIARECORDERADAPTCTX_H_
       
    20 
       
    21 #include "XAAdaptationContextBase.h"
       
    22 
       
    23 
       
    24 /* TYPEDEFS */
       
    25 #define XA_RECMODE_STREAM 1
       
    26 #define XA_RECMODE_STILL 2
       
    27 
       
    28 typedef struct XAMediaRecorderAdaptationCtx_ XAMediaRecorderAdaptationCtx;
       
    29 
       
    30 /* FUNCTIONS */
       
    31 XAAdaptationBaseCtx* XAMediaRecorderAdapt_Create(  XADataSource* pAudioSrc, XADataSource* pImageVideoSrc, XADataSink* pDataSnk, XAuint8 recModes );
       
    32 XAresult XAMediaRecorderAdapt_PostInit( XAAdaptationBaseCtx* bCtx );
       
    33 void XAMediaRecorderAdapt_Destroy( XAAdaptationBaseCtx* bCtx );
       
    34 XAresult XAMediaRecorderAdapt_InitContentPipeSink(XAMediaRecorderAdaptationCtx* ctx);
       
    35 void*  XAMediaRecorderAdapt_RecordEventThr(void* ctx);
       
    36 
       
    37 #endif /* XAMEDIARECORDERADAPTCTX_H_ */