]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/frame.h
Merge commit 'b10c33c5ea9a41c41726fb5488ea1633e3f898ac'
[ffmpeg] / libavutil / frame.h
index 8dc4049072075bca4db285666c6934d2e8552df3..56001a879860bc86809ba7a4ee7213b8f333d838 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * This file is part of FFmpeg.
  *
  * FFmpeg is free software; you can redistribute it and/or
@@ -421,6 +420,12 @@ typedef struct AVFrame {
 
     enum AVChromaLocation chroma_location;
 
+    /**
+     * For hwaccel-format frames, this should be a reference to the
+     * AVHWFramesContext describing the frame.
+     */
+    AVBufferRef *hw_frames_ctx;
+
     /**
      * frame timestamp estimated using various heuristics, in stream time base
      * Code outside libavutil should access this field using: