add TDM_LAYER_CAPABILITY_NO_CROP 60/67060/1
authorBoram Park <boram1288.park@samsung.com>
Mon, 25 Apr 2016 01:58:49 +0000 (10:58 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 25 Apr 2016 02:25:55 +0000 (11:25 +0900)
Change-Id: I78bbf9b71353426beb3aa69f675b0167be52fc97

include/tdm.h
include/tdm_types.h

index 04cbcb5..1c38b52 100644 (file)
@@ -539,7 +539,9 @@ tdm_layer_get_property(tdm_layer *layer, unsigned int id, tdm_value *value);
 /**
  * @brief Set the geometry information to a layer object
  * @details The geometry information will be applied when the output object
- * of a layer object is committed.
+ * of a layer object is committed. If a layer has TDM_LAYER_CAPABILITY_NO_CROP
+ * capability, a layer will ignore the pos(crop) information of #tdm_info_layer's
+ * src_config.
  * @param[in] layer A layer object
  * @param[in] info The geometry information
  * @return #TDM_ERROR_NONE if success. Otherwise, error value.
index 6ca3c83..f6fc5c4 100755 (executable)
@@ -167,6 +167,7 @@ typedef enum {
        TDM_LAYER_CAPABILITY_TRANSFORM      = (1 << 9), /**< if a layer has transform capability  */
        TDM_LAYER_CAPABILITY_SCANOUT        = (1 << 10), /**< if a layer allows a scanout buffer only */
        TDM_LAYER_CAPABILITY_RESEVED_MEMORY = (1 << 11), /**< if a layer allows a reserved buffer only */
+       TDM_LAYER_CAPABILITY_NO_CROP        = (1 << 12), /**< if a layer has no cropping capability */
 } tdm_layer_capability;
 
 /**