Public Attributes

limoi_video_scheduler_callbacks_t Struct Reference
[video scheduler base]

#include <limoi-video-scheduler.h>

List of all members.

Public Attributes

OMX_ERRORTYPE(* command_prep )(limoi_component_cmd_t *cmd)
OMX_ERRORTYPE(* command_post )(limoi_component_cmd_t *cmd)
int(* schedule )(OMX_HANDLETYPE hComp, limoi_port_t *in_port, OMX_BUFFERHEADERTYPE **in_buf, OMX_BUFFERHEADERTYPE *out_buf, OMX_HANDLETYPE clock_tunnel_comp, int clock_tunnel_port, int clock_port)
int(* clock )(OMX_HANDLETYPE hComp, limoi_port_t *in_port, limoi_port_t *out_port, OMX_BUFFERHEADERTYPE *out_buf, OMX_HANDLETYPE clock_tunnel_comp, OMX_BUFFERHEADERTYPE *clock_buf)

Detailed Description

limoi video scheduler component callbacks.


Member Data Documentation

int(* clock)(OMX_HANDLETYPE hComp, limoi_port_t *in_port, limoi_port_t *out_port, OMX_BUFFERHEADERTYPE *out_buf, OMX_HANDLETYPE clock_tunnel_comp, OMX_BUFFERHEADERTYPE *clock_buf)

clock update function.

Parameters:
hComp video scheduler component handle
in_port video input port.
out_buf scheduled output video buffer.
clock_tunnel_comp tunneled clock component if not null.
clock_buf clock buffer if available.
OMX_ERRORTYPE(* command_post)(limoi_component_cmd_t *cmd)

component private command post process handle. if not null, this gets called after the scheduler processes command within the callback context, without holding the command mutex, nor the component and port mutex.

OMX_ERRORTYPE(* command_prep)(limoi_component_cmd_t *cmd)

component private command preparation handle. if not null, this gets called before the scheduler processes command within the callback context, without holding the command mutex, nor the component and port mutex.

int(* schedule)(OMX_HANDLETYPE hComp, limoi_port_t *in_port, OMX_BUFFERHEADERTYPE **in_buf, OMX_BUFFERHEADERTYPE *out_buf, OMX_HANDLETYPE clock_tunnel_comp, int clock_tunnel_port, int clock_port)

scheduling function.

Parameters:
hComp video scheduler component handle
in_port video input port.
in_buf video buffer to schedule.
out_buf scheduled output video buffer, useful for passthru test.
clock_tunnel_comp tunneled clock component if available.
clock_tunnel_port tunneled clock port index if available.
clock_port scheduler clock port index.
Returns:
0: OK and input buffer has been scheduled. 1: OK but input buffer has not been scheduled. -1: unrecoverable error.
LIMOpenMAX Implementation API Reference - Generated by doxygen