khronosfws/openmax_al/src/mmf_adaptation/xavideopostprosessingitfadaptationmmf.h
changeset 55 e267340986c9
equal deleted inserted replaced
52:4ce423f34688 55:e267340986c9
       
     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 XAVIDEOPOSTPROSESSINGITFADAPTATIONMMF_H
       
    19 #define XAVIDEOPOSTPROSESSINGITFADAPTATIONMMF_H
       
    20 
       
    21 #include "xaadaptationmmf.h"
       
    22 #include "xathreadsafety.h"
       
    23 
       
    24 /* MACROS */
       
    25 #define BLACK_BG_COLOR_MASK  0x00FFFFFF
       
    26 #define GREEN_BG_COLOR_MASK  0x0000FF00
       
    27 #define BLUE_BG_COLOR_MASK   0x000000FF
       
    28 #define ALPHA_VALUE_MASK     0x000000FF
       
    29 
       
    30 #define TEST_VIDEO_WIDTH     640
       
    31 #define TEST_VIDEO_HEIGHT    480
       
    32 
       
    33 #define ROTATION_RATIO       360000
       
    34 #define ROTATION_RATIO_NEG   -360000
       
    35 
       
    36 /* FUNCTIONS */
       
    37 XAresult XAVideoPostProcessingItfAdapt_Commit(XAAdaptationMMFCtx *bCtx,
       
    38                                               XAmillidegree rotation,
       
    39                                               XAuint32 scaleOptions,
       
    40                                               XAuint32 backgroundColor,
       
    41                                               XAuint32 renderingHints,
       
    42                                               const XARectangle *pSrcRect,
       
    43                                               const XARectangle *pDestRect,
       
    44                                               XAuint32 mirror,
       
    45                                               XAboolean isMirror,
       
    46                                               XAboolean isRotate,
       
    47                                               XAboolean isDestRect,
       
    48                                               XAboolean isSrcRect,
       
    49                                               XAboolean isScaleOptions
       
    50                                               );
       
    51 
       
    52 #endif /* XAVIDEOPOSTPROSESSINGITFADAPTATIONMMF_H */