summaryrefslogtreecommitdiffstats
path: root/libavcodec/libschroedinger.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libschroedinger.h')
-rw-r--r--libavcodec/libschroedinger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/libschroedinger.h b/libavcodec/libschroedinger.h
index 71aa1b2..cfc2087 100644
--- a/libavcodec/libschroedinger.h
+++ b/libavcodec/libschroedinger.h
@@ -53,4 +53,11 @@ SchroVideoFormatEnum ff_get_schro_video_format_preset (AVCodecContext *avccontex
int ff_get_schro_frame_format(SchroChromaFormat schro_chroma_fmt,
SchroFrameFormat *schro_frame_fmt);
+/**
+* Create a Schro frame based on the dimensions and frame format
+* passed. Returns a pointer to a frame on success, NULL on failure.
+*/
+SchroFrame *ff_create_schro_frame(AVCodecContext *avccontext,
+ SchroFrameFormat schro_frame_fmt);
+
#endif /* AVCODEC_LIBSCHROEDINGER_H */
OpenPOWER on IntegriCloud