summaryrefslogtreecommitdiff
path: root/libavcodec/packet_internal.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-06-02 18:38:33 -0300
committerJames Almer <jamrial@gmail.com>2020-06-02 19:02:12 -0300
commit6e1903938befc0bce2f64e01770af2f65d625cfc (patch)
tree051289a7c1661ea2dd4e49f487d1a945f5b10a34 /libavcodec/packet_internal.h
parentcca8f53a8e14a62b223c8030c7d083c37505fc95 (diff)
downloadffmpeg-6e1903938befc0bce2f64e01770af2f65d625cfc.tar.gz
avcodec/internal: move packet related functions to their own header
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/packet_internal.h')
-rw-r--r--libavcodec/packet_internal.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libavcodec/packet_internal.h b/libavcodec/packet_internal.h
new file mode 100644
index 0000000000..cdb9a27f2f
--- /dev/null
+++ b/libavcodec/packet_internal.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_PACKET_INTERNAL_H
+#define AVCODEC_PACKET_INTERNAL_H
+
+#include <stdint.h>
+
+#include "packet.h"
+
+int ff_side_data_set_encoder_stats(AVPacket *pkt, int quality, int64_t *error, int error_count, int pict_type);
+
+int ff_side_data_set_prft(AVPacket *pkt, int64_t timestamp);
+
+#endif // AVCODEC_PACKET_INTERNAL_H