videoutils_plat/videoplayer_constants_api/inc/mpxvideoplaybackdefs.h
branchRCL_3
changeset 12 198b91596e2e
parent 9 d814ed7f9a12
child 14 09899d2ccb77
equal deleted inserted replaced
11:e16c1e402817 12:198b91596e2e
    13 *
    13 *
    14 * Description:   Definitions for video type*
    14 * Description:   Definitions for video type*
    15 */
    15 */
    16 
    16 
    17 
    17 
    18 // Version : %version: 7 %
    18 // Version : %version: 10 %
    19 
    19 
    20 
    20 
    21 #ifndef CMPXVIDEOPLAYBACKDEFS_H
    21 #ifndef CMPXVIDEOPLAYBACKDEFS_H
    22 #define CMPXVIDEOPLAYBACKDEFS_H
    22 #define CMPXVIDEOPLAYBACKDEFS_H
    23 
    23 
   119     EPbCmdHandleIncreaseVolume,
   119     EPbCmdHandleIncreaseVolume,
   120     EPbCmdHandleDecreaseVolume,
   120     EPbCmdHandleDecreaseVolume,
   121     EPbCmdCustomPause,
   121     EPbCmdCustomPause,
   122     EPbCmdCustomPlay,
   122     EPbCmdCustomPlay,
   123     EPbCmdRetrieveBufferingPercentage,
   123     EPbCmdRetrieveBufferingPercentage,
   124     EPbCmdSurfaceRemoved
   124     EPbCmdLoadingStarted,
       
   125     EPbCmdHideControls
   125 };
   126 };
   126 
   127 
   127 enum TMPXGeneralError
   128 enum TMPXGeneralError
   128 {
   129 {
   129     KMPXVideoCallOngoingError = 1,
   130     KMPXVideoCallOngoingError = 1,
   137 
   138 
   138 //
   139 //
   139 //  Content ID identifying video display window category of content provided
   140 //  Content ID identifying video display window category of content provided
   140 //  in the media object and associated attributes.
   141 //  in the media object and associated attributes.
   141 //
   142 //
   142 const TInt KMPXMediaIdVideoDisplaySyncMessage = 0x20024333;
   143 const TInt KMPXMediaIdVideoDisplayMessage = 0x20024333;
   143 
   144 
   144 //
   145 //
   145 //  TInt for Command Id
   146 //  TInt for Command Id
   146 //
   147 //
   147 const TMPXAttributeData KMPXMediaVideoDisplayCommand = { KMPXMediaIdVideoDisplaySyncMessage, 0x01 };
   148 const TMPXAttributeData KMPXMediaVideoDisplayCommand = { KMPXMediaIdVideoDisplayMessage, 0x01 };
   148 
   149 
   149 //
   150 //
   150 //  TSurfaceId
   151 //  TSurfaceId
   151 //
   152 //
   152 const TMPXAttributeData KMPXMediaVideoDisplayTSurfaceId = { KMPXMediaIdVideoDisplaySyncMessage, 0x02 };
   153 const TMPXAttributeData KMPXMediaVideoDisplayTSurfaceId = { KMPXMediaIdVideoDisplayMessage, 0x02 };
   153 
   154 
   154 //
   155 //
   155 //  TRect
   156 //  TRect
   156 //
   157 //
   157 const TMPXAttributeData KMPXMediaVideoDisplayCropRect = { KMPXMediaIdVideoDisplaySyncMessage, 0x04 };
   158 const TMPXAttributeData KMPXMediaVideoDisplayCropRect = { KMPXMediaIdVideoDisplayMessage, 0x04 };
   158 
   159 
   159 //
   160 //
   160 //  TVideoAspectRatio
   161 //  TVideoAspectRatio
   161 //
   162 //
   162 const TMPXAttributeData KMPXMediaVideoDisplayAspectRatio = { KMPXMediaIdVideoDisplaySyncMessage, 0x08 };
   163 const TMPXAttributeData KMPXMediaVideoDisplayAspectRatio = { KMPXMediaIdVideoDisplayMessage, 0x08 };
   163 
   164 
   164 
   165 
   165 enum TMPXVideoDisplayCommand
   166 enum TMPXVideoDisplayCommand
   166 {
   167 {
   167     EPbMsgVideoSurfaceCreated,
   168     EPbMsgVideoSurfaceCreated,
   168     EPbMsgVideoSurfaceChanged,
   169     EPbMsgVideoSurfaceChanged,
   169     EPbMsgVideoSurfaceRemoved,
   170     EPbMsgVideoSurfaceRemoved
   170     EPbMsgVideoRemoveDisplayWindow
       
   171 };
   171 };
   172 
       
   173 
   172 
   174 #endif
   173 #endif
   175 
   174 
   176 // EOF
   175 // EOF