videoeditorengine/vedtranscoder/inc/ctrhwsettings.h
branchRCL_3
changeset 3 e0b5df5c0969
parent 0 951a5db380a0
child 5 4c409de21d23
equal deleted inserted replaced
0:951a5db380a0 3:e0b5df5c0969
     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 * Video settings.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef CTRHWSETTINGS_H
       
    23 #define CTRHWSETTINGS_H
       
    24 
       
    25 // Constants for processing time estimates
       
    26 const TReal KTRDecodeTimeFactorH263HW = 0.04;
       
    27 const TReal KTRDecodeTimeFactorH263SW = 0.05;
       
    28 const TReal KTRDecodeTimeFactorH264HW = 0.05;
       
    29 const TReal KTRDecodeTimeFactorH264SW = 0.05;
       
    30 const TReal KTRDecodeTimeFactorMPEG4HW = 0.05;
       
    31 const TReal KTRDecodeTimeFactorMPEG4SW = 0.05;
       
    32 
       
    33 const TReal KTREncodeTimeFactorH263HW = 0.07;
       
    34 const TReal KTREncodeTimeFactorH263SW = 0.08;
       
    35 const TReal KTREncodeTimeFactorH264HW = 0.07;
       
    36 const TReal KTREncodeTimeFactorH264SW = 0.08;
       
    37 const TReal KTREncodeTimeFactorMPEG4HW = 0.07;
       
    38 const TReal KTREncodeTimeFactorMPEG4SW = 0.08;
       
    39 
       
    40 const TReal KTRResampleTimeFactorBilinear = 0.06;
       
    41 const TReal KTRResampleTimeFactorDouble = 0.05;
       
    42 const TReal KTRResampleTimeFactorHalve = 0.05;
       
    43 
       
    44 const TReal KTRTimeFactorScale = 1.0 / 640.0;
       
    45 
       
    46 const TInt KTRFallbackDecoderUidH263 = 0x10206674;     // ARM Decoder
       
    47 const TInt KTRFallbackDecoderUidH264 = 0x102073ef;     // ARM Decoder
       
    48 const TInt KTRFallbackDecoderUidMPEG4 = 0x10206674;    // ARM Decoder
       
    49 
       
    50 const TInt KTRFallbackEncoderUidH263 = 0x10282CFC;     // ARM Encoder
       
    51 const TInt KTRFallbackEncoderUidH264 = 0x20001C13;     // ARM Encoder
       
    52 const TInt KTRFallbackEncoderUidMPEG4 = 0x10282CFD;    // ARM Encoder
       
    53 
       
    54 const TInt KTRMaxFramesInProcessingDefault = 3;
       
    55 const TInt KTRMaxFramesInProcessingScaling = 5;
       
    56 
       
    57 const TReal KTRWideThreshold = 1.5;
       
    58 
       
    59 #endif // CTRHWSETTINGS_H