OpenMAX Bellagio  0.9.3
OMXComponentRMExt.c File Reference
#include "omxcore.h"
#include "omx_base_component.h"
#include "OMXComponentRMExt.h"

Go to the source code of this file.

Functions

OMX_ERRORTYPE getQualityLevel (OMX_HANDLETYPE hComponent, OMX_U32 *pQualityLevel)
 Returns the currently installed quality level of a OMXIL component instance. More...
 
OMX_ERRORTYPE setQualityLevel (OMX_HANDLETYPE hComponent, OMX_U32 nQualityLevel)
 Sets the quality level on a OMXIL component instance. More...
 

Function Documentation

◆ getQualityLevel()

OMX_ERRORTYPE getQualityLevel ( OMX_HANDLETYPE  hComponent,
OMX_U32 pQualityLevel 
)

Returns the currently installed quality level of a OMXIL component instance.

src/base/OMXComponentRMExt.c

This extension of the core provides functions for the resoruce manager used to retrieve the quality levels of the components available.

Copyright (C) 2008-2010 STMicroelectronics

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 30 of file OMXComponentRMExt.c.

References DEB_LEV_ERR, DEB_LEV_FUNCTION_NAME, DEBUG, err, omx_base_component_PrivateType::getQualityLevel, OMX_ErrorNone, OMX_ErrorNotImplemented, and OMX_COMPONENTTYPE::pComponentPrivate.

◆ setQualityLevel()

OMX_ERRORTYPE setQualityLevel ( OMX_HANDLETYPE  hComponent,
OMX_U32  nQualityLevel 
)

Sets the quality level on a OMXIL component instance.

Parameters
hComponent[IN] Component handle
nQualityLevel[IN] New quality level
Returns
OMX_ErrorNone
Remarks
This function should move to a OMX_GetParameter call with appropriate structure.

Definition at line 50 of file OMXComponentRMExt.c.

References DEB_LEV_ERR, DEB_LEV_FUNCTION_NAME, DEBUG, err, OMX_ErrorNone, OMX_ErrorNotImplemented, OMX_COMPONENTTYPE::pComponentPrivate, and omx_base_component_PrivateType::setQualityLevel.


Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo