\hypertarget{group__Emotion__Video}{}\doxysection{Video control functions}
\label{group__Emotion__Video}\index{Video control functions@{Video control functions}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga29b8b61b4f034bdef8a4962f9b93e24d}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga04ab67d610efd553d250054c35eeb9d1}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga52f4a70cb5544588a7d876fd964a64f6}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_gac1d62b02596c010751a8bd2d91e3b536}{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 
EMOTION\+\_\+\+API \mbox{\hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect}} \mbox{\hyperlink{group__Emotion__Video_gae0272afc3d6fe2355e583299445e18ed}{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 
EMOTION\+\_\+\+API double \mbox{\hyperlink{group__Emotion__Video_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_gae454b8c2d733de79da8013d64b7a2384}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga4e33cce625b5e12a2a9c65e86b0bdaf3}{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 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__Video_gaa4c26477bdb25c5f4ddddafef989f389}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga36753f32fa59baf864b42abae0f10616}{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 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__Video_gab143b5a11ddf04806fc089afd1336e2c}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga4478b451a936fe79867e5466b08ba63e}{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 
EMOTION\+\_\+\+API const char $\ast$ \mbox{\hyperlink{group__Emotion__Video_ga9ef0069dd8cebe5538618efbfa56c991}{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 
EMOTION\+\_\+\+API int \mbox{\hyperlink{group__Emotion__Video_ga546ab50af17f2fd620fb14a4827b066e}{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 
EMOTION\+\_\+\+API const char $\ast$ \mbox{\hyperlink{group__Emotion__Video_ga7ad89056d96f0714f24c451e3f5ec872}{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 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__Video_ga8050c85eb9a30d39491e08784c9ff6f1}{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 
EMOTION\+\_\+\+API int \mbox{\hyperlink{group__Emotion__Video_gae3d81084d3bcb081c0249e14f5b6da9f}{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_ga64cae006ba016ddff6fd036c27427ab1}\label{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}} 
\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 EMOTION\+\_\+\+API 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_ga04ab67d610efd553d250054c35eeb9d1}{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_ga29b8b61b4f034bdef8a4962f9b93e24d}{emotion\+\_\+object\+\_\+border\+\_\+get()}} 

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


References \mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{EMOTION\+\_\+\+ASPECT\+\_\+\+CUSTOM}}, and \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga6e8e78e110392480dd612df86a16b630}{evas\+\_\+object\+\_\+geometry\+\_\+get()}}.

\mbox{\Hypertarget{group__Emotion__Video_ga29b8b61b4f034bdef8a4962f9b93e24d}\label{group__Emotion__Video_ga29b8b61b4f034bdef8a4962f9b93e24d}} 
\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 EMOTION\+\_\+\+API 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_ga64cae006ba016ddff6fd036c27427ab1}{emotion\+\_\+object\+\_\+border\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga04ab67d610efd553d250054c35eeb9d1}\label{group__Emotion__Video_ga04ab67d610efd553d250054c35eeb9d1}} 
\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 EMOTION\+\_\+\+API 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_ga52f4a70cb5544588a7d876fd964a64f6}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Evas__Object__Group__Basic_gab751e9d24c16e74af6f7c08ea5b930c2}{evas\+\_\+object\+\_\+color\+\_\+set()}}.

\mbox{\Hypertarget{group__Emotion__Video_ga52f4a70cb5544588a7d876fd964a64f6}\label{group__Emotion__Video_ga52f4a70cb5544588a7d876fd964a64f6}} 
\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 EMOTION\+\_\+\+API 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} & AAlpha channel of the color.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_ga04ab67d610efd553d250054c35eeb9d1}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Evas__Object__Group__Basic_gad204691b53639244ee1062d3f349f1d9}{evas\+\_\+object\+\_\+color\+\_\+get()}}.

\mbox{\Hypertarget{group__Emotion__Video_gac1d62b02596c010751a8bd2d91e3b536}\label{group__Emotion__Video_gac1d62b02596c010751a8bd2d91e3b536}} 
\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 EMOTION\+\_\+\+API 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_ga64cae006ba016ddff6fd036c27427ab1}{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}{EMOTION\+\_\+\+ASPECT\+\_\+\+KEEP\+\_\+\+NONE}}}} -\/ 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 EVAS\+\_\+\+ASPECT\+\_\+\+CONTROL\+\_\+\+NONE size hint.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61aec6ba7c7332158b49ee2c5614fb59c60}{EMOTION\+\_\+\+ASPECT\+\_\+\+KEEP\+\_\+\+WIDTH}}}} -\/ respect the video aspect ratio, fitting the video width inside the object width. This option is similar to EVAS\+\_\+\+ASPECT\+\_\+\+CONTROL\+\_\+\+HORIZONTAL size hint.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a927124cab0fee543d0d558d279c266b4}{EMOTION\+\_\+\+ASPECT\+\_\+\+KEEP\+\_\+\+HEIGHT}}}} -\/ respect the video aspect ratio, fitting the video height inside the object height. This option is similar to EVAS\+\_\+\+ASPECT\+\_\+\+CONTROL\+\_\+\+VERTIAL size hint.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a8cb5c2eb7a71ae678af55ab916eb8f4c}{EMOTION\+\_\+\+ASPECT\+\_\+\+KEEP\+\_\+\+BOTH}}}} -\/ respect the video aspect ratio, fitting both its width and height inside the object area. This option is similar to EVAS\+\_\+\+ASPECT\+\_\+\+CONTROL\+\_\+\+BOTH size hint. It\textquotesingle{}s the effect called letterboxing.
\item {\bfseries{\mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab33362693bc471e3767e3578531a869c}{EMOTION\+\_\+\+ASPECT\+\_\+\+CROP}}}} -\/ 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}{EMOTION\+\_\+\+ASPECT\+\_\+\+CUSTOM}}}} -\/ ignore the video aspect ratio, and use the current set from \mbox{\hyperlink{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}{emotion\+\_\+object\+\_\+border\+\_\+set()}}.
\end{DoxyItemize}

\begin{DoxyNote}{Note}
Calling this function with any value except \mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{EMOTION\+\_\+\+ASPECT\+\_\+\+CUSTOM}} will invalidate borders set with \mbox{\hyperlink{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}{emotion\+\_\+object\+\_\+border\+\_\+set()}}.

Calling \mbox{\hyperlink{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}{emotion\+\_\+object\+\_\+border\+\_\+set()}} will automatically set the aspect policy to \mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{EMOTION\+\_\+\+ASPECT\+\_\+\+CUSTOM}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_ga64cae006ba016ddff6fd036c27427ab1}{emotion\+\_\+object\+\_\+border\+\_\+set()}} 

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


References \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga6e8e78e110392480dd612df86a16b630}{evas\+\_\+object\+\_\+geometry\+\_\+get()}}.

\mbox{\Hypertarget{group__Emotion__Video_gae0272afc3d6fe2355e583299445e18ed}\label{group__Emotion__Video_gae0272afc3d6fe2355e583299445e18ed}} 
\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 EMOTION\+\_\+\+API \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_gac1d62b02596c010751a8bd2d91e3b536}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61acc33e435364654694e6a614803cbe371}{EMOTION\+\_\+\+ASPECT\+\_\+\+KEEP\+\_\+\+NONE}}.

