\hypertarget{group__Emotion__Ressource}{}\doxysection{Video resource management}
\label{group__Emotion__Ressource}\index{Video resource management@{Video resource management}}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} \{ \newline
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fad0c0b1259142a26123b7fbd0d636072d}{E\+M\+O\+T\+I\+O\+N\+\_\+\+W\+A\+K\+E\+UP}}, 
\newline
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84faff7e65f14703dd688e762bcfe0254397}{E\+M\+O\+T\+I\+O\+N\+\_\+\+S\+L\+E\+EP}}, 
\newline
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa03262db0399cae7bb1de27884e4e986f}{E\+M\+O\+T\+I\+O\+N\+\_\+\+D\+E\+E\+P\+\_\+\+S\+L\+E\+EP}}, 
\newline
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa5dd6c2d73f04ce3060d612b837bfa62a}{E\+M\+O\+T\+I\+O\+N\+\_\+\+H\+I\+B\+E\+R\+N\+A\+TE}}
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Emotion__Ressource_gaba0b07ab6eb7de3f53b6f621a645fc35}{emotion\+\_\+object\+\_\+priority\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} priority)
\begin{DoxyCompactList}\small\item\em Raise priority of an object so it will have a priviledged access to hardware resources. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__Ressource_ga6561e3f99df137b0d672cea15535f054}{emotion\+\_\+object\+\_\+priority\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the actual priority of an object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Emotion__Ressource_ga946ee4815c436cb4c6e9c6feea9f3412}{emotion\+\_\+object\+\_\+suspend\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} state)
\begin{DoxyCompactList}\small\item\em Change the state of an object pipeline. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} \mbox{\hyperlink{group__Emotion__Ressource_ga1f53432d0e47d8ee05ca2927d18255be}{emotion\+\_\+object\+\_\+suspend\+\_\+get}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the current state of the pipeline. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}\label{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}} 
\index{Video resource management@{Video resource management}!Emotion\_Suspend@{Emotion\_Suspend}}
\index{Emotion\_Suspend@{Emotion\_Suspend}!Video resource management@{Video resource management}}
\doxysubsubsection{\texorpdfstring{Emotion\_Suspend}{Emotion\_Suspend}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}}}

Used for emotion pipeline resource management.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Ressource_ga946ee4815c436cb4c6e9c6feea9f3412}{emotion\+\_\+object\+\_\+suspend\+\_\+set()}} 

\mbox{\hyperlink{group__Emotion__Ressource_ga1f53432d0e47d8ee05ca2927d18255be}{emotion\+\_\+object\+\_\+suspend\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{EMOTION\_WAKEUP@{EMOTION\_WAKEUP}!Video resource management@{Video resource management}}\index{Video resource management@{Video resource management}!EMOTION\_WAKEUP@{EMOTION\_WAKEUP}}}\mbox{\Hypertarget{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fad0c0b1259142a26123b7fbd0d636072d}\label{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fad0c0b1259142a26123b7fbd0d636072d}} 
E\+M\+O\+T\+I\+O\+N\+\_\+\+W\+A\+K\+E\+UP&pipeline is up and running \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EMOTION\_SLEEP@{EMOTION\_SLEEP}!Video resource management@{Video resource management}}\index{Video resource management@{Video resource management}!EMOTION\_SLEEP@{EMOTION\_SLEEP}}}\mbox{\Hypertarget{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84faff7e65f14703dd688e762bcfe0254397}\label{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84faff7e65f14703dd688e762bcfe0254397}} 
E\+M\+O\+T\+I\+O\+N\+\_\+\+S\+L\+E\+EP&turn off hardware resource usage like overlay \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EMOTION\_DEEP\_SLEEP@{EMOTION\_DEEP\_SLEEP}!Video resource management@{Video resource management}}\index{Video resource management@{Video resource management}!EMOTION\_DEEP\_SLEEP@{EMOTION\_DEEP\_SLEEP}}}\mbox{\Hypertarget{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa03262db0399cae7bb1de27884e4e986f}\label{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa03262db0399cae7bb1de27884e4e986f}} 
E\+M\+O\+T\+I\+O\+N\+\_\+\+D\+E\+E\+P\+\_\+\+S\+L\+E\+EP&destroy the pipeline, but keep full resolution pixels output around \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EMOTION\_HIBERNATE@{EMOTION\_HIBERNATE}!Video resource management@{Video resource management}}\index{Video resource management@{Video resource management}!EMOTION\_HIBERNATE@{EMOTION\_HIBERNATE}}}\mbox{\Hypertarget{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa5dd6c2d73f04ce3060d612b837bfa62a}\label{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84fa5dd6c2d73f04ce3060d612b837bfa62a}} 
E\+M\+O\+T\+I\+O\+N\+\_\+\+H\+I\+B\+E\+R\+N\+A\+TE&destroy the pipeline, and keep half resolution or object resolution if lower \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Emotion__Ressource_gaba0b07ab6eb7de3f53b6f621a645fc35}\label{group__Emotion__Ressource_gaba0b07ab6eb7de3f53b6f621a645fc35}} 
\index{Video resource management@{Video resource management}!emotion\_object\_priority\_set@{emotion\_object\_priority\_set}}
\index{emotion\_object\_priority\_set@{emotion\_object\_priority\_set}!Video resource management@{Video resource management}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_priority\_set()}{emotion\_object\_priority\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+priority\+\_\+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}}}]{priority }\end{DoxyParamCaption})}



Raise priority of an object so it will have a priviledged access to hardware resources. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which the query is being ran on. \\
\hline
{\em priority} & E\+I\+N\+A\+\_\+\+T\+R\+UE means give me a priority access to the hardware resources.\\
\hline
\end{DoxyParams}
Hardware have a few dedicated hardware pipeline that process the video at no cost for the C\+PU. Especially on SoC, you mostly have one (on mobile phone SoC) or two (on Set Top Box SoC) when Picture in Picture is needed. And most application just have a few video stream that really deserve high frame rate, high quality output. That\textquotesingle{}s why this call is for.

Please note that if Emotion can\textquotesingle{}t acquire a priviledged hardware resource, it will fallback to the no-\/priority path. This work on the first asking first get basis system.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Ressource_ga6561e3f99df137b0d672cea15535f054}{emotion\+\_\+object\+\_\+priority\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Ressource_ga6561e3f99df137b0d672cea15535f054}\label{group__Emotion__Ressource_ga6561e3f99df137b0d672cea15535f054}} 
\index{Video resource management@{Video resource management}!emotion\_object\_priority\_get@{emotion\_object\_priority\_get}}
\index{emotion\_object\_priority\_get@{emotion\_object\_priority\_get}!Video resource management@{Video resource management}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_priority\_get()}{emotion\_object\_priority\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+object\+\_\+priority\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the actual priority of an object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which the query is being ran on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE if the object has a priority access to the hardware.
\end{DoxyReturn}
This actually return the priority status of an object. If it failed to have a priviledged access to the hardware, it will return E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Ressource_ga6561e3f99df137b0d672cea15535f054}{emotion\+\_\+object\+\_\+priority\+\_\+get()}} 
\end{DoxySeeAlso}


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

\mbox{\Hypertarget{group__Emotion__Ressource_ga946ee4815c436cb4c6e9c6feea9f3412}\label{group__Emotion__Ressource_ga946ee4815c436cb4c6e9c6feea9f3412}} 
\index{Video resource management@{Video resource management}!emotion\_object\_suspend\_set@{emotion\_object\_suspend\_set}}
\index{emotion\_object\_suspend\_set@{emotion\_object\_suspend\_set}!Video resource management@{Video resource management}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_suspend\_set()}{emotion\_object\_suspend\_set()}}
{\footnotesize\ttfamily void emotion\+\_\+object\+\_\+suspend\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}}}]{state }\end{DoxyParamCaption})}



Change the state of an object pipeline. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which the query is being ran on. \\
\hline
{\em state} & The new state for the object.\\
\hline
\end{DoxyParams}
Changing the state of a pipeline should help preserve the battery of an embedded device. But it will only work sanely if the pipeline is not playing at the time you change its state. Depending on the engine all state may be not implemented.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} 

\mbox{\hyperlink{group__Emotion__Ressource_ga1f53432d0e47d8ee05ca2927d18255be}{emotion\+\_\+object\+\_\+suspend\+\_\+get()}} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+D\+E\+E\+P\+\_\+\+S\+L\+E\+EP, E\+M\+O\+T\+I\+O\+N\+\_\+\+H\+I\+B\+E\+R\+N\+A\+TE, E\+M\+O\+T\+I\+O\+N\+\_\+\+S\+L\+E\+EP, and E\+M\+O\+T\+I\+O\+N\+\_\+\+W\+A\+K\+E\+UP.

\mbox{\Hypertarget{group__Emotion__Ressource_ga1f53432d0e47d8ee05ca2927d18255be}\label{group__Emotion__Ressource_ga1f53432d0e47d8ee05ca2927d18255be}} 
\index{Video resource management@{Video resource management}!emotion\_object\_suspend\_get@{emotion\_object\_suspend\_get}}
\index{emotion\_object\_suspend\_get@{emotion\_object\_suspend\_get}!Video resource management@{Video resource management}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_suspend\_get()}{emotion\_object\_suspend\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} emotion\+\_\+object\+\_\+suspend\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the current state of the pipeline. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which the query is being ran on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the current state of the pipeline.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__Ressource_ga4e8f76b4dfa9b67ec3069452b3ace84f}{Emotion\+\_\+\+Suspend}} 

\mbox{\hyperlink{group__Emotion__Ressource_ga946ee4815c436cb4c6e9c6feea9f3412}{emotion\+\_\+object\+\_\+suspend\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+W\+A\+K\+E\+UP.

