os/graphics/graphicscomposition/openwfcompositionengine/composition/include/wfcimageprovider.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/graphicscomposition/openwfcompositionengine/composition/include/wfcimageprovider.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,64 @@
1.4 +/* Copyright (c) 2009 The Khronos Group Inc.
1.5 + * Portions copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies)
1.6 + *
1.7 + * Permission is hereby granted, free of charge, to any person obtaining a
1.8 + * copy of this software and/or associated documentation files (the
1.9 + * "Materials"), to deal in the Materials without restriction, including
1.10 + * without limitation the rights to use, copy, modify, merge, publish,
1.11 + * distribute, sublicense, and/or sell copies of the Materials, and to
1.12 + * permit persons to whom the Materials are furnished to do so, subject to
1.13 + * the following conditions:
1.14 + *
1.15 + * The above copyright notice and this permission notice shall be included
1.16 + * in all copies or substantial portions of the Materials.
1.17 + *
1.18 + * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1.19 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1.20 + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1.21 + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1.22 + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1.23 + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1.24 + * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
1.25 + */
1.26 +/*! \ingroup wfc
1.27 + * \file wfcimageprovider.h
1.28 + *
1.29 + * \brief Routines for image providers
1.30 + */
1.31 +
1.32 +#ifndef WFCIMAGEPROVIDER_H_
1.33 +#define WFCIMAGEPROVIDER_H_
1.34 +
1.35 +#include <stdio.h>
1.36 +#include <stdlib.h>
1.37 +
1.38 +#include "WF/wfc.h"
1.39 +#include "owfobject.h"
1.40 +#include "owfimage.h"
1.41 +#include "owfarray.h"
1.42 +#include "owfmemory.h"
1.43 +#include "wfcstructs.h"
1.44 +
1.45 +#ifdef __cplusplus
1.46 +extern "C"
1.47 +{
1.48 +#endif
1.49 +
1.50 +OWF_API_CALL WFC_IMAGE_PROVIDER*
1.51 +WFC_ImageProvider_Create(void* owner, /*WFC_CONTEXT* context,*/
1.52 + OWFNativeStreamType stream,
1.53 + WFC_IMAGE_PROVIDER_TYPE type);
1.54 +
1.55 +OWF_API_CALL void
1.56 +WFC_ImageProvider_LockForReading(WFC_IMAGE_PROVIDER* provider);
1.57 +
1.58 +OWF_API_CALL void
1.59 +WFC_ImageProvider_Unlock(WFC_IMAGE_PROVIDER* provider);
1.60 +
1.61 +#ifdef __cplusplus
1.62 +}
1.63 +#endif
1.64 +
1.65 +
1.66 +
1.67 +#endif /* WFCIMAGEPROVIDER_H_ */