Commit bf807253 authored by Anton Khirnov's avatar Anton Khirnov

lavc: rename bsf.h to bsf_internal.h

This will allow adding a public header named bsf.h
parent 9d443c3e
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "adts_header.h" #include "adts_header.h"
#include "adts_parser.h" #include "adts_parser.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "put_bits.h" #include "put_bits.h"
#include "get_bits.h" #include "get_bits.h"
#include "mpeg4audio.h" #include "mpeg4audio.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_av1.h" #include "cbs_av1.h"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_av1.h" #include "cbs_av1.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_av1.h" #include "cbs_av1.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libavutil/log.h" #include "libavutil/log.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
extern const AVBitStreamFilter ff_aac_adtstoasc_bsf; extern const AVBitStreamFilter ff_aac_adtstoasc_bsf;
extern const AVBitStreamFilter ff_av1_frame_merge_bsf; extern const AVBitStreamFilter ff_av1_frame_merge_bsf;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "libavutil/bprint.h" #include "libavutil/bprint.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#define IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems) #define IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems)
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef AVCODEC_BSF_H #ifndef AVCODEC_BSF_INTERNAL_H
#define AVCODEC_BSF_H #define AVCODEC_BSF_INTERNAL_H
#include "avcodec.h" #include "avcodec.h"
...@@ -41,4 +41,4 @@ int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt); ...@@ -41,4 +41,4 @@ int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt);
const AVClass *ff_bsf_child_class_next(const AVClass *prev); const AVClass *ff_bsf_child_class_next(const AVClass *prev);
#endif /* AVCODEC_BSF_H */ #endif /* AVCODEC_BSF_INTERNAL_H */
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt) static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt)
{ {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "dca_syncwords.h" #include "dca_syncwords.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <string.h> #include <string.h>
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "get_bits.h" #include "get_bits.h"
#include "ac3_parser_internal.h" #include "ac3_parser_internal.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "av1.h" #include "av1.h"
#include "av1_parse.h" #include "av1_parse.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "h2645_parse.h" #include "h2645_parse.h"
#include "h264.h" #include "h264.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_h264.h" #include "cbs_h264.h"
#include "h264.h" #include "h264.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "h264.h" #include "h264.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_h264.h" #include "cbs_h264.h"
#include "h264.h" #include "h264.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_h265.h" #include "cbs_h265.h"
#include "hevc.h" #include "hevc.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "hap.h" #include "hap.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "hevc.h" #include "hevc.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "jpegtables.h" #include "jpegtables.h"
#include "mjpeg.h" #include "mjpeg.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "mjpeg.h" #include "mjpeg.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
static int text2movsub(AVBSFContext *ctx, AVPacket *out) static int text2movsub(AVBSFContext *ctx, AVPacket *out)
{ {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "mpegaudiodecheader.h" #include "mpegaudiodecheader.h"
#include "mpegaudiodata.h" #include "mpegaudiodata.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_mpeg2.h" #include "cbs_mpeg2.h"
#include "mpeg12.h" #include "mpeg12.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "internal.h" #include "internal.h"
#include "mpeg4video.h" #include "mpeg4video.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <stdlib.h> #include <stdlib.h>
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
const AVBitStreamFilter ff_null_bsf = { const AVBitStreamFilter ff_null_bsf = {
.name = "null", .name = "null",
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "bsf.h" #include "bsf_internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
typedef struct ProresMetadataContext { typedef struct ProresMetadataContext {
const AVClass *class; const AVClass *class;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
enum RemoveFreq { enum RemoveFreq {
REMOVE_FREQ_KEYFRAME, REMOVE_FREQ_KEYFRAME,
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "get_bits.h" #include "get_bits.h"
#include "mlp_parse.h" #include "mlp_parse.h"
#include "mlp.h" #include "mlp.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "bsf.h" #include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_vp9.h" #include "cbs_vp9.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "bsf.h" #include "bsf_internal.h"
#include "get_bits.h" #include "get_bits.h"
#include "put_bits.h" #include "put_bits.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "get_bits.h" #include "get_bits.h"
#define MAX_CACHE 8 #define MAX_CACHE 8
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <stddef.h> #include <stddef.h>
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h" #include "bsf_internal.h"
#include "bytestream.h" #include "bytestream.h"
#include "get_bits.h" #include "get_bits.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h" #include "libavcodec/bsf_internal.h"
#include "libavcodec/bytestream.h" #include "libavcodec/bytestream.h"
#include "libavcodec/internal.h" #include "libavcodec/internal.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment