[ITC][mediaeditor][ACR-1699] Added ITC for new mediaeditor APIs 51/284651/4
authorPrashant Kumar Jangid <p.jangid@samsung.com>
Tue, 22 Nov 2022 10:11:28 +0000 (15:41 +0530)
committerPrashant Jangid <p.jangid@samsung.com>
Wed, 23 Nov 2022 03:37:33 +0000 (03:37 +0000)
Change-Id: Ic0e6ded3180d116d0108edc6f03566c24785efb1
Signed-off-by: Prashant Kumar Jangid <p.jangid@samsung.com>
src/itc/mediaeditor/ITs-mediaeditor.c
src/itc/mediaeditor/tct-mediaeditor-native_mobile.h
src/itc/mediaeditor/tct-mediaeditor-native_tizeniot.h
src/itc/mediaeditor/tct-mediaeditor-native_wearable.h

index 106e72eb5acf300d34bb98a0c0c5ef35c2cab25d..d097fffc62bc38985341fd63f5c18509e6671c13 100644 (file)
@@ -332,12 +332,12 @@ int ITc_mediaeditor_set_display_p(void)
        START_TEST;
 
        createWindow();
-\r
-       mediaeditor_display_type_e eDisplayType[] =\r
-       {\r
-               //MEDIAEDITOR_DISPLAY_TYPE_OVERLAY, /**< Overlay surface display */\r
-               MEDIAEDITOR_DISPLAY_TYPE_EVAS,    /**< Evas object surface display */\r
-               //MEDIAEDITOR_DISPLAY_TYPE_ECORE,   /**< Ecore object surface display */\r
+
+       mediaeditor_display_type_e eDisplayType[] =
+       {
+               //MEDIAEDITOR_DISPLAY_TYPE_OVERLAY, /**< Overlay surface display */
+               MEDIAEDITOR_DISPLAY_TYPE_EVAS,    /**< Evas object surface display */
+               //MEDIAEDITOR_DISPLAY_TYPE_ECORE,   /**< Ecore object surface display */
                //MEDIAEDITOR_DISPLAY_TYPE_NONE     /**< This disposes off buffers */
        };
 
@@ -1071,79 +1071,79 @@ int ITc_mediaeditor_add_transition_p(void)
        unsigned int nTransitionStart = 0;
        unsigned int nTransitionDuration = 0;
 
-       mediaeditor_transition_type_e eTransitionType[] =\r
-       {\r
-               MEDIAEDITOR_TRANSITION_TYPE_NONE,               /**< Transition none */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BAR_WIPE_LR,        /**< A bar moves from left to right */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BAR_WIPE_TB,        /**< A bar moves from top to bottom */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TL,        /**< A box expands from the upper-left corner to the lower-right corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TR,        /**< A box expands from the upper-right corner to the lower-left corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BR,        /**< A box expands from the lower-right corner to the upper-left corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BL,        /**< A box expands from the lower-left corner to the upper-right corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FOUR_BOX_WIPE_CI,   /**< A box shape expands from each of the four corners toward the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FOUR_BOX_WIPE_CO,   /**< A box shape expands from the center of each quadrant toward the corners of each quadrant */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_V,        /**< A central, vertical line splits and expands toward the left and right edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_H,        /**< A central, horizontal line splits and expands toward the top and bottom edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TC,       /**< A box expands from the top edge's midpoint to the bottom corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_RC,       /**< A box expands from the right edge's midpoint to the left corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BC,       /**< A box expands from the bottom edge's midpoint to the top corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_LC,       /**< A box expands from the left edge's midpoint to the right corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DIAGONAL_TL,       /**< A diagonal line moves from the upper-left corner to the lower-right corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DIAGONAL_TR,       /**< A diagonal line moves from the upper right corner to the lower-left corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOWTIE_V,          /**< Two wedge shapes slide in from the top and bottom edges toward the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BOWTIE_H,          /**< Two wedge shapes slide in from the left and right edges toward the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_DBL,      /**< A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_DTL,      /**< A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners */\r
-               MEDIAEDITOR_TRANSITION_TYPE_MISC_DIAGONAL_DBD, /**< Four wedge shapes split from the center and retract toward the four edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_MISC_DIAGONAL_DD,  /**< A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_VEE_D,             /**< A wedge shape moves from top to bottom */\r
-               MEDIAEDITOR_TRANSITION_TYPE_VEE_L,             /**< A wedge shape moves from right to left */\r
-               MEDIAEDITOR_TRANSITION_TYPE_VEE_U,             /**< A wedge shape moves from bottom to top */\r
-               MEDIAEDITOR_TRANSITION_TYPE_VEE_R,             /**< A wedge shape moves from left to right */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_D,         /**< A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_L,         /**< A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_U,         /**< A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_R,         /**< A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */\r
-               MEDIAEDITOR_TRANSITION_TYPE_IRIS_RECT,        /**< A rectangle expands from the center. */\r
-               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW12,       /**< A radial hand sweeps clockwise from the twelve o'clock position */\r
-               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW3,        /**< A radial hand sweeps clockwise from the three o'clock position */\r
-               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW6,        /**< A radial hand sweeps clockwise from the six o'clock position */\r
-               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW9,        /**< A radial hand sweeps clockwise from the nine o'clock position */\r
-               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_TBV,     /**< Two radial hands sweep clockwise from the twelve and six o'clock positions */\r
-               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_TBH,     /**< Two radial hands sweep clockwise from the nine and three o'clock positions */\r
-               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_FB,      /**< Four radial hands sweep clockwise */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_CT,           /**< A fan unfolds from the top edge, the fan axis at the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_CR,           /**< A fan unfolds from the right edge, the fan axis at the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FOV,    /**< Two fans, their axes at the center, unfold from the top and bottom */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FOH,    /**< Two fans, their axes at the center, unfold from the left and right */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWT,  /**< A radial hand sweeps clockwise from the top edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWR,  /**< A radial hand sweeps clockwise from the right edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWB,  /**< A radial hand sweeps clockwise from the bottom edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWL,  /**< A radial hand sweeps clockwise from the left edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PV,   /**< Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PD,   /**< Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_OV,   /**< Two radial hands attached at the top and bottom edges' midpoints sweep from right to left */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_OH,   /**< Two radial hands attached at the left and right edges' midpoints sweep from top to bottom */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_T,            /**< A fan unfolds from the bottom, the fan axis at the top edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_R,            /**< A fan unfolds from the left, the fan axis at the right edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_B,            /**< A fan unfolds from the top, the fan axis at the bottom edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_FAN_L,            /**< A fan unfolds from the right, the fan axis at the left edge's midpoint */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FIV,    /**< Two fans, their axes at the top and bottom, unfold from the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FIH,    /**< Two fans, their axes at the left and right, unfold from the center */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWTL, /**< A radial hand sweeps clockwise from the upper-left corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CCWBL, /**< A radial hand sweeps counter-clockwise from the lower-left corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWBR, /**< A radial hand sweeps clockwise from the lower-right corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CCWTR, /**< A radial hand sweeps counter-clockwise from the upper-right corner */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PDTL, /**< Two radial hands attached at the upper-left and lower-right corners sweep down and up */\r
-               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PDBL, /**< Two radial hands attached at the lower-left and upper-right corners sweep down and up */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_T,     /**< Two radial hands attached at the upper-left and upper-right corners sweep down */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_L,     /**< Two radial hands attached at the upper-left and lower-left corners sweep to the right */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_B,     /**< Two radial hands attached at the lower-left and lower-right corners sweep up */\r
-               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_R,     /**< Two radial hands attached at the upper-right and lower-right corners sweep to the left */\r
-               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_R,     /**< Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left */\r
-               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_U,     /**< Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom */\r
-               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_V,     /**< Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top */\r
-               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_H,     /**< Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left */\r
+       mediaeditor_transition_type_e eTransitionType[] =
+       {
+               MEDIAEDITOR_TRANSITION_TYPE_NONE,               /**< Transition none */
+               MEDIAEDITOR_TRANSITION_TYPE_BAR_WIPE_LR,        /**< A bar moves from left to right */
+               MEDIAEDITOR_TRANSITION_TYPE_BAR_WIPE_TB,        /**< A bar moves from top to bottom */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TL,        /**< A box expands from the upper-left corner to the lower-right corner */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TR,        /**< A box expands from the upper-right corner to the lower-left corner */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BR,        /**< A box expands from the lower-right corner to the upper-left corner */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BL,        /**< A box expands from the lower-left corner to the upper-right corner */
+               MEDIAEDITOR_TRANSITION_TYPE_FOUR_BOX_WIPE_CI,   /**< A box shape expands from each of the four corners toward the center */
+               MEDIAEDITOR_TRANSITION_TYPE_FOUR_BOX_WIPE_CO,   /**< A box shape expands from the center of each quadrant toward the corners of each quadrant */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_V,        /**< A central, vertical line splits and expands toward the left and right edges */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_H,        /**< A central, horizontal line splits and expands toward the top and bottom edges */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_TC,       /**< A box expands from the top edge's midpoint to the bottom corners */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_RC,       /**< A box expands from the right edge's midpoint to the left corners */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_BC,       /**< A box expands from the bottom edge's midpoint to the top corners */
+               MEDIAEDITOR_TRANSITION_TYPE_BOX_WIPE_LC,       /**< A box expands from the left edge's midpoint to the right corners */
+               MEDIAEDITOR_TRANSITION_TYPE_DIAGONAL_TL,       /**< A diagonal line moves from the upper-left corner to the lower-right corner */
+               MEDIAEDITOR_TRANSITION_TYPE_DIAGONAL_TR,       /**< A diagonal line moves from the upper right corner to the lower-left corner */
+               MEDIAEDITOR_TRANSITION_TYPE_BOWTIE_V,          /**< Two wedge shapes slide in from the top and bottom edges toward the center */
+               MEDIAEDITOR_TRANSITION_TYPE_BOWTIE_H,          /**< Two wedge shapes slide in from the left and right edges toward the center */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_DBL,      /**< A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNDOOR_DTL,      /**< A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners */
+               MEDIAEDITOR_TRANSITION_TYPE_MISC_DIAGONAL_DBD, /**< Four wedge shapes split from the center and retract toward the four edges */
+               MEDIAEDITOR_TRANSITION_TYPE_MISC_DIAGONAL_DD,  /**< A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges */
+               MEDIAEDITOR_TRANSITION_TYPE_VEE_D,             /**< A wedge shape moves from top to bottom */
+               MEDIAEDITOR_TRANSITION_TYPE_VEE_L,             /**< A wedge shape moves from right to left */
+               MEDIAEDITOR_TRANSITION_TYPE_VEE_U,             /**< A wedge shape moves from bottom to top */
+               MEDIAEDITOR_TRANSITION_TYPE_VEE_R,             /**< A wedge shape moves from left to right */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_D,         /**< A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_L,         /**< A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_U,         /**< A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */
+               MEDIAEDITOR_TRANSITION_TYPE_BARNVEE_R,         /**< A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges */
+               MEDIAEDITOR_TRANSITION_TYPE_IRIS_RECT,        /**< A rectangle expands from the center. */
+               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW12,       /**< A radial hand sweeps clockwise from the twelve o'clock position */
+               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW3,        /**< A radial hand sweeps clockwise from the three o'clock position */
+               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW6,        /**< A radial hand sweeps clockwise from the six o'clock position */
+               MEDIAEDITOR_TRANSITION_TYPE_CLOCK_CW9,        /**< A radial hand sweeps clockwise from the nine o'clock position */
+               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_TBV,     /**< Two radial hands sweep clockwise from the twelve and six o'clock positions */
+               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_TBH,     /**< Two radial hands sweep clockwise from the nine and three o'clock positions */
+               MEDIAEDITOR_TRANSITION_TYPE_PINWHEEL_FB,      /**< Four radial hands sweep clockwise */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_CT,           /**< A fan unfolds from the top edge, the fan axis at the center */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_CR,           /**< A fan unfolds from the right edge, the fan axis at the center */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FOV,    /**< Two fans, their axes at the center, unfold from the top and bottom */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FOH,    /**< Two fans, their axes at the center, unfold from the left and right */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWT,  /**< A radial hand sweeps clockwise from the top edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWR,  /**< A radial hand sweeps clockwise from the right edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWB,  /**< A radial hand sweeps clockwise from the bottom edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWL,  /**< A radial hand sweeps clockwise from the left edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PV,   /**< Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PD,   /**< Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_OV,   /**< Two radial hands attached at the top and bottom edges' midpoints sweep from right to left */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_OH,   /**< Two radial hands attached at the left and right edges' midpoints sweep from top to bottom */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_T,            /**< A fan unfolds from the bottom, the fan axis at the top edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_R,            /**< A fan unfolds from the left, the fan axis at the right edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_B,            /**< A fan unfolds from the top, the fan axis at the bottom edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_FAN_L,            /**< A fan unfolds from the right, the fan axis at the left edge's midpoint */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FIV,    /**< Two fans, their axes at the top and bottom, unfold from the center */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLEFAN_FIH,    /**< Two fans, their axes at the left and right, unfold from the center */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWTL, /**< A radial hand sweeps clockwise from the upper-left corner */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CCWBL, /**< A radial hand sweeps counter-clockwise from the lower-left corner */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CWBR, /**< A radial hand sweeps clockwise from the lower-right corner */
+               MEDIAEDITOR_TRANSITION_TYPE_SINGLESWEEP_CCWTR, /**< A radial hand sweeps counter-clockwise from the upper-right corner */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PDTL, /**< Two radial hands attached at the upper-left and lower-right corners sweep down and up */
+               MEDIAEDITOR_TRANSITION_TYPE_DOUBLESWEEP_PDBL, /**< Two radial hands attached at the lower-left and upper-right corners sweep down and up */
+               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_T,     /**< Two radial hands attached at the upper-left and upper-right corners sweep down */
+               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_L,     /**< Two radial hands attached at the upper-left and lower-left corners sweep to the right */
+               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_B,     /**< Two radial hands attached at the lower-left and lower-right corners sweep up */
+               MEDIAEDITOR_TRANSITION_TYPE_SALOONDOOR_R,     /**< Two radial hands attached at the upper-right and lower-right corners sweep to the left */
+               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_R,     /**< Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left */
+               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_U,     /**< Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom */
+               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_V,     /**< Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top */
+               MEDIAEDITOR_TRANSITION_TYPE_WINDSHIELD_H,     /**< Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left */
                MEDIAEDITOR_TRANSITION_TYPE_CROSSFADE         /**< Crossfade */
        };
 
@@ -1202,21 +1202,21 @@ int ITc_add_remove_effect_p(void)
 
        mediaeditor_effect_type_e eEffectType[] =
        {
-               //MEDIAEDITOR_EFFECT_TYPE_NONE,               /**< None */              -- returning error\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_EDGETV,       /**< Applies edge detect on video */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_AGINGTV,      /**< Adds age to video input using scratches and dust */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_DICETV,       /**< Dices the screen up into many small squares */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_WARPTV,       /**< Realtime goo'ing of the video input */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_SHAGADELICTV, /**< Makes images shagadelic */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_VERTIGOTV,    /**< A loopback alpha blending effector with rotating and scaling */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_REVTV,        /**< A video waveform monitor for each line of video processed */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_QUARKTV,      /**< Motion dissolver */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_OPTV,         /**< Optical art meets real-time video effect */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_RADIOACTV,    /**< Motion-enlightment effect */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_STREAKTV,     /**< Makes after images of moving objects */\r
-               MEDIAEDITOR_EFFECT_VIDEO_TYPE_RIPPLETV,     /**< Makes ripple mark effect on the video input */\r
-               MEDIAEDITOR_EFFECT_AUDIO_TYPE_FADE_IN,      /**< Audio fade in */\r
-               MEDIAEDITOR_EFFECT_AUDIO_TYPE_FADE_OUT,     /**< Audio fade out */\r
+               //MEDIAEDITOR_EFFECT_TYPE_NONE,               /**< None */              -- returning error
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_EDGETV,       /**< Applies edge detect on video */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_AGINGTV,      /**< Adds age to video input using scratches and dust */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_DICETV,       /**< Dices the screen up into many small squares */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_WARPTV,       /**< Realtime goo'ing of the video input */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_SHAGADELICTV, /**< Makes images shagadelic */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_VERTIGOTV,    /**< A loopback alpha blending effector with rotating and scaling */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_REVTV,        /**< A video waveform monitor for each line of video processed */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_QUARKTV,      /**< Motion dissolver */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_OPTV,         /**< Optical art meets real-time video effect */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_RADIOACTV,    /**< Motion-enlightment effect */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_STREAKTV,     /**< Makes after images of moving objects */
+               MEDIAEDITOR_EFFECT_VIDEO_TYPE_RIPPLETV,     /**< Makes ripple mark effect on the video input */
+               MEDIAEDITOR_EFFECT_AUDIO_TYPE_FADE_IN,      /**< Audio fade in */
+               MEDIAEDITOR_EFFECT_AUDIO_TYPE_FADE_OUT,     /**< Audio fade out */
                MEDIAEDITOR_EFFECT_AUDIO_TYPE_ECHO         /**< Adds an echo or reverb effect to an audio stream */
        };
 
@@ -1557,5 +1557,70 @@ int ITc_mediaeditor_start_cancel_render_p(void)
 
        return 0;
 }
+
+//& purpose: check set get clip position
+//& type: auto
+/**
+* @testcase                    ITc_mediaeditor_set_get_clip_position_p(void)
+* @since_tizen                         7.0
+* @author                              SRID(p.jangid)
+* @reviewer                            SRID(shobhit.v)
+* @type                                auto
+* @description                 check set_clip_position & get_clip_position API's
+* @scenario                            check set_clip_position & get_clip_position API's
+* @apicovered                  mediaeditor_add_layer, mediaeditor_add_clip, mediaeditor_get_state, mediaeditor_set_clip_position, mediaeditor_get_clip_position
+* @passcase                            If all precondition APIs, mediaeditor_set_clip_position, mediaeditor_get_clip_position pass.
+* @failcase                    If mediaeditor_set_clip_position, mediaeditor_get_clip_position Or any pre condition API fails
+* @precondition                        mediaeditor_add_layer and mediaeditor_add_clip
+* @postcondition               NA
+*/
+int ITc_mediaeditor_set_get_clip_position_p(void)
+{
+       START_TEST;
+       unsigned int layer_id=0;
+       unsigned int layer_priority=0;
+       unsigned int start=10;
+       unsigned int duration=100;
+       unsigned int point=100;
+       unsigned int clip_id=0;
+       unsigned int set_pos_x=45;
+       unsigned int set_pos_y=42;
+       unsigned int get_pos_x=0;
+       unsigned int get_pos_y=0;
+
+       mediaeditor_state_e eState = MEDIAEDITOR_STATE_IDLE;
+
+       int nRetVal = mediaeditor_add_layer(g_hMediaEditorHandle, &layer_id, &layer_priority);
+       PRINT_RESULT(MEDIAEDITOR_ERROR_NONE, nRetVal, "mediaeditor_add_layer", MediaEditorGetError(nRetVal));
+
+       nRetVal=mediaeditor_add_clip(g_hMediaEditorHandle, g_pszVideoClipPath, layer_id, start, duration, point, &clip_id);
+       PRINT_RESULT(MEDIAEDITOR_ERROR_NONE, nRetVal, "mediaeditor_add_clip", MediaEditorGetError(nRetVal));
+
+       nRetVal = mediaeditor_get_state(g_hMediaEditorHandle, &eState);
+       PRINT_RESULT(MEDIAEDITOR_ERROR_NONE, nRetVal, "mediaeditor_get_state", MediaEditorGetError(nRetVal));
+
+       if (eState != MEDIAEDITOR_STATE_IDLE)
+       {
+       FPRINTF("[Line : %d][%s] Invalid state\\n", __LINE__, API_NAMESPACE);
+       return 1;
+       }
+
+       //TARGET API
+       nRetVal=mediaeditor_set_clip_position(g_hMediaEditorHandle,clip_id,set_pos_x,set_pos_y);
+       PRINT_RESULT(MEDIAEDITOR_ERROR_NONE, nRetVal, "mediaeditor_set_clip_position", MediaEditorGetError(nRetVal));
+
+       //TARGET API
+       nRetVal=mediaeditor_get_clip_position(g_hMediaEditorHandle,clip_id,&get_pos_x,&get_pos_y);
+       PRINT_RESULT(MEDIAEDITOR_ERROR_NONE, nRetVal, "mediaeditor_get_clip_position", MediaEditorGetError(nRetVal));
+
+       if(get_pos_x!=set_pos_x || get_pos_y!=set_pos_y)
+       {
+               FPRINTF("[Line : %d][%s] set_clip_position and get_clip_position values are mismatch \\n", __LINE__, API_NAMESPACE);
+               return 1;
+       }
+
+       return 0;
+}
+
+/** @} */
 /** @} */
-/** @} */
\ No newline at end of file
index 803ad299c1ef5531bfd3a3e98c3591f2027d4f51..096a3fd3419c787d87c40ad69b4486f01b34ebd4 100644 (file)
@@ -49,7 +49,7 @@ extern int ITc_mediaeditor_set_unset_state_changed_cb_p(void);
 extern int ITc_mediaeditor_set_unset_error_cb_p(void);
 extern int ITc_mediaeditor_set_unset_layer_priority_changed_cb_p(void);
 extern int ITc_mediaeditor_start_cancel_render_p(void);
-
+extern int ITc_mediaeditor_set_get_clip_position_p(void);
 testcase tc_array[] = {
        {"ITc_mediaeditor_create_destroy_p", ITc_mediaeditor_create_destroy_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_display_p", ITc_mediaeditor_set_display_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
@@ -78,6 +78,7 @@ testcase tc_array[] = {
        {"ITc_mediaeditor_set_unset_error_cb_p", ITc_mediaeditor_set_unset_error_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_unset_layer_priority_changed_cb_p", ITc_mediaeditor_set_unset_layer_priority_changed_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},     
        {"ITc_mediaeditor_start_cancel_render_p", ITc_mediaeditor_start_cancel_render_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
+       {"ITc_mediaeditor_set_get_clip_position_p",ITc_mediaeditor_set_get_clip_position_p,ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
     {NULL, NULL}
 };
 
index f62b7a37abe437bf9d8d0cc62959af4a42f250f4..050041af9d4d88bfc673a1a0ad795f6b39c89d74 100644 (file)
@@ -49,7 +49,7 @@ extern int ITc_mediaeditor_set_unset_state_changed_cb_p(void);
 extern int ITc_mediaeditor_set_unset_error_cb_p(void);
 extern int ITc_mediaeditor_set_unset_layer_priority_changed_cb_p(void);
 extern int ITc_mediaeditor_start_cancel_render_p(void);
-
+extern int ITc_mediaeditor_set_get_clip_position_p(void);
 testcase tc_array[] = {
        {"ITc_mediaeditor_create_destroy_p", ITc_mediaeditor_create_destroy_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_display_p", ITc_mediaeditor_set_display_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
@@ -78,6 +78,7 @@ testcase tc_array[] = {
        {"ITc_mediaeditor_set_unset_error_cb_p", ITc_mediaeditor_set_unset_error_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_unset_layer_priority_changed_cb_p", ITc_mediaeditor_set_unset_layer_priority_changed_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_start_cancel_render_p", ITc_mediaeditor_start_cancel_render_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
+       {"ITc_mediaeditor_set_get_clip_position_p",ITc_mediaeditor_set_get_clip_position_p,ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        { NULL, NULL }
 };
 
index 1d1eb00ec7a460f1bc06518f30a3529f1760e21c..2cb4e6a83d4f3e6343175dc36960d68d9d78ad6f 100644 (file)
@@ -49,7 +49,7 @@ extern int ITc_mediaeditor_set_unset_state_changed_cb_p(void);
 extern int ITc_mediaeditor_set_unset_error_cb_p(void);
 extern int ITc_mediaeditor_set_unset_layer_priority_changed_cb_p(void);
 extern int ITc_mediaeditor_start_cancel_render_p(void);
-
+extern int ITc_mediaeditor_set_get_clip_position_p(void);
 testcase tc_array[] = {
        {"ITc_mediaeditor_create_destroy_p", ITc_mediaeditor_create_destroy_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_display_p", ITc_mediaeditor_set_display_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
@@ -78,6 +78,7 @@ testcase tc_array[] = {
        {"ITc_mediaeditor_set_unset_error_cb_p", ITc_mediaeditor_set_unset_error_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_set_unset_layer_priority_changed_cb_p", ITc_mediaeditor_set_unset_layer_priority_changed_cb_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {"ITc_mediaeditor_start_cancel_render_p", ITc_mediaeditor_start_cancel_render_p, ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
+       {"ITc_mediaeditor_set_get_clip_position_p",ITc_mediaeditor_set_get_clip_position_p,ITs_mediaeditor_startup, ITs_mediaeditor_cleanup},
        {NULL, NULL}
 };