diff -r ebf79c79991a -r 5e8b14bae8c3 khronosfws/openmax_al/src/gst_adaptation/xacameraadaptctx.h --- a/khronosfws/openmax_al/src/gst_adaptation/xacameraadaptctx.h Fri Jun 25 17:36:03 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -#ifndef XACAMERAADAPTCTX_H -#define XACAMERAADAPTCTX_H - -#include "xaadaptationgst.h" -#ifdef OMAX_CAMERABIN -#include -#endif -/* TYPEDEFS */ - -typedef struct XACameraAdaptationCtx_ XACameraAdaptationCtx; - -/* - * Structure for Camera specific gst-adaptation variables - */ -typedef struct XACameraAdaptationCtx_ { - - /* Parent*/ - XAAdaptationGstCtx_ baseObj; - - /* OMX-AL Variables */ - XAuint32 deviceID; - XAuint32 imageEffectID; - XAmillidegree curRotation; - XAuint32 curMirror; - - /* GST Variables */ -#ifdef OMAX_CAMERABIN - GstFocusStatus focusStatus; -#endif - /* Internals */ - XAboolean recording; - XAboolean playing; - XAboolean snapshotting; -} XACameraAdaptationCtx_; - -/* FUNCTIONS */ -XAAdaptationBaseCtx* XACameraAdapt_Create(XAuint32 deviceID); -XAresult XACameraAdapt_PostInit(XAAdaptationBaseCtx* bCtx); -void XACameraAdapt_Destroy(XAAdaptationBaseCtx* bCtx); - -#endif /* XACAMERAADAPTCTX_H */