Statistics
| Branch: | Revision:

chunker-player / chunker_player / player_core.h @ e5557dc3

History | View | Annotate | Download (684 Bytes)

1
#ifndef _CHUNKER_PLAYER_CORE_H
2
#define _CHUNKER_PLAYER_CORE_H
3

    
4
#include <stdint.h>
5

    
6
typedef struct threadVal {
7
        int width;
8
        int height;
9
        char *video_codec;
10
} ThreadVal;
11

    
12
int ChunkerPlayerCore_InitCodecs(char *v_codec, int width, int height, char *audio_codec, int sample_rate, short int audio_channels);
13
int ChunkerPlayerCore_AudioEnded();
14
void ChunkerPlayerCore_Stop();
15
void ChunkerPlayerCore_Pause();
16
void ChunkerPlayerCore_Play();
17
int ChunkerPlayerCore_IsRunning();
18
void ChunkerPlayerCore_ResetAVQueues();
19
int ChunkerPlayerCore_EnqueueBlocks(const uint8_t *block, const int block_size);
20
void ChunkerPlayerCore_SetupOverlay(int width, int height);
21

    
22
#endif // _CHUNKER_PLAYER_CORE_H