This will allow adding a public header named bsf.h
Unified · Split
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "adts_header.h" |
| 23 | 23 | #include "adts_parser.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | −#include "bsf.h" | |
| 25 | +#include "bsf_internal.h" | |
| 26 | 26 | #include "put_bits.h" |
| 27 | 27 | #include "get_bits.h" |
| 28 | 28 | #include "mpeg4audio.h" |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "cbs.h" |
| 24 | 24 | #include "cbs_av1.h" |
| 25 | 25 | |
| @@ -33,7 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/avassert.h" |
| 34 | 34 | |
| 35 | 35 | #include "avcodec.h" |
| 36 | −#include "bsf.h" | |
| 36 | +#include "bsf_internal.h" | |
| 37 | 37 | #include "cbs.h" |
| 38 | 38 | #include "cbs_av1.h" |
| 39 | 39 | |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/common.h" |
| 20 | 20 | #include "libavutil/opt.h" |
| 21 | 21 | |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "cbs.h" |
| 24 | 24 | #include "cbs_av1.h" |
| 25 | 25 | |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/log.h" |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | −#include "bsf.h" | |
| 25 | +#include "bsf_internal.h" | |
| 26 | 26 | |
| 27 | 27 | extern const AVBitStreamFilter ff_aac_adtstoasc_bsf; |
| 28 | 28 | extern const AVBitStreamFilter ff_av1_frame_merge_bsf; |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/bprint.h" |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | |
| 31 | 31 | #define IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems) |
| 32 | 32 | |
| @@ -16,8 +16,8 @@ · 15 unmodified lines | ||
| 16 | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | −#ifndef AVCODEC_BSF_H | |
| 20 | −#define AVCODEC_BSF_H | |
| 19 | +#ifndef AVCODEC_BSF_INTERNAL_H | |
| 20 | +#define AVCODEC_BSF_INTERNAL_H | |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | |
| @@ -41,4 +41,4 @@ int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt); · 17 unmodified lines | ||
| 41 | 41 | |
| 42 | 42 | const AVClass *ff_bsf_child_class_next(const AVClass *prev); |
| 43 | 43 | |
| 44 | −#endif /* AVCODEC_BSF_H */ | |
| 44 | +#endif /* AVCODEC_BSF_INTERNAL_H */ | |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | −#include "bsf.h" | |
| 23 | +#include "bsf_internal.h" | |
| 24 | 24 | |
| 25 | 25 | static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt) |
| 26 | 26 | { |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "bytestream.h" |
| 24 | 24 | #include "dca_syncwords.h" |
| 25 | 25 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include <string.h> |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | |
| 26 | 26 | #include "libavutil/log.h" |
| 27 | 27 | #include "libavutil/opt.h" |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "get_bits.h" |
| 24 | 24 | #include "ac3_parser_internal.h" |
| 25 | 25 | |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "av1.h" |
| 28 | 28 | #include "av1_parse.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "h2645_parse.h" |
| 32 | 32 | #include "h264.h" |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "libavutil/opt.h" |
| 23 | 23 | |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "cbs.h" |
| 26 | 26 | |
| 27 | 27 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "libavutil/opt.h" |
| 23 | 23 | |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "cbs.h" |
| 26 | 26 | #include "cbs_h264.h" |
| 27 | 27 | #include "h264.h" |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/mem.h" |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "h264.h" |
| 32 | 32 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "libavutil/mem.h" |
| 23 | 23 | |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "cbs.h" |
| 26 | 26 | #include "cbs_h264.h" |
| 27 | 27 | #include "h264.h" |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/common.h" |
| 20 | 20 | #include "libavutil/opt.h" |
| 21 | 21 | |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "cbs.h" |
| 24 | 24 | #include "cbs_h265.h" |
| 25 | 25 | #include "hevc.h" |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "hap.h" |
| 32 | 32 | |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/mem.h" |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | −#include "bsf.h" | |
| 28 | +#include "bsf_internal.h" | |
| 29 | 29 | #include "bytestream.h" |
| 30 | 30 | #include "hevc.h" |
| 31 | 31 | |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | |
| 32 | 32 | |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/intreadwrite.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | −#include "bsf.h" | |
| 33 | +#include "bsf_internal.h" | |
| 34 | 34 | #include "jpegtables.h" |
| 35 | 35 | #include "mjpeg.h" |
| 36 | 36 | |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "bsf.h" | |
| 29 | +#include "bsf_internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "mjpeg.h" |
| 32 | 32 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "libavutil/intreadwrite.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | |
| 26 | 26 | static int text2movsub(AVBSFContext *ctx, AVPacket *out) |
| 27 | 27 | { |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "libavutil/intreadwrite.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "mpegaudiodecheader.h" |
| 26 | 26 | #include "mpegaudiodata.h" |
| 27 | 27 | |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | #include "libavutil/common.h" |
| 21 | 21 | #include "libavutil/opt.h" |
| 22 | 22 | |
| 23 | −#include "bsf.h" | |
| 23 | +#include "bsf_internal.h" | |
| 24 | 24 | #include "cbs.h" |
| 25 | 25 | #include "cbs_mpeg2.h" |
| 26 | 26 | #include "mpeg12.h" |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | −#include "bsf.h" | |
| 23 | +#include "bsf_internal.h" | |
| 24 | 24 | #include "internal.h" |
| 25 | 25 | #include "mpeg4video.h" |
| 26 | 26 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include <stdlib.h> |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | |
| 26 | 26 | #include "libavutil/log.h" |
| 27 | 27 | #include "libavutil/opt.h" |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | −#include "bsf.h" | |
| 25 | +#include "bsf_internal.h" | |
| 26 | 26 | |
| 27 | 27 | const AVBitStreamFilter ff_null_bsf = { |
| 28 | 28 | .name = "null", |
| @@ -16,7 +16,7 @@ · 15 unmodified lines | ||
| 16 | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | −#include "bsf.h" | |
| 19 | +#include "bsf_internal.h" | |
| 20 | 20 | #include "libavutil/intreadwrite.h" |
| 21 | 21 | #include "libavutil/opt.h" |
| 22 | 22 | |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "libavutil/avassert.h" |
| 24 | 24 | #include "libavutil/opt.h" |
| 25 | 25 | |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/common.h" |
| 29 | 29 | #include "libavutil/intreadwrite.h" |
| 30 | 30 | #include "libavutil/opt.h" |
| 31 | −#include "bsf.h" | |
| 31 | +#include "bsf_internal.h" | |
| 32 | 32 | |
| 33 | 33 | typedef struct ProresMetadataContext { |
| 34 | 34 | const AVClass *class; |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/opt.h" |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | −#include "bsf.h" | |
| 25 | +#include "bsf_internal.h" | |
| 26 | 26 | |
| 27 | 27 | enum RemoveFreq { |
| 28 | 28 | REMOVE_FREQ_KEYFRAME, |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/common.h" |
| 23 | 23 | #include "libavutil/log.h" |
| 24 | 24 | |
| 25 | −#include "bsf.h" | |
| 25 | +#include "bsf_internal.h" | |
| 26 | 26 | #include "cbs.h" |
| 27 | 27 | |
| 28 | 28 | |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "bsf.h" | |
| 22 | +#include "bsf_internal.h" | |
| 23 | 23 | #include "get_bits.h" |
| 24 | 24 | #include "mlp_parse.h" |
| 25 | 25 | #include "mlp.h" |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | #include "libavutil/common.h" |
| 21 | 21 | #include "libavutil/opt.h" |
| 22 | 22 | |
| 23 | −#include "bsf.h" | |
| 23 | +#include "bsf_internal.h" | |
| 24 | 24 | #include "cbs.h" |
| 25 | 25 | #include "cbs_vp9.h" |
| 26 | 26 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/log.h" |
| 22 | 22 | #include "libavutil/mem.h" |
| 23 | 23 | |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "get_bits.h" |
| 26 | 26 | #include "put_bits.h" |
| 27 | 27 | |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "libavutil/avassert.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "bsf.h" | |
| 24 | +#include "bsf_internal.h" | |
| 25 | 25 | #include "get_bits.h" |
| 26 | 26 | |
| 27 | 27 | #define MAX_CACHE 8 |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include <stddef.h> |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | −#include "bsf.h" | |
| 28 | +#include "bsf_internal.h" | |
| 29 | 29 | #include "bytestream.h" |
| 30 | 30 | #include "get_bits.h" |
| 31 | 31 | |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | #include "libavutil/imgutils.h" |
| 21 | 21 | |
| 22 | 22 | #include "libavcodec/avcodec.h" |
| 23 | −#include "libavcodec/bsf.h" | |
| 23 | +#include "libavcodec/bsf_internal.h" | |
| 24 | 24 | #include "libavcodec/bytestream.h" |
| 25 | 25 | #include "libavcodec/internal.h" |
| 26 | 26 | |