Files
recycled-ni-libstb-hal/libeplayer3-arm/include/container.h
max_10 2472bff7d2 [libarmbox] libeplayer3-arm code format
Origin commit data
------------------
Branch: master
Commit: 6886c61e10
Author: max_10 <max_10@gmx.de>
Date: 2018-08-30 (Thu, 30 Aug 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-10-04 22:29:40 +02:00

52 lines
951 B
C

#ifndef CONTAINER_H_
#define CONTAINER_H_
#include <stdio.h>
typedef enum
{
CONTAINER_INIT,
CONTAINER_ADD,
CONTAINER_CAPABILITIES,
CONTAINER_PLAY,
CONTAINER_STOP,
CONTAINER_SEEK,
CONTAINER_SEEK_ABS,
CONTAINER_LENGTH,
CONTAINER_DEL,
CONTAINER_SWITCH_AUDIO,
CONTAINER_SWITCH_SUBTITLE,
CONTAINER_INFO,
CONTAINER_STATUS,
CONTAINER_LAST_PTS,
CONTAINER_DATA,
CONTAINER_SET_BUFFER_SEEK_TIME,
CONTAINER_SET_BUFFER_SIZE,
CONTAINER_GET_BUFFER_SIZE,
CONTAINER_GET_BUFFER_STATUS,
CONTAINER_STOP_BUFFER,
CONTAINER_GET_METADATA
} ContainerCmd_t;
struct Context_s;
typedef struct Context_s Context_t;
typedef struct Container_s
{
char *Name;
int (* Command)(Context_t *, ContainerCmd_t, void *);
char **Capabilities;
} Container_t;
extern Container_t FFMPEGContainer;
typedef struct ContainerHandler_s
{
char *Name;
Container_t *selectedContainer;
int (* Command)(Context_t *, ContainerCmd_t, void *);
} ContainerHandler_t;
#endif