Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bdd6aa25
Commit
bdd6aa25
authored
Apr 07, 2020
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec.h: split bitstream filters API into its own header
parent
bf807253
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
369 additions
and
306 deletions
+369
-306
APIchanges
doc/APIchanges
+1
-0
Makefile
libavcodec/Makefile
+1
-0
aac_adtstoasc_bsf.c
libavcodec/aac_adtstoasc_bsf.c
+1
-1
av1_frame_merge_bsf.c
libavcodec/av1_frame_merge_bsf.c
+1
-1
av1_frame_split_bsf.c
libavcodec/av1_frame_split_bsf.c
+1
-1
av1_metadata_bsf.c
libavcodec/av1_metadata_bsf.c
+1
-0
avcodec.h
libavcodec/avcodec.h
+1
-284
bsf.c
libavcodec/bsf.c
+3
-1
bsf.h
libavcodec/bsf.h
+324
-0
bsf_internal.h
libavcodec/bsf_internal.h
+4
-1
chomp_bsf.c
libavcodec/chomp_bsf.c
+1
-1
dca_core_bsf.c
libavcodec/dca_core_bsf.c
+1
-1
dump_extradata_bsf.c
libavcodec/dump_extradata_bsf.c
+1
-1
eac3_core_bsf.c
libavcodec/eac3_core_bsf.c
+1
-1
extract_extradata_bsf.c
libavcodec/extract_extradata_bsf.c
+1
-1
filter_units_bsf.c
libavcodec/filter_units_bsf.c
+1
-0
h264_metadata_bsf.c
libavcodec/h264_metadata_bsf.c
+1
-0
h264_mp4toannexb_bsf.c
libavcodec/h264_mp4toannexb_bsf.c
+1
-0
h264_redundant_pps_bsf.c
libavcodec/h264_redundant_pps_bsf.c
+1
-0
h265_metadata_bsf.c
libavcodec/h265_metadata_bsf.c
+1
-0
hapqa_extract_bsf.c
libavcodec/hapqa_extract_bsf.c
+1
-1
hevc_mp4toannexb_bsf.c
libavcodec/hevc_mp4toannexb_bsf.c
+1
-0
imx_dump_header_bsf.c
libavcodec/imx_dump_header_bsf.c
+1
-1
mjpeg2jpeg_bsf.c
libavcodec/mjpeg2jpeg_bsf.c
+1
-1
mjpega_dump_header_bsf.c
libavcodec/mjpega_dump_header_bsf.c
+1
-1
movsub_bsf.c
libavcodec/movsub_bsf.c
+1
-1
mp3_header_decompress_bsf.c
libavcodec/mp3_header_decompress_bsf.c
+1
-1
mpeg2_metadata_bsf.c
libavcodec/mpeg2_metadata_bsf.c
+1
-0
mpeg4_unpack_bframes_bsf.c
libavcodec/mpeg4_unpack_bframes_bsf.c
+1
-1
noise_bsf.c
libavcodec/noise_bsf.c
+1
-1
null_bsf.c
libavcodec/null_bsf.c
+1
-1
prores_metadata_bsf.c
libavcodec/prores_metadata_bsf.c
+2
-0
remove_extradata_bsf.c
libavcodec/remove_extradata_bsf.c
+1
-0
trace_headers_bsf.c
libavcodec/trace_headers_bsf.c
+1
-0
truehd_core_bsf.c
libavcodec/truehd_core_bsf.c
+1
-1
vp9_metadata_bsf.c
libavcodec/vp9_metadata_bsf.c
+1
-0
vp9_raw_reorder_bsf.c
libavcodec/vp9_raw_reorder_bsf.c
+1
-0
vp9_superframe_bsf.c
libavcodec/vp9_superframe_bsf.c
+2
-1
vp9_superframe_split_bsf.c
libavcodec/vp9_superframe_split_bsf.c
+1
-1
No files found.
doc/APIchanges
View file @
bdd6aa25
...
...
@@ -16,6 +16,7 @@ libavutil: 2017-10-21
API changes, most recent first:
2020-xx-xx - xxxxxxxxxx - lavc 58.87.100 - avcodec.h codec_par.h
Move AVBitstreamFilter-related public API to new header bsf.h.
Move AVCodecParameters-related public API to new header codec_par.h.
2020-05-xx - xxxxxxxxxx - lavc 56.86.101 - avcodec.h
...
...
libavcodec/Makefile
View file @
bdd6aa25
...
...
@@ -6,6 +6,7 @@ HEADERS = ac3_parser.h \
avcodec.h
\
avdct.h
\
avfft.h
\
bsf.h
\
codec_desc.h
\
codec_id.h
\
codec_par.h
\
...
...
libavcodec/aac_adtstoasc_bsf.c
View file @
bdd6aa25
...
...
@@ -21,7 +21,7 @@
#include "adts_header.h"
#include "adts_parser.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "put_bits.h"
#include "get_bits.h"
...
...
libavcodec/av1_frame_merge_bsf.c
View file @
bdd6aa25
...
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_av1.h"
...
...
libavcodec/av1_frame_split_bsf.c
View file @
bdd6aa25
...
...
@@ -32,7 +32,7 @@
#include "libavutil/avassert.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_av1.h"
...
...
libavcodec/av1_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -19,6 +19,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_av1.h"
...
...
libavcodec/avcodec.h
View file @
bdd6aa25
This diff is collapsed.
Click to expand it.
libavcodec/bsf.c
View file @
bdd6aa25
...
...
@@ -25,8 +25,10 @@
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "codec_desc.h"
#include "codec_par.h"
#define IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems)
...
...
libavcodec/bsf.h
0 → 100644
View file @
bdd6aa25
This diff is collapsed.
Click to expand it.
libavcodec/bsf_internal.h
View file @
bdd6aa25
...
...
@@ -19,7 +19,10 @@
#ifndef AVCODEC_BSF_INTERNAL_H
#define AVCODEC_BSF_INTERNAL_H
#include "avcodec.h"
#include "libavutil/log.h"
#include "bsf.h"
#include "packet.h"
/**
* Called by the bitstream filters to get the next packet for filtering.
...
...
libavcodec/chomp_bsf.c
View file @
bdd6aa25
...
...
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
static
int
chomp_filter
(
AVBSFContext
*
ctx
,
AVPacket
*
pkt
)
...
...
libavcodec/dca_core_bsf.c
View file @
bdd6aa25
...
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "dca_syncwords.h"
...
...
libavcodec/dump_extradata_bsf.c
View file @
bdd6aa25
...
...
@@ -20,7 +20,7 @@
#include <string.h>
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "libavutil/log.h"
...
...
libavcodec/eac3_core_bsf.c
View file @
bdd6aa25
...
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "get_bits.h"
#include "ac3_parser_internal.h"
...
...
libavcodec/extract_extradata_bsf.c
View file @
bdd6aa25
...
...
@@ -23,9 +23,9 @@
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "av1.h"
#include "av1_parse.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "h2645_parse.h"
...
...
libavcodec/filter_units_bsf.c
View file @
bdd6aa25
...
...
@@ -21,6 +21,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
...
...
libavcodec/h264_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -21,6 +21,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_h264.h"
...
...
libavcodec/h264_mp4toannexb_bsf.c
View file @
bdd6aa25
...
...
@@ -26,6 +26,7 @@
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "h264.h"
...
...
libavcodec/h264_redundant_pps_bsf.c
View file @
bdd6aa25
...
...
@@ -21,6 +21,7 @@
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_h264.h"
...
...
libavcodec/h265_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -19,6 +19,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_h265.h"
...
...
libavcodec/hapqa_extract_bsf.c
View file @
bdd6aa25
...
...
@@ -25,7 +25,7 @@
* extract one of the two textures of the HAQA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "hap.h"
...
...
libavcodec/hevc_mp4toannexb_bsf.c
View file @
bdd6aa25
...
...
@@ -25,6 +25,7 @@
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "hevc.h"
...
...
libavcodec/imx_dump_header_bsf.c
View file @
bdd6aa25
...
...
@@ -25,7 +25,7 @@
* modifies bitstream to fit in mov and be decoded by final cut pro decoder
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "bytestream.h"
...
...
libavcodec/mjpeg2jpeg_bsf.c
View file @
bdd6aa25
...
...
@@ -29,7 +29,7 @@
#include "libavutil/error.h"
#include "libavutil/intreadwrite.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
...
...
libavcodec/mjpega_dump_header_bsf.c
View file @
bdd6aa25
...
...
@@ -25,7 +25,7 @@
* modifies bitstream to be decoded by quicktime
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "mjpeg.h"
...
...
libavcodec/movsub_bsf.c
View file @
bdd6aa25
...
...
@@ -20,7 +20,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
static
int
text2movsub
(
AVBSFContext
*
ctx
,
AVPacket
*
out
)
...
...
libavcodec/mp3_header_decompress_bsf.c
View file @
bdd6aa25
...
...
@@ -20,7 +20,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "mpegaudiodecheader.h"
#include "mpegaudiodata.h"
...
...
libavcodec/mpeg2_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -20,6 +20,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_mpeg2.h"
...
...
libavcodec/mpeg4_unpack_bframes_bsf.c
View file @
bdd6aa25
...
...
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "internal.h"
#include "mpeg4video.h"
...
...
libavcodec/noise_bsf.c
View file @
bdd6aa25
...
...
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "libavutil/log.h"
...
...
libavcodec/null_bsf.c
View file @
bdd6aa25
...
...
@@ -21,7 +21,7 @@
* Null bitstream filter -- pass the input through unchanged.
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
const
AVBitStreamFilter
ff_null_bsf
=
{
...
...
libavcodec/prores_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -28,6 +28,8 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
typedef
struct
ProresMetadataContext
{
...
...
libavcodec/remove_extradata_bsf.c
View file @
bdd6aa25
...
...
@@ -22,6 +22,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bsf.h"
#include "bsf_internal.h"
enum
RemoveFreq
{
...
...
libavcodec/trace_headers_bsf.c
View file @
bdd6aa25
...
...
@@ -22,6 +22,7 @@
#include "libavutil/common.h"
#include "libavutil/log.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
...
...
libavcodec/truehd_core_bsf.c
View file @
bdd6aa25
...
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "get_bits.h"
#include "mlp_parse.h"
...
...
libavcodec/vp9_metadata_bsf.c
View file @
bdd6aa25
...
...
@@ -20,6 +20,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_vp9.h"
...
...
libavcodec/vp9_raw_reorder_bsf.c
View file @
bdd6aa25
...
...
@@ -21,6 +21,7 @@
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "get_bits.h"
#include "put_bits.h"
...
...
libavcodec/vp9_superframe_bsf.c
View file @
bdd6aa25
...
...
@@ -20,7 +20,8 @@
*/
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "get_bits.h"
...
...
libavcodec/vp9_superframe_split_bsf.c
View file @
bdd6aa25
...
...
@@ -24,7 +24,7 @@
#include <stddef.h>
#include "
avcodec
.h"
#include "
bsf
.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "get_bits.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment