Merge branch 'main' into ci/gilbok-lee/update_public
[platform/core/multimedia/esplusplayer.git] / include / esplusplayer_capi / esplusplayer_capi.h
old mode 100644 (file)
new mode 100755 (executable)
index 8b07515..51861bd
@@ -412,11 +412,18 @@ typedef enum esplusplayer_rsc_alloc_policy {
    */
   ESPLUSPLAYER_RSC_ALLOC_EXCLUSIVE_CONDITIONAL,
   /**
-   * @description exclusive no explicit policy, RM will return available
+   * @description inapp multiview policy, RM will return available
    * resources.
    * @version 6.0
    */
-  ESPLUSPLAYER_RSC_ALLOC_EXCLUSIVE_NO_EXPLICIT
+  ESPLUSPLAYER_RSC_ALLOC_INAPP_MULTIVIEW,
+  /**
+   * @description Forced to allocate mfc decoder ,used senario of get decoded
+   * data out.
+
+   * @version 8.0
+   */
+  ESPLUSPLAYER_RSC_ALLOC_EXCLUSIVE_MFC_FORCED
 } esplusplayer_rsc_alloc_policy;
 
 /**
@@ -3196,6 +3203,9 @@ int esplusplayer_set_audio_high_latency_threshold(
 
 /**
  * @brief     Provided api for getting the maximum number of frames.
+ * @remark    As a part of the dedicated app implementation.
+ * If non dedicated app call this api, this api will return
+ * ESPLUSPLAYER_ERROR_TYPE_INVALID_OPERATION.
  * @param     [in] handle : esplusplayer handle.
  * @param     [out] frame_count : maximum frame count.
  * @return    @c ESPLUSPLAYER_ERROR_TYPE_NONE on success,otherwise @c one of
@@ -3222,7 +3232,7 @@ int esplusplayer_set_audio_high_latency_threshold(
  *            esplusplayer_stop(esplayer);
  * @endcode
  * @pre       The player state must be at least #ESPLUSPLAYER_STATE_READY.
- *            It has to be set to game mode, and multi channel pcm.
+ *            It has to be set to game mode.
  * @post      None
  * @exception None
  * @version   6.0
@@ -3234,6 +3244,9 @@ int esplusplayer_get_low_latency_pcm_buffer_size(esplusplayer_handle handle,
 
 /**
  * @brief     Provided api for getting the number of currently queued frames.
+ * @remark    As a part of the dedicated app implementation.
+ * If non dedicated app call this api, this api will return
+ * ESPLUSPLAYER_ERROR_TYPE_INVALID_OPERATION.
  * @param     [in] handle : esplusplayer handle.
  * @param     [out] frame_count : queued frame count.
  * @return    @c ESPLUSPLAYER_ERROR_TYPE_NONE on success,otherwise @c one of
@@ -3260,7 +3273,7 @@ int esplusplayer_get_low_latency_pcm_buffer_size(esplusplayer_handle handle,
  *            esplusplayer_stop(esplayer);
  * @endcode
  * @pre       The player state must be at least #ESPLUSPLAYER_STATE_READY.
- *            It has to be set to game mode, and multi channel pcm.
+ *            It has to be set to game mode.
  * @post      None
  * @exception None
  * @version   6.0
@@ -3272,6 +3285,9 @@ int esplusplayer_get_low_latency_pcm_current_buffer_level(
 
 /**
  * @brief     Provided api for getting the underrun counts in audio out.
+ * @remark    As a part of the dedicated app implementation.
+ * If non dedicated app call this api, this api will return
+ * ESPLUSPLAYER_ERROR_TYPE_INVALID_OPERATION.
  * @param     [in] handle : esplusplayer handle.
  * @param     [out] underrun_count : underrun counts in audio out.
  * @return    @c ESPLUSPLAYER_ERROR_TYPE_NONE on success,otherwise @c one of
@@ -3298,7 +3314,7 @@ int esplusplayer_get_low_latency_pcm_current_buffer_level(
  *            esplusplayer_stop(esplayer);
  * @endcode
  * @pre       The player state must be at least #ESPLUSPLAYER_STATE_READY.
- *            It has to be set to game mode, and multi channel pcm.
+ *            It has to be set to game mode.
  * @post      None
  * @exception None
  * @version   6.0