\hypertarget{group__Emotion__Video}{}\doxysection{Video control functions}
\label{group__Emotion__Video}\index{Video control functions@{Video control functions}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}{emotion\+\_\+object\+\_\+border\+\_\+set}} (\mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_gaab0929d73c1a6b46e3afddb3b5e7e2c3}{emotion\+\_\+object\+\_\+border\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}} (\mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_ga5b4a655e0f9b514e89faa32a5b55d75c}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_ga36680328706cfed0caee4a7b85035e83}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\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 
\mbox{\hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect}} \mbox{\hyperlink{group__Emotion__Video_ga439efa5159afd561ccdf0bd323e02d9b}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}} (const \mbox{\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 
double \mbox{\hyperlink{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}{emotion\+\_\+object\+\_\+ratio\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_ga7552c37cd9a6dd992a36fe3bff8e6219}{emotion\+\_\+object\+\_\+size\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_gaeaf6bc3f190527b9b35821e4b71d6a29}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__Video_gac5ba80fa4daae823cb991b8679611310}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_gad040d2a82746ab4ef7840dcb0c77fd13}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__Video_ga52a65b068ee03546135b3fcebd9500fe}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_gafeb746f8b3b83fef4eee2b664076c368}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$filepath)
\begin{DoxyCompactList}\small\item\em Set the video\textquotesingle{}s subtitle file path. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Emotion__Video_gada1bafe84baecf3f85e3f8df2028fdcc}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the video\textquotesingle{}s subtitle file path. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Emotion__Video_ga8b3ead27023f14dd6a8777a6d73a3fa6}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}} (const \mbox{\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 
const char $\ast$ \mbox{\hyperlink{group__Emotion__Video_gacac210cf804fd516f6512e03b6e17a21}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}} (const \mbox{\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 
void \mbox{\hyperlink{group__Emotion__Video_ga0b6542c318d0e83786621dde052b3513}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}} (\mbox{\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 
int \mbox{\hyperlink{group__Emotion__Video_ga987bea3897cdc6c3a171311e5942c9b5}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}} (const \mbox{\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}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}\label{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_border\_set()}{emotion\_object\_border\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+border\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int}]{l,  }\item[{int}]{r,  }\item[{int}]{t,  }\item[{int}]{b }\end{DoxyParamCaption})}



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\textquotesingle{}s possible to set a color for the added borders (default is transparent) with \mbox{\hyperlink{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}}. By default, an Emotion object doesn\textquotesingle{}t have any border.

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

\mbox{\hyperlink{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}{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\+OM, and evas\+\_\+object\+\_\+geometry\+\_\+get().

\mbox{\Hypertarget{group__Emotion__Video_gaab0929d73c1a6b46e3afddb3b5e7e2c3}\label{group__Emotion__Video_gaab0929d73c1a6b46e3afddb3b5e7e2c3}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_border\_get()}{emotion\_object\_border\_get()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+border\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int $\ast$}]{l,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{t,  }\item[{int $\ast$}]{b }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}{emotion\+\_\+object\+\_\+border\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}\label{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_bg\_color\_set()}{emotion\_object\_bg\_color\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_ga5b4a655e0f9b514e89faa32a5b55d75c}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get()}} 
\end{DoxySeeAlso}


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

\mbox{\Hypertarget{group__Emotion__Video_ga5b4a655e0f9b514e89faa32a5b55d75c}\label{group__Emotion__Video_ga5b4a655e0f9b514e89faa32a5b55d75c}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_bg\_color\_get()}{emotion\_object\_bg\_color\_get()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_gaac0824fff1bb9613f0cb433f79533b0b}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}} 
\end{DoxySeeAlso}


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

\mbox{\Hypertarget{group__Emotion__Video_ga36680328706cfed0caee4a7b85035e83}\label{group__Emotion__Video_ga36680328706cfed0caee4a7b85035e83}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_keep\_aspect\_set()}{emotion\_object\_keep\_aspect\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect}}}]{a }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}{emotion\+\_\+object\+\_\+border\+\_\+set()}}, and using this to fix the aspect ratio of the video when the emotion object has a different aspect, it\textquotesingle{}s possible to just set the policy to be used.

The options are\+:


