mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
* remove ilclient * use a decoder implementation similar to pidvbip instead, see https://github.com/linuxstb/pidvbip * video is decoded in hardware (videocore) * audio is decoded by libavcodec * add a AVDec wrapper class for both audio and video decoders * very raw, needs more polishing. But decodes audio and video :-) * only tested with h264
15 lines
480 B
C
15 lines
480 B
C
#ifndef _AVCODEC_OMX_H
|
|
#define _AVCODEC_OMX_H
|
|
|
|
#include "codec.h"
|
|
#include "omx_utils.h"
|
|
|
|
void acodec_omx_init(struct codec_t* codec, struct omx_pipeline_t* pipe);
|
|
void acodec_omx_add_to_queue(struct codec_t* codec, struct packet_t* packet);
|
|
|
|
void vcodec_omx_init(struct codec_t* codec, struct omx_pipeline_t* pipe, char* audio_dest);
|
|
void vcodec_omx_add_to_queue(struct codec_t* codec, struct packet_t* packet);
|
|
int64_t vcodec_omx_current_get_pts(struct codec_t* codec);
|
|
|
|
#endif
|