diff options
author | Johns <johns98@gmx.net> | 2012-01-30 15:58:21 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-01-30 15:58:21 +0100 |
commit | dab31e2367dfcb9fd3d1d05a9682f2eac1e6da8f (patch) | |
tree | 7bd004b9360b78aea4840f07578317ad9a219345 /video.h | |
parent | e613ff1f7e3095a450a729767313da2543c389bd (diff) | |
download | vdr-plugin-softhddevice-dab31e2367dfcb9fd3d1d05a9682f2eac1e6da8f.tar.gz vdr-plugin-softhddevice-dab31e2367dfcb9fd3d1d05a9682f2eac1e6da8f.tar.bz2 |
Finished rewrite of video code, to support modules.
Diffstat (limited to 'video.h')
-rw-r--r-- | video.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -47,16 +47,17 @@ extern unsigned VideoGetSurface(VideoHwDecoder *); extern void VideoReleaseSurface(VideoHwDecoder *, unsigned); #ifdef LIBAVCODEC_VERSION + /// Callback to negotiate the PixelFormat. +extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *, + const enum PixelFormat *); + /// Render a ffmpeg frame. -extern void VideoRenderFrame(VideoHwDecoder *, AVCodecContext *, AVFrame *); +extern void VideoRenderFrame(VideoHwDecoder *, const AVCodecContext *, + const AVFrame *); /// Get ffmpeg vaapi context. extern struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder *); - /// Callback to negotiate the PixelFormat. -extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *, - const enum PixelFormat *); - #ifdef AVCODEC_VDPAU_H /// Draw vdpau render state. extern void VideoDrawRenderState(VideoHwDecoder *, |