mmshplugins/mmcctranscoder/inc/transcodervideocodec.h
changeset 22 496ad160a278
parent 0 f0cf47e981f9
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2006 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 
       
    19 
       
    20 #ifndef MCCTRANSCODER_VIDEO_CODEC_H
       
    21 #define MCCTRANSCODER_VIDEO_CODEC_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "transcodercodecinfo.h"
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 *  Container class for the codec information.
       
    40 *
       
    41 */
       
    42 class CMccTranscoderVideoCodec : public CMccTranscoderCodecInfo
       
    43     {
       
    44     public:  // Constructors and destructor
       
    45         
       
    46         /**
       
    47         * Two-phased constructor.
       
    48         */
       
    49         static CMccTranscoderVideoCodec* NewL();
       
    50         
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         virtual ~CMccTranscoderVideoCodec();
       
    55 
       
    56     public: // New functions
       
    57 
       
    58     public: // Functions from base classes
       
    59 
       
    60     public: // From CMccCodecInformation
       
    61    
       
    62         void SetBitrate( TInt aBitrate );
       
    63     
       
    64         TInt Bitrate();
       
    65    
       
    66         void SetSamplingRate( TInt aSamplingRate );
       
    67     
       
    68         TInt SamplingRate();
       
    69         
       
    70     protected:  // New functions
       
    71 
       
    72     protected:  // Functions from base classes
       
    73 
       
    74     private:
       
    75 
       
    76         /**
       
    77         * C++ default constructor.
       
    78         */
       
    79         CMccTranscoderVideoCodec();
       
    80 
       
    81         /**
       
    82         * By default Symbian 2nd phase constructor is private.
       
    83         */
       
    84         void ConstructL();
       
    85 
       
    86     public:     // Data
       
    87     
       
    88     protected:  // Data
       
    89 
       
    90     private:    // Data
       
    91 
       
    92     public:     // Friend classes
       
    93 
       
    94     protected:  // Friend classes
       
    95     
       
    96     private:    // Friend classes
       
    97 
       
    98     };
       
    99 
       
   100 #endif      // MCCTRANSCODER_VIDEO_CODEC_H   
       
   101             
       
   102 // End of File