\mbox{\Hypertarget{group__Emotion__Video_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}\label{group__Emotion__Video_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}} 
\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 EMOTION\+\_\+\+API 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_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}{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{\mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{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{\mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{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{\mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{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_gae454b8c2d733de79da8013d64b7a2384}{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_gae454b8c2d733de79da8013d64b7a2384}{emotion\+\_\+object\+\_\+size\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}}, and \mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_gae454b8c2d733de79da8013d64b7a2384}\label{group__Emotion__Video_gae454b8c2d733de79da8013d64b7a2384}} 
\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 EMOTION\+\_\+\+API 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_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}{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_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}}, since it is more likely going to be accurate.

\begin{DoxyNote}{Note}
Use {\ttfamily NULL} 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_gaf1bc96bcdbba85bdf19e9b960c9e9f6c}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}}, and \mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_ga4e33cce625b5e12a2a9c65e86b0bdaf3}\label{group__Emotion__Video_ga4e33cce625b5e12a2a9c65e86b0bdaf3}} 
\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 EMOTION\+\_\+\+API 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_gaa4c26477bdb25c5f4ddddafef989f389}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_gaa4c26477bdb25c5f4ddddafef989f389}\label{group__Emotion__Video_gaa4c26477bdb25c5f4ddddafef989f389}} 
\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 EMOTION\+\_\+\+API \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_ga4e33cce625b5e12a2a9c65e86b0bdaf3}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga36753f32fa59baf864b42abae0f10616}\label{group__Emotion__Video_ga36753f32fa59baf864b42abae0f10616}} 
\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 EMOTION\+\_\+\+API 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 EINA\+\_\+\+TRUE}) or not ({\ttfamily EINA\+\_\+\+FALSE}).\\
\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_gab143b5a11ddf04806fc089afd1336e2c}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get()}} 

\mbox{\hyperlink{group__Emotion__Audio_ga6b7c81b19145156977540d31e040758d}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_gab143b5a11ddf04806fc089afd1336e2c}\label{group__Emotion__Video_gab143b5a11ddf04806fc089afd1336e2c}} 
\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 EMOTION\+\_\+\+API \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 EINA\+\_\+\+TRUE}) or not ({\ttfamily EINA\+\_\+\+FALSE}).
\end{DoxyReturn}
This function returns the mute video option from this emotion object. It can be set with \mbox{\hyperlink{group__Emotion__Video_ga36753f32fa59baf864b42abae0f10616}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_ga36753f32fa59baf864b42abae0f10616}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Emotion__Video_ga4478b451a936fe79867e5466b08ba63e}\label{group__Emotion__Video_ga4478b451a936fe79867e5466b08ba63e}} 
\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 EMOTION\+\_\+\+API 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_ga9ef0069dd8cebe5538618efbfa56c991}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get()}}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Emotion__Video_ga9ef0069dd8cebe5538618efbfa56c991}\label{group__Emotion__Video_ga9ef0069dd8cebe5538618efbfa56c991}} 
\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 EMOTION\+\_\+\+API 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, NULL otherwise.
\end{DoxyReturn}
This function returns the video\textquotesingle{}s subtitle file path, if not previously set or in error NULL is returned.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Video_ga4478b451a936fe79867e5466b08ba63e}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set()}}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Emotion__Video_ga546ab50af17f2fd620fb14a4827b066e}\label{group__Emotion__Video_ga546ab50af17f2fd620fb14a4827b066e}} 
\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 EMOTION\+\_\+\+API 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_ga7ad89056d96f0714f24c451e3f5ec872}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_ga7ad89056d96f0714f24c451e3f5ec872}\label{group__Emotion__Video_ga7ad89056d96f0714f24c451e3f5ec872}} 
\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 EMOTION\+\_\+\+API 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_ga546ab50af17f2fd620fb14a4827b066e}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga8050c85eb9a30d39491e08784c9ff6f1}\label{group__Emotion__Video_ga8050c85eb9a30d39491e08784c9ff6f1}} 
\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 EMOTION\+\_\+\+API 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}
\mbox{\Hypertarget{group__Emotion__Video_gae3d81084d3bcb081c0249e14f5b6da9f}\label{group__Emotion__Video_gae3d81084d3bcb081c0249e14f5b6da9f}} 
\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 EMOTION\+\_\+\+API 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}
