[vlc-devel] [RFC PATCH 06/11] iomx: add android GraphicBuffers functions.

Martin Storsjö martin at martin.st
Tue Jun 24 18:21:57 CEST 2014


On Tue, 24 Jun 2014, Thomas Guillem wrote:

> - OMXAndroid_EnableGraphicBuffers: activate GraphicBuffers.
>  Next call of OMX_GetParameter(OMX_IndexParamPortDefinition) will return a
>  private eColorFormat compatible with android hal_format.
>
> - OMXAndroid_GetGraphicBufferUsage: return hw_usage that will be used to
>  allocate android hw buffers.
> ---
> modules/codec/omxil/iomx.cpp     |   20 ++++++++++++++++++++
> modules/codec/omxil/omxil_core.c |    6 ++++++
> modules/codec/omxil/omxil_core.h |    4 ++++
> 3 files changed, 30 insertions(+)
>

> diff --git a/modules/codec/omxil/omxil_core.h b/modules/codec/omxil/omxil_core.h
> index 38faba2..082e7f5 100644
> --- a/modules/codec/omxil/omxil_core.h
> +++ b/modules/codec/omxil/omxil_core.h
> @@ -33,6 +33,10 @@ OMX_ERRORTYPE (*pf_free_handle) (OMX_HANDLETYPE);
> OMX_ERRORTYPE (*pf_component_enum)(OMX_STRING, OMX_U32, OMX_U32);
> OMX_ERRORTYPE (*pf_get_roles_of_component)(OMX_STRING, OMX_U32 *, OMX_U8 **);
>
> +/* Extra IOMX android fonctions, can be NULL if we don't link with libiomx */

typo

// Martin



More information about the vlc-devel mailing list