mmshplugins/mmcctranscoder/inc/transcodercodecinfo.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:  Class is used for configuring media codecs.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _MCCTRANSCODERCODECINFO_H
       
    20 #define _MCCTRANSCODERCODECINFO_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <e32des8.h>
       
    25 #include <e32svr.h>
       
    26 #include <vedmovie.h>
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 *  Container class for the transcoder codec information.
       
    32 *
       
    33 *  @lib mmccinterface.dll
       
    34 */
       
    35 class CMccTranscoderCodecInfo : public CBase
       
    36 {
       
    37 public:  // Constructors and destructor
       
    38 
       
    39     /**
       
    40     * Destructor.
       
    41     */
       
    42     virtual ~CMccTranscoderCodecInfo();
       
    43 
       
    44 protected:  // New functions
       
    45     
       
    46     /**
       
    47     * C++ default constructor.
       
    48     */
       
    49     CMccTranscoderCodecInfo();
       
    50     
       
    51 public: // New functions
       
    52 
       
    53     
       
    54     virtual void SetBitrate( TInt aBitrate ) = 0;
       
    55     
       
    56     virtual TInt Bitrate() = 0;
       
    57    
       
    58     virtual void SetSamplingRate( TInt aSamplingRate ) = 0;
       
    59     
       
    60     virtual TInt SamplingRate() = 0;
       
    61     
       
    62     
       
    63                
       
    64 public: // get
       
    65     
       
    66     virtual void SetVideoType( TVedVideoType aType);
       
    67     
       
    68     virtual TVedVideoType VideoType();
       
    69     
       
    70     virtual void SetAudioType( TVedAudioType aType);
       
    71     
       
    72     virtual TVedAudioType AudioType();
       
    73 
       
    74     virtual void SetFrameRate( TReal aFrameRate );
       
    75     
       
    76     virtual TReal FrameRate();
       
    77     
       
    78     virtual void SetAudioChannelMode( TVedAudioChannelMode aMode );
       
    79 
       
    80     virtual TVedAudioChannelMode AudioChannelMode();
       
    81     
       
    82     virtual void  SetVideoResolution( TSize aVideoResolution );       
       
    83         
       
    84     virtual TSize VideoResolution();
       
    85  
       
    86     
       
    87 private:
       
    88  
       
    89     
       
    90 protected:  // Data
       
    91 
       
    92     TVedVideoType        iVideoType;
       
    93     TSize                iVideoResolution;
       
    94     TInt                 iBitrate;
       
    95     TReal                iFrameRate;
       
    96         
       
    97 	TVedAudioType        iAudioType;
       
    98     TVedAudioChannelMode iAudioChannelMode;
       
    99     TInt                 iSamplingRate;
       
   100    
       
   101 private:
       
   102 
       
   103   
       
   104   
       
   105 };
       
   106 
       
   107 
       
   108 
       
   109 
       
   110 
       
   111 #endif      // MCCTRANSCODERCODECINFO_H
       
   112 
       
   113 // End of File