summaryrefslogtreecommitdiff
path: root/include/kitchensink/internal/video/kitvideo.h
blob: 405c2586829849a884a096c82fbaf5c8732b273d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef KITVIDEO_H
#define KITVIDEO_H

#include <SDL_render.h>

#include "kitchensink/kitconfig.h"
#include "kitchensink/kitsource.h"
#include "kitchensink/internal/kitdecoder.h"

KIT_LOCAL Kit_Decoder* Kit_CreateVideoDecoder(const Kit_Source *src, int stream_index);
KIT_LOCAL int Kit_GetVideoDecoderData(Kit_Decoder *dec, SDL_Texture *texture);
KIT_LOCAL double Kit_GetVideoDecoderPTS(const Kit_Decoder *dec);

#endif // KITVIDEO_H