Skip to main content

Proposed mpeos changes for adding Set3DMode to Device Settings

  2 posts   Feedicon  
Replies: 1 - Last Post: January 18, 2012 21:21
by: dhooley
showing 1 - 2 of 2
Posted: November 19, 2011 20:23 by sarendt
The mpeos changes involve renaming mpe_Media3DFormatType to mpe_DispStereoscopicMode and adding a new field for 2D mode. In addition, a new stereoscopic mode field was added to mpe_DispVideoResolutionInfo. Detailed changes are below:

Index: mpeos_disp.h
===================================================================
--- mpeos_disp.h (revision 26548)
+++ mpeos_disp.h (working copy)
@@ -269,6 +269,24 @@
MPE_DFC_PROCESSING_UNKNOWN = -1
} mpe_DispDfcAction;

+typedef enum _mpe_DispStereoscopicMode
+{
+ MPE_SSMODE_UNKNOWN = 0,
+ MPE_SSMODE_2D = 1,
+ MPE_SSMODE_3D_SIDE_BY_SIDE = 3,
+ MPE_SSMODE_3D_TOP_AND_BOTTOM = 4
+} mpe_DispStereoscopicMode;
+
+
+
/**
* Represents an area in normalized screen coordinates.
*/
@@ -381,6 +399,8 @@
/** If <code>TRUE</code> then configuration is interlaced;
** if <code>FALSE</code> then configuration is progressive. */
mpe_Bool interlaced;
+ mpe_DispStereoscopicMode stereoscopicMode;
+
} mpe_DispVideoResolutionInfo;

typedef struct
Index: mpeos_dvr.h
===================================================================
--- mpeos_dvr.h (revision 26548)
+++ mpeos_dvr.h (working copy)
@@ -1347,8 +1347,8 @@
*
* @param playback is the active DVR playback session to query for the 3D
* configuration
- * @param formatType pointer to the field to be set with the current
- * mpe_Media3DFormatType
+ * @param stereoscopicMode pointer to the field to be set with the current
+ * mpe_DispStereoscopicMode
* @param payloadType pointer to the field to be set with the current
* mpe_Media3DPayloadType
* @param payload pointer to the field to be set with the current payload of
@@ -1371,7 +1371,7 @@
* @return MPE_SUCCESS if successful.
*/
mpe_Error mpeos_dvrPlaybackGet3DConfig( mpe_DvrPlayback playback,
- mpe_Media3DFormatType * formatType,
+ mpe_DispStereoscopicMode* stereoscopicMode,
mpe_Media3DPayloadType * payloadType,
uint8_t * payload,
uint32_t * payloadSz );
Index: mpeos_hn.h
===================================================================
--- mpeos_hn.h (revision 26548)
+++ mpeos_hn.h (working copy)
@@ -41,6 +41,7 @@
#include "mpeos_event.h"
#include "mpeos_socket.h"
#include "mpeos_media.h"
+#include "mpeos_disp.h"
#include "mpeos_dvr.h"
#include "os_hn.h"

@@ -1343,7 +1344,7 @@
* @return MPE_SUCCESS if successful.
*/
mpe_Error mpeos_hnPlayerPlaybackGet3DConfig(mpe_HnPlaybackSession playback,
- mpe_Media3DFormatType * formatType,
+ mpe_DispStereoscopicMode* stereoscopicMode,
mpe_Media3DPayloadType * payloadType,
uint8_t * payload, uint32_t * payloadSz);

Index: mpeos_media.h
===================================================================
--- mpeos_media.h (revision 26548)
+++ mpeos_media.h (working copy)
@@ -194,13 +194,6 @@
MPE_3D_MPEG2_USER_DATA_TYPE = 2
} mpe_Media3DPayloadType;

-typedef enum _mpe_Media3DFormatType
-{
- MPE_2D_FORMAT = 0,
- MPE_3D_FORMAT_SIDE_BY_SIDE = 3,
- MPE_3D_TOP_AND_BOTTOM = 4
-} mpe_Media3DFormatType;
-
/**
* The types of 3D transitions
*/
@@ -715,8 +708,8 @@
*
* @param session is the active decode session to query for the 3D
* configuration
- * @param formatType pointer to the field to be set with the current
- * mpe_Media3DFormatType
+ * @param stereoscopicMode pointer to the field to be set with the current
+ * mpe_DispStereoscopicMode
* @param payloadType pointer to the field to be set with the current
* mpe_Media3DPayloadType
* @param payload pointer to the field to be set with the current payload of
@@ -739,7 +732,7 @@
* @return MPE_SUCCESS if successful.
*/
mpe_Error mpeos_mediaGet3DConfig( mpe_MediaDecodeSession session,
- mpe_Media3DFormatType * formatType,
+ mpe_DispStereoscopicMode* stereoscopicMode,
mpe_Media3DPayloadType * payloadType,
uint8_t * payload,
uint32_t * payloadSz );
Posted: January 18, 2012 21:21 by dhooley
Marking this topic as closed.
Replies: 1 - Last Post: January 18, 2012 21:21
by: dhooley
 
 
Close
loading
Please Confirm
Close