\hypertarget{group__Emotion__Video}{\section{Video control functions}
\label{group__Emotion__Video}\index{Video control functions@{Video control functions}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int l, int r, int t, int b)
\begin{DoxyCompactList}\small\item\em Set borders for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}{emotion\+\_\+object\+\_\+border\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$l, int $\ast$r, int $\ast$t, int $\ast$b)
\begin{DoxyCompactList}\small\item\em Get the borders set for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set a color for the background rectangle of this emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the background color set for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect} a)
\begin{DoxyCompactList}\small\item\em Set whether emotion should keep the aspect ratio of the video. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect} \hyperlink{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the current emotion aspect ratio policy. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} double \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Retrieve the video aspect ratio of the media file loaded. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$iw, int $\ast$ih)
\begin{DoxyCompactList}\small\item\em Retrieve the video size of the loaded file. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} smooth)
\begin{DoxyCompactList}\small\item\em Sets whether to use of high-\/quality image scaling algorithm of the given video object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets whether the high-\/quality image scaling algorithm of the given video object is used. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} mute)
\begin{DoxyCompactList}\small\item\em Set the mute video option for this object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the mute video option of this object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$filepath)
\begin{DoxyCompactList}\small\item\em Set the video's subtitle file path. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the video's subtitle file path. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the number of available video channel. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int channel)
\begin{DoxyCompactList}\small\item\em Get the name of a given video channel. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int channel)
\begin{DoxyCompactList}\small\item\em Set the channel for a given video object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the channel for a given video object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\hypertarget{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+border\+\_\+set@{emotion\+\_\+object\+\_\+border\+\_\+set}}
\index{emotion\+\_\+object\+\_\+border\+\_\+set@{emotion\+\_\+object\+\_\+border\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+border\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+border\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int}]{l, }
\item[{int}]{r, }
\item[{int}]{t, }
\item[{int}]{b}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}


Set borders for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where borders are being set. \\
\hline
{\em l} & The left border. \\
\hline
{\em r} & The right border. \\
\hline
{\em t} & The top border. \\
\hline
{\em b} & The bottom border.\\
\hline
\end{DoxyParams}
This function sets borders for the emotion video object (just when a video is present). When positive values are given to one of the parameters, a border will be added to the respective position of the object, representing that size on the original video size. However, if the video is scaled up or down (i.\+e. the emotion object size is different from the video size), the borders will be scaled respectively too.

If a negative value is given to one of the parameters, instead of a border, that respective side of the video will be cropped.

It's possible to set a color for the added borders (default is transparent) with \hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}. By default, an Emotion object doesn't have any border.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}{emotion\+\_\+object\+\_\+border\+\_\+get()} 

\hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+O\+M, and evas\+\_\+object\+\_\+geometry\+\_\+get().

\hypertarget{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+border\+\_\+get@{emotion\+\_\+object\+\_\+border\+\_\+get}}
\index{emotion\+\_\+object\+\_\+border\+\_\+get@{emotion\+\_\+object\+\_\+border\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+border\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+border\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int $\ast$}]{l, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{t, }
\item[{int $\ast$}]{b}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}


Get the borders set for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which the borders are being retrieved. \\
\hline
{\em l} & The left border. \\
\hline
{\em r} & The right border. \\
\hline
{\em t} & The top border. \\
\hline
{\em b} & The bottom border.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}}
\index{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}


Set a color for the background rectangle of this emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where the background color is being set. \\
\hline
{\em r} & Red component of the color. \\
\hline
{\em g} & Green component of the color. \\
\hline
{\em b} & Blue component of the color. \\
\hline
{\em a} & Alpha channel of the color.\\
\hline
\end{DoxyParams}
This is useful when a border is added to any side of the Emotion object. The area between the edge of the video and the edge of the object will be filled with the specified color.

The default color is 0, 0, 0, 0 (transparent).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+color\+\_\+set(), evas\+\_\+object\+\_\+hide(), and evas\+\_\+object\+\_\+show().

\hypertarget{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}}
\index{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}


Get the background color set for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which the background color is being retrieved. \\
\hline
{\em r} & Red component of the color. \\
\hline
{\em g} & Green component of the color. \\
\hline
{\em b} & Blue component of the color. \\
\hline
{\em a} & A\+Alpha channel of the color.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+color\+\_\+get().

\hypertarget{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}}
\index{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{{\bf Emotion\+\_\+\+Aspect}}]{a}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}


Set whether emotion should keep the aspect ratio of the video. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where to set the aspect. \\
\hline
{\em a} & The aspect ratio policy.\\
\hline
\end{DoxyParams}
Instead of manually calculating the required border to set with \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}, and using this to fix the aspect ratio of the video when the emotion object has a different aspect, it's possible to just set the policy to be used.

The options are\+:


\begin{DoxyItemize}
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61acc33e435364654694e6a614803cbe371}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+N\+O\+N\+E}} -\/ ignore the video aspect ratio, and reset any border set to 0, stretching the video inside the emotion object area. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+N\+O\+N\+E size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61aec6ba7c7332158b49ee2c5614fb59c60}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+W\+I\+D\+T\+H}} -\/ respect the video aspect ratio, fitting the video width inside the object width. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+H\+O\+R\+I\+Z\+O\+N\+T\+A\+L size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a927124cab0fee543d0d558d279c266b4}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+H\+E\+I\+G\+H\+T}} -\/ respect the video aspect ratio, fitting the video height inside the object height. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+V\+E\+R\+T\+I\+A\+L size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a8cb5c2eb7a71ae678af55ab916eb8f4c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+B\+O\+T\+H}} -\/ respect the video aspect ratio, fitting both its width and height inside the object area. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+B\+O\+T\+H size hint. It's the effect called letterboxing.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab33362693bc471e3767e3578531a869c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+R\+O\+P}} -\/ respect the video aspect ratio, fitting the width or height inside the object area, and cropping the exceding areas of the video in height or width. It's the effect called pan-\/and-\/scan.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+O\+M}} -\/ ignore the video aspect ratio, and use the current set from \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}.
\end{DoxyItemize}

\begin{DoxyNote}{Note}
Calling this function with any value except \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+O\+M} will invalidate borders set with \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}.

Calling \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} will automatically set the aspect policy to \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+O\+M}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} 

\hyperlink{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+geometry\+\_\+get().

\hypertarget{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}}
\index{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Emotion\+\_\+\+Aspect} emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}


Get the current emotion aspect ratio policy. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which we are fetching the aspect ratio policy. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current aspect ratio policy.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set()} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+N\+O\+N\+E.

\hypertarget{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+ratio\+\_\+get@{emotion\+\_\+object\+\_\+ratio\+\_\+get}}
\index{emotion\+\_\+object\+\_\+ratio\+\_\+get@{emotion\+\_\+object\+\_\+ratio\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+ratio\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} double emotion\+\_\+object\+\_\+ratio\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}


Retrieve the video aspect ratio of the media file loaded. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object which the video aspect ratio will be retrieved from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The video aspect ratio of the file loaded.
\end{DoxyReturn}
This function returns the video aspect ratio (width / height) of the file loaded. It can be used to adapt the size of the emotion object in the canvas, so the aspect won't be changed (by wrongly resizing the object). Or to crop the video correctly, if necessary.

The described behavior can be applied like following. Consider a given emotion object that we want to position inside an area, which we will represent by {\ttfamily w} and {\ttfamily h}. Since we want to position this object either stretching, or filling the entire area but overflowing the video, or just adjust the video to fit inside the area without keeping the aspect ratio, we must compare the video aspect ratio with the area aspect ratio\+: 
\begin{DoxyCode}
1 int w = 200, h = 300; // an arbitrary value which represents the area where
2                       // the video would be placed
3 int vw, vh;
4 double r, vr = emotion\_object\_ratio\_get(obj);
5 r = (double)w / h;
\end{DoxyCode}


Now, if we want to make the video fit inside the area, the following code would do it\+: 
\begin{DoxyCode}
1 if (vr > r) // the video is wider than the area
2   \{
3      vw = w;
4      vh = w / vr;
5   \}
6 else // the video is taller than the area
7   \{
8      vh = h;
9      vw = h * vr;
10   \}
11 evas\_object\_resize(obj, vw, vh);
\end{DoxyCode}


And for keeping the aspect ratio but making the video fill the entire area, overflowing the content which can't fit inside it, we would do\+: 
\begin{DoxyCode}
1 if (vr > r) // the video is wider than the area
2   \{
3      vh = h;
4      vw = h * vr;
5   \}
6 else // the video is taller than the area
7   \{
8      vw = w;
9      vh = w / vr;
10   \}
11 evas\_object\_resize(obj, vw, vh);
\end{DoxyCode}


Finally, by just resizing the video to the video area, we would have the video stretched\+: 
\begin{DoxyCode}
1 vw = w;
2 vh = h;
3 evas\_object\_resize(obj, vw, vh);
\end{DoxyCode}


The following diagram exemplifies what would happen to the video, respectively, in each case\+:

 
\begin{DoxyImage}
\includegraphics{emotion_ratio}
\caption{width=}
\end{DoxyImage}


\begin{DoxyNote}{Note}
This function returns the aspect ratio that the video {\bfseries should} be, but sometimes the reported size from \hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get()} represents a different aspect ratio. You can safely resize the video to respect the aspect ratio returned by {\bfseries this} function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+size\+\_\+get@{emotion\+\_\+object\+\_\+size\+\_\+get}}
\index{emotion\+\_\+object\+\_\+size\+\_\+get@{emotion\+\_\+object\+\_\+size\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int $\ast$}]{iw, }
\item[{int $\ast$}]{ih}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga43910636929c5488347a022b9305b029}


Retrieve the video size of the loaded file. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object from which we are retrieving the video size. \\
\hline
{\em iw} & A pointer to a variable where the width will be stored. \\
\hline
{\em ih} & A pointer to a variable where the height will be stored.\\
\hline
\end{DoxyParams}
This function returns the reported size of the loaded video file. If a file that doesn't contain a video channel is loaded, then this size can be ignored.

The value reported by this function should be consistent with the aspect ratio returned by \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}, but sometimes the information stored in the file is wrong. So use the ratio size reported by \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}, since it is more likely going to be accurate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+L\+L} for {\ttfamily iw} or {\ttfamily ih} if you don't need one of these values.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}}
\index{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{{\bf Eina\+\_\+\+Bool}}]{smooth}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}


Sets whether to use of high-\/quality image scaling algorithm of the given video object. 

When enabled, a higher quality video scaling algorithm is used when scaling videos to sizes other than the source video. This gives better results but is more computationally expensive.


\begin{DoxyParams}{Parameters}
{\em obj} & The given video object. \\
\hline
{\em smooth} & Whether to use smooth scale or not.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get()} 
\end{DoxySeeAlso}
\hypertarget{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}}
\index{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}


Gets whether the high-\/quality image scaling algorithm of the given video object is used. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given video object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Whether the smooth scale is used or not.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{{\bf Eina\+\_\+\+Bool}}]{mute}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gab01124714bf0633b7552c97152022233}


Set the mute video option for this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are setting the mute video option. \\
\hline
{\em mute} & Whether the video should be muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).\\
\hline
\end{DoxyParams}
This function sets the mute video option for this emotion object. The current module used for this object can use this information to avoid decoding the video portion of the loaded media file.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get()} 

\hyperlink{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}


References D\+B\+G.

\hypertarget{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}


Get the mute video option of this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the mute video option from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Whether the video is muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).
\end{DoxyReturn}
This function returns the mute video option from this emotion object. It can be set with \hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{filepath}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}


Set the video's subtitle file path. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are setting a subtitle file path. \\
\hline
{\em filepath} & The subtitle file path.\\
\hline
\end{DoxyParams}
This function sets a video's subtitle file path(i.\+e an .srt file) for supported subtitle formats consult the backend's documentation.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References D\+B\+G.

\hypertarget{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}


Get the video's subtitle file path. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the subtitle file path from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The video's subtitle file path previously set, N\+U\+L\+L otherwise.
\end{DoxyReturn}
This function returns the video's subtitle file path, if not previously set or in error N\+U\+L\+L is returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}


Get the number of available video channel. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the channel count from \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the number of available channel.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get()} 
\end{DoxySeeAlso}
\hypertarget{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int}]{channel}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}


Get the name of a given video channel. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the channel name from \\
\hline
{\em channel} & the channel number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the channel name.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count()} 
\end{DoxySeeAlso}
\hypertarget{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{int}]{channel}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}


Set the channel for a given video object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object which we are setting the channel \\
\hline
{\em channel} & the channel number to be setted. \\
\hline
\end{DoxyParams}


References D\+B\+G.

\hypertarget{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}{\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection[{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}


Get the channel for a given video object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object which we are getting the channel \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current channel number. 
\end{DoxyReturn}
