Diego Biurrun
42dc214323
mpc: Drop unused GetBitContext context member
9 years ago
Diego Biurrun
85b8403c6f
svq1enc: Drop unused GetBitContext context member
9 years ago
Diego Biurrun
6d8fd614ff
vorbis: Kill some pointless debug code
9 years ago
Diego Biurrun
59c6509d9f
mss2: Drop a silly assert
9 years ago
Diego Biurrun
b668662939
get_bits: Move BITSTREAM_READER_LE definition before all relevant #includes
This avoids the danger that get_bits.h might get indirectly #included before
BITSTREAM_READER_LE is defined.
Also sort headers into canonical order where appropriate.
9 years ago
Diego Biurrun
09c4e5c598
indeo2: Drop disabled big-endian ir2_codes table
Only the little-endian variant of the table is ever used.
9 years ago
Diego Biurrun
b7f98659f2
Remove unnecessary get_bits.h #includes
9 years ago
Matthieu Bouron
1729387c7a
lavc/mediacodec: improve error messages
9 years ago
Matthieu Bouron
93f4d1646e
lavc/mediacodec: bypass width/height restrictions when looking for a decoder
Codec width/height restrictions seem hardcoded at the OMX level and
seem arbitrary. Bypassing those restrictions allows a device to decode
streams at higher resolutions.
For example it allows a Nexus 5 to decode h264 streams with a resolution
higher than 1920x1080.
9 years ago
Matthieu Bouron
cb89fd2334
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
9 years ago
Matthieu Bouron
56ef387e21
lavc/mediacodec: move struct declarations at the begin
9 years ago
Matthieu Bouron
79efd3b8b8
lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mapping
9 years ago
Matthieu Bouron
f2e7f9966e
lavc/mediacodec: do not delete a local reference twice in case of error
9 years ago
Michael Niedermayer
153ab83bd3
avcodec/utils: check skip_samples signedness
Fixes Ticket5528
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
77d4dfbec6
avfilter/af_firequalizer: add zero_phase option
simply by substracting pts to compensate delay
also handle AV_NOPTS_VALUE
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
e7f658be57
avdevice/dshow: Fix frame rate
Fixes: Ticket5526
Tested-by: kgp700
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Martin Vignali
a2b2af791c
Changelog : add OpenExr improvements
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
808356c61c
avcodec/nvenc: Check capabilities for interlaced encoding
9 years ago
Michael Niedermayer
a5eb70ad95
avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M stream
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
2a48a75a6f
sgirledec: simplify, no need to use reget buffer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
6e2ad28cf7
aic: add frame threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Vittorio Giovara
c3ed259e4f
fate: Move Canopus decoder tests to a separate file
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
20a8c78ce0
avconv: Do not copy extradata if source buffer is empty
Fixes clang-usan runtime error "null pointer passed as argument 2,
which is declared to never be null" while streamcopying.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Martin Vignali
9511a0895d
avcodec/exr: indent b44 uncompress function
9 years ago
Martin Vignali
bc1f3dfaa3
avcodec/exr: fix decoding of B44 exr when all channel doesnt have the same pixel type
9 years ago
Martin Vignali
df7cd4176a
avcodec/exr: move channel_line_size to thread data
In order to be used by b44 uncompress.
9 years ago
Martin Vignali
03152e74df
avcodec/exr: improve pxr24 uncompress
Fix pxr24 uncompress when all channels doesnt have the same pixel type.
The expected length after zip decoding, is now calculated channel by channel.
9 years ago
Martin Vignali
16107aeaf3
avcodec/exr: remove unneed scanline_size var
9 years ago
Martin Vignali
42297d8419
avcodec/exr: fix tile decoding when all channels doesnt have the same pixel type
Also simplify the tile code, sharing more code with the scanline mode.
9 years ago
Martin Vignali
d24eb9a3c6
avcodec/exr: indent the if (layer_match) part
9 years ago
Martin Vignali
753088a2a4
avcodec/exr: fix layer detection
Only test a channel if the layer name match.
Avoid to try to mix channel between the main layer (rgba layer),
and the layer request by the user.
9 years ago
Michael Niedermayer
43a4276c69
avcodec/bmp_parser: Check fsize
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
37005e65eb
avcodec/bmp_parser: reset state
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
250b620d29
avcodec/bmp_parser: Fix remaining size
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bfe945ac3a
avcodec/bmp_parser: Fix frame_start_found in cross frame cases
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b5bc436ebc
avformat/matroskadec: Fix rounding error with codec_delay
Fixes Ticket5509
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bacc4b6e81
avcodec/wmalosslessdec: Use unsigned operations for overflowing cases
Fixes undefined behavior in fate-lossless-wma24-2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5a8b41b4a7
avformat/movenc: Skip unsupported video tracks in timecode generation
Fixes Ticket5414
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
abc957e896
avfilter/af_amix: dont fail if there are no samples in output_frame()
Fixes Ticket5326
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vivekanand
b092ee701f
avformat/allformats: Making av_register_all() thread-safe.
When multiple threads tries to call av_register_all(), the first thread sets
initialized to 1 and do the register process. At the same time, other thread might
also call av_register_all(), which returns immediately because initialized is set to 1
(even when it has not completed registering codecs). We can avoid this problem
if we set initialised to 1 while exiting from function.
Github: Closes #196
10 years ago
Michael Niedermayer
f730367a60
avcodec/mpeg4videodec: Fix default low_delay flag value if not coded
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
87c53e5354
avcodec/mpeg4videodec: Print low_delay value with -debug 1 in decode_vol_header()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Thomas Mundt
a0a4a4b370
avfilter/vf_colormatrix: add bt.2020 colorspace
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Thomas Mundt
2e395bbccf
avfilter/vf_colormatrix: increase precision
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
13aae86a2b
avutil/frame: Assert that width/height/channels is 0 for the destination of av_frame*_ref()
This should detect caes where these functions are called in unclean destinations
10 years ago
Michael Niedermayer
3bc060f366
doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported
This affects rawvideo and wraped_avframe, no others are affected atm
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
134cba728b
Seperate x264rgb encoder and only enable when its actually supported
This avoids enabling and building the x264rgb encoder when its actually not supported and
thus would not work
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Denis Charmet
38f99017e6
vp9: Return the correct size when decoding a superframe
According to avcodec.h, avcodec_decode_video2 should return the number of
bytes used if a frame was decoded.
The current implementation returns size - used size of all the subframes.
This fixes the VLC's bug https://trac.videolan.org/vlc/ticket/16836 .
The superframe is always fully consumed.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Michael Niedermayer
2ccf9ae6cc
avformat/format: Print debug info when probe score is increased due to mime type
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
5fb6e39dd1
avcodec/cfhd: clear idwt_buf on allocation
This avoids use of uninitialized variables and might make bugs in general
easier to reproduce
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago