Alex Agranovsky
9b10ae5727
avformat/format: Remove parameters from mime type before comparission for probing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
b8e4df46ab
configure: check for ID3D11VideoContext
...
Should fix compilation with mingw-w64 trunk, where ID3D11VideoDecoder is available
but ID3D11VideoContext still isn't.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Alexander S. Drozdov
6a8d58d693
avformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt
...
If we try to listen on TCP port and ff_listen() fails on
interrupt callback socket (bind) descriptor overwrites and
does not closed at all.
As a result, we can't rebind to the same port.
Reviewed-by: Stephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thierry Foucu
f600381b79
libavformat/utils.c: use correct variable for message.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
0ae40c5a70
swscale/swscale: Fix "unused variable" warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Rostislav Pehlivanov
8180b113e1
aaccoder: respect cutoff when marking bands as PNS
...
Makes more sense as users usually set the -cutoff option
to low pass filter the signal. The encoder will still over
shoot slightly when encoding normal coefficients however
that's normal.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Paul B Mahol
abef6383fb
avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
2506244155
avformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
8b72f6d50b
avcodec/ljpegenc: Fix encoding RGBA LJPEG
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
055e56e9f7
avcodec/mjpegdec: Fix decoding RGBA RCT LJPEG
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ganesh Ajjanagadde
07d33439f3
configure: colorize error messages
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
85a7ff8c27
lavc: Fix standalone compilation of the subrip decoder.
9 years ago
Agatha Hu
81071eea7d
avcodec/nvenc: change flag of cuCtxCreate to avoid CPU spins
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Michael Niedermayer
f58e011a1f
avformat/utils: Increase default max_stream_analyze_duration for flv
...
Fixes: unknown_video.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
77d03b0ebb
avutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST428_1 and AVCOL_TRC_SMPTEST2084
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Lou Logan
98ecee2d3d
doc/filters: fix Photoshop curves file extension
...
Found-by: moorej
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Kevin Wheatley
a1fa5392e6
avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic when applying one
9 years ago
Kevin Wheatley
7eb3233352
avcodec/exr: Add support for applying a transfer characteristic curve to OpenEXR inputs.
...
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
9 years ago
Kevin Wheatley
bac9048265
avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic
...
Most functions are valid over a domain and range of [0.0-1.0] but
some are defined over greater. This patch does not deal with
AVColorRange and assumes AVCOL_RANGE_JPEG for the returned values.
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
9 years ago
Ganesh Ajjanagadde
f6e598afa8
avfilter/vf_transpose: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
5064b06224
avfilter/f_perms: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Michael Niedermayer
3ffa77d301
avcodec/options_table: Fix TRC / PRI typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
24426172d3
avutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransferCharacteristic
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b5939ba09c
avutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer_names
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kevin Wheatley
6d4b394b5d
avutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kevin Wheatley
7061a30c37
avcodec/options_table: Add SMPTE ST428-1 colour primaries (CIE 1931 XYZ) to command line options
...
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kevin Wheatley
47570a265e
avcodec/options_table: Add CLI options for SMPTE ST 2084 and ST 428-1 transfer characteristics
...
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kevin Wheatley
c3cd6dd106
avutil/pixfmt: Add additional primaries and transfer characteristic enumerations from ITU-T Rec H.265
...
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
151312890c
avcodec/truemotion1: Simplify code using AV_PIX_FMT_0RGB32
...
Suggested-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
342ead4491
avformat/subtitles: improve ff_subtitles_queue_finalize() doxy
9 years ago
Clément Bœsch
af924fd9e4
avformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging
9 years ago
Clément Bœsch
a634649a36
avformat/subtitles: make sure we don't drop "duplicated" events from different streams
9 years ago
Clément Bœsch
4f26c99912
avformat/subtitles: drop duplicated events
...
Fix Ticket #4843
9 years ago
Harshit Mittal
4f7189f09e
.gitignore: ignore temp files
...
Github: Closes #144
9 years ago
Michael Niedermayer
d730dd8c53
swscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend
...
The first just does the blending and wouldnt do anything with the colorspace values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
21c7272859
swscale/utils: Forward luma range to the cascaded context for alphablending
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
a4d17c9a70
avcodec/truemotion1: use BGR0/0RGB
...
The alpha channel in the fate sample contains random trash, not alpha
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
67fe1a2b61
avcodec/cscd: Use BGR0 instead of BGRA
...
the available BGRA samples contain random trash in the alpha channel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
aec340c533
avcodec/bmp: Analyze BGRA files alpha channel to choose pixel format
...
BGRA BMPs commonly do contain an all transparent alpha channel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
319898bba2
swscale/utils: handle gray+alpha formats like gray for luma ranges
...
Its illogic to handle gray differently depending on the existence of an alpha channel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
816cf5181e
swscale/utils: If the source has no alpha then disable alpha blendaway
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
dfd3fd67bb
avcodec/libopenh264enc: use AV_LOG_TRACE instead of DEBUG+1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ronald S. Bultje
fd8b90f5f6
vp9: fix overflow in 8x8 topleft 32x32 idct ssse3 version.
...
Also disable the mmx/iwht optimization when the bitexact flag is set.
With synthetically coded coefficients (i.e. these that lead to a
residual well outside the [-255,255] range), our optimizations will
overflow. It doesn't make sense to fix the overflows, since they can
only occur on synthetic input, not on real fwht-generated input. Thus,
add a bitexact flag that disables this optimization.
9 years ago
Ronald S. Bultje
4bb9dbe4d7
vp9: permanently delete segmentation refmap on any size change.
9 years ago
Michael Niedermayer
35b7bd2558
avcodec/libopenh264enc: Remove some unneeded intermediate variables
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
fb000b0f0f
avcodec/libopenh264enc: Fix formating to match FFmpegs style
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ec5b13fbe4
avcodec/libopenh264enc: remove useless cast
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Gregory J. Wolfe
e8c45b96f4
avcodec/libopenh264enc: Use av_log() to log messages
...
File libopenh264enc.c has been modified so that the encoder uses av_log()
to log messages (error, warning, info, etc.) instead of logging them
directly to stderr. At the time the encoder is created, the current
ffmpeg log level is mapped to an equivalent libopenh264 log level. This
log level, and a message logging function that invokes av_log() to
actually log messages, are then set on the encoder.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vesselin Bontchev
8e28e0721c
avformat/aa: initialize "header_seed" and "header_key"
...
Fixes CID 1322364, CID 1322363
Signed-off-by: Vesselin Bontchev <vesselin.bontchev@yandex.com>
9 years ago
James Almer
bbc8fcae1d
RELEASE: update to 2.8.git
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago