Statistics
| Branch: | Revision:

chunker-player / chunker_player / player_core.h @ 37fc5455

History | View | Annotate | Download (848 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_Finalize();
16
void ChunkerPlayerCore_Pause();
17
void ChunkerPlayerCore_Play();
18
int ChunkerPlayerCore_IsRunning();
19
void ChunkerPlayerCore_ResetAVQueues();
20
int ChunkerPlayerCore_EnqueueBlocks(const uint8_t *block, const int block_size);
21
void ChunkerPlayerCore_SetupOverlay(int width, int height);
22
void ChunkerPlayerCore_ChangeDelay(int ms); // positive to increase delay
23
void ChunkerPlayerCore_SetYCrop(int tcrop, int bcrop);
24

    
25
#endif // _CHUNKER_PLAYER_CORE_H