]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/frame.h
x86/imdct36: don't build imdct36_float_sse on x86_64 targets
[ffmpeg] / libavutil / frame.h
index b423f67996bbae83c69dab1b9ae728b69a8b8f0a..0cb5fb72ae2783b8081cf91f104fe513e59c9480 100644 (file)
@@ -673,6 +673,19 @@ int av_frame_is_writable(AVFrame *frame);
  */
 int av_frame_make_writable(AVFrame *frame);
 
+/**
+ * Copy the frame data from src to dst.
+ *
+ * This function does not allocate anything, dst must be already initialized and
+ * allocated with the same parameters as src.
+ *
+ * This function only copies the frame data (i.e. the contents of the data /
+ * extended data arrays), not any other properties.
+ *
+ * @return >= 0 on success, a negative AVERROR on error.
+ */
+int av_frame_copy(AVFrame *dst, const AVFrame *src);
+
 /**
  * Copy only "metadata" fields from src to dst.
  *