videoeditorengine/vedtranscoder/inc/CVEDSPPreprocessingCIM.h
changeset 9 d87d32eab1a9
parent 0 951a5db380a0
equal deleted inserted replaced
0:951a5db380a0 9:d87d32eab1a9
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 * HwDevice plugin.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 /**
       
    22 * @Example of the CI usage:
       
    23 * 1. 
       
    24 * MVEDSPPreprocessingCI* preprocCI;
       
    25 * preprocCI = (MVEDSPPreprocessingCI*)iDevvrInstance->CustomInterface( hwdevUid, KVEDSPHwDevicePreprocCIUid );
       
    26 * 
       
    27 * where:
       
    28 * CDEVVRVideoRecord iDevvrInstance - The inctance of the DeviceVideoRecord;
       
    29 * TUid hwdevUid                    - Encode HwDevice Uid;
       
    30 * KVEDSPHwDevicePreprocCIUid       - Custom Interface Uid;
       
    31 * 
       
    32 *
       
    33 * 2. TInt errCode = preprocessCI->SetPreprocessing( preprocessMode );
       
    34 * 
       
    35 * where:
       
    36 * TBool preprocessMode - Preprocessing mode setting; ETrue - ON / EFalse - OFF;
       
    37 * 
       
    38 * Preprocessing mode can be set ON / OFF only before initializing of the DeviceVideoRecord;
       
    39 *
       
    40 */
       
    41 
       
    42 
       
    43 #ifndef __MVEDSPPREPROCESSCI_H
       
    44 #define __MVEDSPPREPROCESSCI_H
       
    45 
       
    46 
       
    47 //  INCLUDES
       
    48 
       
    49 // CONSTANTS
       
    50 const TUid KVEDSPHwDevicePreprocCIUid =   {0x101F86D8};     // Preprocessing custom interface Uid
       
    51 
       
    52 
       
    53 // MACROS
       
    54 
       
    55 // DATA TYPES
       
    56 
       
    57 // FORWARD DECLARATIONS
       
    58 
       
    59 // CLASS DECLARATION
       
    60 
       
    61 class MVEDSPPreprocessingCI
       
    62     {
       
    63     public:
       
    64         
       
    65         /**
       
    66         * Enables / Disables preprocessing mode
       
    67         * @since 2.6
       
    68         * @param aMode ETrue - enable preprocessing
       
    69         * @return KErrNone - Success, otherwise KErrNotReady - unable to process operation
       
    70         */
       
    71         virtual TInt SetPreprocessing( TBool aMode ) = 0;
       
    72 
       
    73     };
       
    74 
       
    75 
       
    76 
       
    77 
       
    78 
       
    79 #endif