Ganesh Ajjanagadde
d5f5c90be9
rtsp: free opts dictionary on failure of getnameinfo
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Ganesh Ajjanagadde
8df8f0c70c
movenc-test: add a missing va_end call
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Anton Khirnov
b8b21dee0f
mxfenc: always assume long gop
...
Checking the codec context parameters to find out this information is
far too unreliable to be useful, so it is safer to assume B-frames are
always present.
9 years ago
Anton Khirnov
e02de9df4b
lavc: export Dirac parsing API used by the ogg demuxer as public
...
Also, stop using AVCodecContext for storing the stream parameters.
9 years ago
Anton Khirnov
8bcadaacc2
mpegenc: use the CPB props side data
...
Do not access the encoder options, since it makes no sense when the
AVStream codec context is not the encoding context.
9 years ago
Anton Khirnov
5845a8273e
movenc: use the CPB props side data
...
Do not access the encoder options, since it makes no sense when the
AVStream codec context is not the encoding context.
9 years ago
Anton Khirnov
825900248b
qsvenc: export CPB props side data
9 years ago
Anton Khirnov
1520c6ff05
nvenc: export CPB props side data
9 years ago
Anton Khirnov
2507b5dd67
mpegvideo_enc: export vbv_delay in side data
...
Deprecate AVCodecContext.vbv_delay
9 years ago
Anton Khirnov
3f5c99fcbb
mpegvideo_enc: export CPB props side data
9 years ago
Anton Khirnov
732a37d146
libx264: export CPB props side data
9 years ago
Anton Khirnov
03afb62e83
libvpxenc: export CPB props side data
9 years ago
Anton Khirnov
11c9bd633f
libopenh264enc: export CPB props side data
9 years ago
Anton Khirnov
f0b769c16d
lavc: add a packet side data type for VBV-like parameters
9 years ago
Anton Khirnov
e63e3797a1
avconv: pass the global codec side data to the muxer
9 years ago
Anton Khirnov
84adab333c
lavc: add stream-global packet side data
...
This is similar to what is done for AVStream.
9 years ago
Anton Khirnov
31c51f7441
avpacket: add a function for wrapping existing data as side data
9 years ago
Anton Khirnov
b09ad37c83
h264: derive the delay from the level when it's not present
...
Fall back to maximum DPB size if the level is unknown.
This should be more spec-compliant and does not depend on the caller
setting has_b_frames before opening the decoder.
The old behaviour, when the delay is supplied by the caller setting
has_b_frames, can still be obtained by setting strict_std_compliance
below normal.
9 years ago
Anton Khirnov
792b9c9dfc
h264: set frame_num in start_frame(), not decode_slice_header()
...
That is a more appropriate place for it, since it is not allowed to
change between slices.
9 years ago
Anton Khirnov
741b494fa8
h264: eliminate default_ref_list
...
According to the spec, the reference list for a slice should be
constructed by first generating an initial (what we now call "default")
reference list and then optionally applying modifications to it.
Our code has an optimization where the initial reference list is
constructed for the first inter slice and then rebuilt for other slices
if needed. This, however, adds complexity to the code, requires an extra
2.5kB array in the codec context and there is no reason to think that it
has any positive effect on performance. Therefore, simplify the code by
generating the reference list from scratch for each slice.
9 years ago
Anton Khirnov
e7078e842d
hevcdsp: add x86 SIMD for MC
9 years ago
Anton Khirnov
0cef06df07
checkasm: add HEVC MC tests
9 years ago
Anton Khirnov
a853388d2f
hevc: change the stride of the MC buffer to be in bytes instead of elements
...
Currently, the frame stride is passed in bytes, while the MC buffer size
is in int16_t elements, This can be confusing, so pass both strides in
bytes.
9 years ago
Anton Khirnov
688417399c
hevcdsp: split the pred functions by width
...
This should allow for more efficient SIMD.
9 years ago
Anton Khirnov
818bfe7f0a
hevcdsp: split the epel functions by width
...
This should allow for more efficient SIMD.
9 years ago
Anton Khirnov
1f821750f0
hevcdsp: split the qpel functions by width instead of by the subpixel fraction
...
This should allow for more efficient SIMD.
Keep the C versions as they are now, to allow the compiler to inline the
interpolation coefficients.
9 years ago
Luca Barbato
6788baebb3
log: Use a do {} while (0) for dlog
...
Avoid the warning `-Wempty-body`.
9 years ago
Luca Barbato
7d36474d19
imgconvert: Re-enable the deprecation warnings
...
The end-marked was typoed in
f7edcac040
9 years ago
Luca Barbato
f7edcac040
avpicture: Suppress warning from deprecated code
9 years ago
Luca Barbato
b805482b1f
aac: Provide more information on the failure message
...
Bug-Id: 761
9 years ago
Luca Barbato
c5eb279e24
g723: Add missing header
...
Unbreak make check.
9 years ago
Martin Storsjö
1077d8c845
configure: Add -framework CoreVideo when building the avfoundation indev
...
This fixes builds with --disable-vda, which previously failed with
undefined references to CVImageBuffer* and CVPixelBuffer* functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Kylie McClain
bf12a81cc6
configure: Replace `pr` since it is not provided by busybox
...
While pr is a valid POSIX.1 command, its usage in configure
is a little borderline and is possible to replace it with
printf.
Bug-Id: 913
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
5f3a081b42
avi: Spin out the logic to position to the next non-interleaved stream
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
cb49bb10ca
build: Move -Wcast-qual to the extra_warnings
...
It amounts to about 1/2 of the warnings generated and does not help
spotting anything useful.
9 years ago
Michael Niedermayer
0fc61c6ab6
avi: Validate the stream-id for DV as well
...
Avoid false positives while syncing.
Bug-Id: ffmpeg/4086
Bug-Id: 879
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
d017ed878a
avi: Use the correct data type
...
avio_tell returns an int64_t.
9 years ago
Vittorio Giovara
7f57ea143c
vsrc_color: Drop unneeded variable
...
Bug-Id: CID 1339818
9 years ago
Mohamed Naufal
ca5f386e75
lavf: G.723.1 muxer
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Mohamed Naufal
f023d57d35
lavc: G.723.1 encoder
...
Additional improvements by Michael Niedermayer <michaelni@gmx.at>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
165cc6fb9d
g723_1: Move sharable functions to a separate file
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
aac996cc01
g723_1: Rename files to better reflect their purpose
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Michael Niedermayer
b74b88f30d
g723_1: Handle values at the ends of the table in lsp2lpc()
...
Fixes out of array reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Luca Barbato
a0fa6d06b8
matroska: Warn when metadata references a non-existent element
...
Avoid some confusion when the information is not present.
Bug-Id: 902
9 years ago
Luca Barbato
f7986239f4
dvenc: Validate the frame size before copying it
9 years ago
Petri Hintukainen
7139489c45
pgssubdec: fix API compability layer
...
Copy pointers to AVPicture after memory has been allocated.
Fixes NULL pointers in AVPicture after a17a766190
.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
b0e8651a2a
doc: Amend the MSYS2 Documentation
...
Explain better which environment is discouraged and mention the
shortcuts names.
9 years ago
Alexandre Lision
4f979418c7
avfoundation: Simple capture
...
Originally based on the capture written by
Thilo Borgmann <thilo.borgmann@mail.de>.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
9f57f134c1
configure: ObjC support
...
Assume that the default C compiler and the default ObjC compiler match
(default for OSX).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
0e2395293b
nut: Mark non-fatal errors as warnings
...
And make one more informative.
9 years ago