\begin{DoxyItemize}
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61acc33e435364654694e6a614803cbe371}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+N\+O\+NE}}}} -\/ 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\+NE size hint.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61aec6ba7c7332158b49ee2c5614fb59c60}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+W\+I\+D\+TH}}}} -\/ 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\+AL size hint.
\item {\bfseries{\mbox{\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\+HT}}}} -\/ 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\+AL size hint.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a8cb5c2eb7a71ae678af55ab916eb8f4c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+B\+O\+TH}}}} -\/ 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\+TH size hint. It\textquotesingle{}s the effect called letterboxing.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab33362693bc471e3767e3578531a869c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+R\+OP}}}} -\/ 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\textquotesingle{}s the effect called pan-\/and-\/scan.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+OM}}}} -\/ ignore the video aspect ratio, and use the current set from \mbox{\hyperlink{group__Emotion__Video_ga59b10b7b440bc65017aa5108a79d9d63}{emotion\+\_\+object\+\_\+border\+\_\+set()}}.
\end{DoxyItemize}

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

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

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


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

\mbox{\Hypertarget{group__Emotion__Video_ga439efa5159afd561ccdf0bd323e02d9b}\label{group__Emotion__Video_ga439efa5159afd561ccdf0bd323e02d9b}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_keep\_aspect\_get()}{emotion\_object\_keep\_aspect\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect}} emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_ga36680328706cfed0caee4a7b85035e83}{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\+NE.

\mbox{\Hypertarget{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}\label{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_ratio\_get()}{emotion\_object\_ratio\_get()}}
{\footnotesize\ttfamily double emotion\+\_\+object\+\_\+ratio\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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\textquotesingle{}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}{0}
\DoxyCodeLine{\textcolor{keywordtype}{int} w = 200, h = 300; \textcolor{comment}{// an arbitrary value which represents the area where}}
\DoxyCodeLine{                      \textcolor{comment}{// the video would be placed}}
\DoxyCodeLine{\textcolor{keywordtype}{int} vw, vh;}
\DoxyCodeLine{\textcolor{keywordtype}{double} r, vr = \mbox{\hyperlink{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}{emotion\_object\_ratio\_get}}(obj);}
\DoxyCodeLine{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}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if} (vr > r) \textcolor{comment}{// the video is wider than the area}}
\DoxyCodeLine{  \{}
\DoxyCodeLine{     vw = w;}
\DoxyCodeLine{     vh = w / vr;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\textcolor{keywordflow}{else} \textcolor{comment}{// the video is taller than the area}}
\DoxyCodeLine{  \{}
\DoxyCodeLine{     vh = h;}
\DoxyCodeLine{     vw = h * vr;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{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\textquotesingle{}t fit inside it, we would do\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if} (vr > r) \textcolor{comment}{// the video is wider than the area}}
\DoxyCodeLine{  \{}
\DoxyCodeLine{     vh = h;}
\DoxyCodeLine{     vw = h * vr;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\textcolor{keywordflow}{else} \textcolor{comment}{// the video is taller than the area}}
\DoxyCodeLine{  \{}
\DoxyCodeLine{     vw = w;}
\DoxyCodeLine{     vh = w / vr;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{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}{0}
\DoxyCodeLine{vw = w;}
\DoxyCodeLine{vh = h;}
\DoxyCodeLine{evas\_object\_resize(obj, vw, vh);}
\end{DoxyCode}


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

 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{emotion_ratio}}
\end{DoxyImageNoCaption}


\begin{DoxyNote}{Note}
This function returns the aspect ratio that the video {\bfseries{should}} be, but sometimes the reported size from \mbox{\hyperlink{group__Emotion__Video_ga7552c37cd9a6dd992a36fe3bff8e6219}{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}
\mbox{\hyperlink{group__Emotion__Video_ga7552c37cd9a6dd992a36fe3bff8e6219}{emotion\+\_\+object\+\_\+size\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_ga7552c37cd9a6dd992a36fe3bff8e6219}\label{group__Emotion__Video_ga7552c37cd9a6dd992a36fe3bff8e6219}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_size\_get()}{emotion\_object\_size\_get()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int $\ast$}]{iw,  }\item[{int $\ast$}]{ih }\end{DoxyParamCaption})}



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\textquotesingle{}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 \mbox{\hyperlink{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}}, but sometimes the information stored in the file is wrong. So use the ratio size reported by \mbox{\hyperlink{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}}, since it is more likely going to be accurate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+LL} for {\ttfamily iw} or {\ttfamily ih} if you don\textquotesingle{}t need one of these values.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_ga95cbe302b34d539a6bdc86d96ae6055f}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_gaeaf6bc3f190527b9b35821e4b71d6a29}\label{group__Emotion__Video_gaeaf6bc3f190527b9b35821e4b71d6a29}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_smooth\_scale\_set()}{emotion\_object\_smooth\_scale\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{smooth }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_gac5ba80fa4daae823cb991b8679611310}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gac5ba80fa4daae823cb991b8679611310}\label{group__Emotion__Video_gac5ba80fa4daae823cb991b8679611310}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_smooth\_scale\_get()}{emotion\_object\_smooth\_scale\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_gaeaf6bc3f190527b9b35821e4b71d6a29}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gad040d2a82746ab4ef7840dcb0c77fd13}\label{group__Emotion__Video_gad040d2a82746ab4ef7840dcb0c77fd13}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_mute\_set()}{emotion\_object\_video\_mute\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{mute }\end{DoxyParamCaption})}



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\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).\\
\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}
\mbox{\hyperlink{group__Emotion__Video_ga52a65b068ee03546135b3fcebd9500fe}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get()}} 

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


References D\+BG.

\mbox{\Hypertarget{group__Emotion__Video_ga52a65b068ee03546135b3fcebd9500fe}\label{group__Emotion__Video_ga52a65b068ee03546135b3fcebd9500fe}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_mute\_get()}{emotion\_object\_video\_mute\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).
\end{DoxyReturn}
This function returns the mute video option from this emotion object. It can be set with \mbox{\hyperlink{group__Emotion__Video_gad040d2a82746ab4ef7840dcb0c77fd13}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}}.

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


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

\mbox{\Hypertarget{group__Emotion__Video_gafeb746f8b3b83fef4eee2b664076c368}\label{group__Emotion__Video_gafeb746f8b3b83fef4eee2b664076c368}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_subtitle\_file\_set()}{emotion\_object\_video\_subtitle\_file\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{filepath }\end{DoxyParamCaption})}



Set the video\textquotesingle{}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\textquotesingle{}s subtitle file path(i.\+e an .srt file) for supported subtitle formats consult the backend\textquotesingle{}s documentation.

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


References D\+BG.

\mbox{\Hypertarget{group__Emotion__Video_gada1bafe84baecf3f85e3f8df2028fdcc}\label{group__Emotion__Video_gada1bafe84baecf3f85e3f8df2028fdcc}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_subtitle\_file\_get()}{emotion\_object\_video\_subtitle\_file\_get()}}
{\footnotesize\ttfamily const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the video\textquotesingle{}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\textquotesingle{}s subtitle file path previously set, N\+U\+LL otherwise.
\end{DoxyReturn}
This function returns the video\textquotesingle{}s subtitle file path, if not previously set or in error N\+U\+LL is returned.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_gafeb746f8b3b83fef4eee2b664076c368}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set()}}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Emotion__Video_ga8b3ead27023f14dd6a8777a6d73a3fa6}\label{group__Emotion__Video_ga8b3ead27023f14dd6a8777a6d73a3fa6}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_channel\_count()}{emotion\_object\_video\_channel\_count()}}
{\footnotesize\ttfamily int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_gacac210cf804fd516f6512e03b6e17a21}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gacac210cf804fd516f6512e03b6e17a21}\label{group__Emotion__Video_gacac210cf804fd516f6512e03b6e17a21}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_channel\_name\_get()}{emotion\_object\_video\_channel\_name\_get()}}
{\footnotesize\ttfamily const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int}]{channel }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Emotion__Video_ga8b3ead27023f14dd6a8777a6d73a3fa6}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga0b6542c318d0e83786621dde052b3513}\label{group__Emotion__Video_ga0b6542c318d0e83786621dde052b3513}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_channel\_set()}{emotion\_object\_video\_channel\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{int}]{channel }\end{DoxyParamCaption})}



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\+BG.

\mbox{\Hypertarget{group__Emotion__Video_ga987bea3897cdc6c3a171311e5942c9b5}\label{group__Emotion__Video_ga987bea3897cdc6c3a171311e5942c9b5}} 
\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}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_video\_channel\_get()}{emotion\_object\_video\_channel\_get()}}
{\footnotesize\ttfamily int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



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}
