mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
add libeplayer3-arm test
This commit is contained in:
48
libeplayer3-arm/include/container.h
Normal file
48
libeplayer3-arm/include/container.h
Normal file
@@ -0,0 +1,48 @@
|
||||
#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
|
||||
} ContainerCmd_t;
|
||||
|
||||
typedef struct Container_s
|
||||
{
|
||||
char *Name;
|
||||
int (* Command)(/*Context_t*/void *, ContainerCmd_t, void *);
|
||||
char **Capabilities;
|
||||
|
||||
} Container_t;
|
||||
|
||||
extern Container_t FFMPEGContainer;
|
||||
|
||||
typedef struct ContainerHandler_s
|
||||
{
|
||||
char *Name;
|
||||
Container_t *selectedContainer;
|
||||
|
||||
int (* Command)(/*Context_t*/void *, ContainerCmd_t, void *);
|
||||
} ContainerHandler_t;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user