James Almer
66453b1fba
avformat/mov: zero initialize codec_name in mov_parse_stsd_video()
...
Fixes valgrind warning about "Conditional jump or move depends on uninitialised value(s)"
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-12 20:52:22 -03:00
James Almer
f6f1fc2db1
fate: fix fate-api dependencies
...
No need to run the whole fate-lavf set. fate-lavf-flv_fmt is enough to
create the required source file.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-12 20:09:00 -03:00
James Almer
70c6a1bcf0
avformat/matroskadec: fix DiscardPadding element parsing
...
If the value is negative then it means padding at the start of the packet
instead of at the end.
Based on a patch by Hendrik Leppkes.
Reviewed-by: James Zern <jzern-at-google.com@ffmpeg.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-08 13:43:53 -03:00
James Almer
75a13115cd
avformat/mux: remove unnecessary autobsf hack
...
autobsf has been ported to the new bsf API.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-05 22:42:23 -03:00
James Almer
e8a39f584a
avformat/framehash: also print channel layout as a string
...
This should be more useful for users since numerical values for channel
layout can be confusing and unintuitive.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-05 22:42:22 -03:00
James Almer
9ea69f4808
avutil/softfloat_ieee754: make all functions inline
...
Removes "defined but not used" warnings
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-05 17:53:26 -03:00
James Almer
55061bbc55
ffmpeg: don't overwrite av_bsf_receive_packet return value before checking it
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-05 00:04:27 -03:00
James Almer
51e329918d
avcodec/rawdec: check for side data before checking its size
...
Fixes valgrind warnings about usage of uninitialized values.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-04 23:38:56 -03:00
James Almer
7e603fb322
fate: add bsf tests for ticket 5927
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-04 22:13:44 -03:00
James Almer
6005c7e656
Revert "avformat/mux: split side data earlier in av_write_frame and av_interleaved_write_frame"
...
This reverts commit fba2a8a254 .
The changes were right for av_write_frame() but not for av_interleaved_write_frame().
The following commit will fix this in a simpler way.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-04 21:59:48 -03:00
James Almer
fba2a8a254
avformat/mux: split side data earlier in av_write_frame and av_interleaved_write_frame
...
Similarly, merge it back before returning.
Fixes ticket #5927 .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-04 17:13:43 -03:00
James Almer
5cb57131d3
avformat/matroskaenc: use display aspect ratio for DisplayWidth and DisplayHeight when possible
...
This avoids potential rounding errors and guarantees the source aspect
ratio is preserved.
Keep writing pixel values when Stereo 3D Mode is enabled and for WebM,
as the format doesn't support anything else.
This fixes ticket #5743 , implementing the suggestion from ticket #5903 .
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-02 17:08:38 -03:00
James Almer
bab6b60675
avformat/matroskaenc: support writing Chroma Location elements
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-02 17:07:04 -03:00
James Almer
c4af48eb27
configure: add missing fork() dependency to http_multiclient example
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-29 14:45:29 -03:00
James Almer
bf709098c9
avcodec: remove missing incompatible_libav_abi references
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-26 17:36:12 -03:00
James Almer
7400f64211
configure: remove missing incompatible_libav_abi references
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-26 17:36:07 -03:00
James Almer
eabbc64728
avformat/matroskaenc: fix cue relative position values when CRC32 is enabled
...
The dynamic buffer does not contain the CRC32 element so calls to avio_tell()
don't take it into account. This resulted in CueRelativePosition values being
six bytes short.
This is a regression since 6724525a15
Instead of adding yet another custom check for CRC32 to fix a size or an offset,
remove the existing ones and reserve the six bytes in the dynamic buffer.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-26 16:28:59 -03:00
James Almer
cc71fa319f
avformat/matroskaenc: write DisplayWidth and DisplayHeight elements only if they differ from PixelWidth and PixelHeight
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-22 15:00:15 -03:00
James Almer
0ad71ed6f9
avformat/matroskadec: fix BitsPerChannel element's default value
...
The element is currently ignored, so there's no effective functionality
change with this.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-18 23:55:32 -03:00
James Almer
f5cfc0cc54
avformat/matroskadec: clarify some Colour element defaults using enum values
...
This way it's more clear what the default values refer to, as
Undetermined/Unspecified is 0 for some, 2 for others.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-18 23:55:05 -03:00
James Almer
ea201ad14c
avformat/mov: pass the demuxer's AVFormatContext to avpriv_request_sample()
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-18 23:09:02 -03:00
James Almer
47ee6f1a59
avformat/matroskadec: support parsing Chroma Location elements
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-18 20:39:07 -03:00
James Almer
8b59ce0342
Partially revert "avformat/matroskadec: set aspect ratio only when DisplayWidth and DisplayHeight are in pixels"
...
The code works just fine regardless of unit, so only make sure DisplayUnit
is not "unknown".
Found-by: Nicolas George <george@nsup.org >
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-16 14:19:05 -03:00
James Almer
4b0f37dadb
avcodec/utils: print Chroma Location string in verbose log level
...
It's container level information on some formats (Matroska, MXF, yuv4mpeg), so
it should be printed at higher log levels than debug.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-16 12:18:39 -03:00
James Almer
90826031a2
avformat/matroskaenc: write a DisplayUnit element when aspect ratio is unknown
...
We don't currently support values 1 (centimeters), 2 (inches) or 3 (DAR),
only the default value 0 (pixels) which doesn't need to be written.
The fate refs are updated as unknown SAR is now signaled in the output
files with the addition of the new element.
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-15 20:48:03 -03:00
James Almer
bad8bbc26a
avformat/matroskadec: set aspect ratio only when DisplayWidth and DisplayHeight are in pixels
...
A missing DisplayUnit element or one with the default value of 0 means
DisplayWidth and DisplayHeight should be interpreted as pixels.
The current code setting st->sample_aspect_ratio is wrong when DisplayUnit
is anything else.
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-15 20:42:07 -03:00
James Almer
1273bc6d26
avformat/matroskadec: workaround the field_order bug in the Matroska muxer
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-13 14:22:07 -03:00
James Almer
7cf0ed32fa
avformat: bump minor version after the Matroska field order enum fix
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-12 19:40:42 -03:00
James Almer
dc781459cc
avformat/matroska: fix MatroskaVideoFieldOrder enum values
...
The spec says
9: Interlaced with bottom field displayed first and top field stored first
14: Interlaced with top field displayed first and bottom field stored first
And avcodec.h states
AV_FIELD_TB, //< Top coded first, bottom displayed first
AV_FIELD_BT, //< Bottom coded first, top displayed first
Reviewed-by: Dave Rice <dave@dericed.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-12 18:26:22 -03:00
James Almer
8063978bfc
avformat/matroskaenc: don't write a FlagInterlaced element if it would write the default value
...
The spec says:
"Mandatory elements with a default value may be left out of the file. In the absence
of a mandatory element, the element's default value is used."
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-11 19:49:19 -03:00
James Almer
c44eae157f
avformat/matroskaenc: fix targets for attachment tags
...
Attachment tags were being written targeting non-existent streams in the
output file.
Also filter filename and mimetype entries, as they are standard elements
in the Attachment master.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-10 23:18:36 -03:00
James Almer
c45ba265fc
avformat/matroskaenc: fix Tags master on seekable output if there are tags after the last stream duration
...
The dynamic AVIOContext would get closed pointing to the wrong position
in the buffer.
This is a regression since 650e17d88b .
Reviewed-by: Dave Rice <dave@dericed.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-07 16:46:45 -03:00
James Almer
711bfb33df
avformat/matroskaenc: add an option to disable writting CRC32 elements
...
Also add missing Changelog entry.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 18:42:10 -03:00
James Almer
3bcadf8227
avformat/matroskaenc: write a CRC32 element on Info
...
Finishes implementing ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:16:12 -03:00
James Almer
650e17d88b
avformat/matroskaenc: write a CRC32 element on Tags
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:13:59 -03:00
James Almer
4687240d52
avformat/matroskaenc: write a CRC32 element on Attachments
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:10:51 -03:00
James Almer
eccefece61
avformat/matroskaenc: write a CRC32 element on Chapters
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:08:14 -03:00
James Almer
87ce2595de
avformat/matroskaenc: write a CRC32 element on Tracks
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:05:03 -03:00
James Almer
79248795d4
avformat/matroskaenc: write a CRC32 element on Cues
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 17:01:20 -03:00
James Almer
3b189fae73
avformat/matroskaenc: write a CRC32 element on SeekHead
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 16:59:09 -03:00
James Almer
6724525a15
avformat/matroskaenc: write a CRC32 element on each Cluster
...
Implements part of ticket #4347
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 16:54:07 -03:00
James Almer
4e3bdf729a
avformat/matroskaenc: always use a dynamic buffer when writting clusters
...
Tested-by: Dave Rice <dave@dericed.com >
Tested-by: Jerome Martinez <jerome@mediaarea.net >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 16:30:56 -03:00
James Almer
d41aeea8a6
avformat/matroskaenc: print debug message with cluster offsets only if the output is seekable
...
Printing the dynamic buffer offset is useless.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 16:30:56 -03:00
James Almer
a4044498f7
avformat/matroskadec: check for more reserved values on some Colour elements
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 13:49:29 -03:00
James Almer
9b8ac526f6
avformat/matroskaenc: don't write an empty Colour master element
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-06 13:49:10 -03:00
James Almer
b33369b612
avformat/matroskaenc: don't reserve space for stream duration tags if the output is not seekable
...
The durations are never written in that situation.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-04 21:19:58 -03:00
James Almer
3cc9d6d382
avformat/matroska: write FlagInterlaced element in WebM
...
It's listed as supported in both https://www.webmproject.org/docs/container/
and https://matroska.org/technical/specs/index.html
Reviewed-by: Dave Rice <dave@dericed.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-04 19:42:55 -03:00
James Almer
eb60256c20
fate: add bitexact decode flag to fate-svq3-watermark
...
Fixes failure with mmxext or 3dnow cpuflags enabled but ssse3 disabled
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-03 01:39:33 -03:00
James Almer
42111e8543
avcodec: fix arguments on xmm/neon clobber test wrappers
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-02 02:15:47 -03:00
James Almer
449f263f9f
avcodec: add missing xmm/neon clobber test wrappers for the new encode API
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-10-01 14:08:50 -03:00
James Almer
a68f1ae6b1
doc/codecs.texi: fix and expand color related options
...
Found-by: Michael Niedermayer <michael@niedermayer.cc >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-28 19:33:20 -03:00
James Almer
e4bfc9ecf7
avfilter/vf_colorspace: fix range for output colorspace option
...
Rreviewed-by: BBB
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-28 17:33:38 -03:00
James Almer
13dd5edb88
avutil/hwcontext: use CONFIG_QSV instead of CONFIG_LIBMFX for qsv
...
See "[FFmpeg-devel] [PATCH] hwcontext: add a QSV implementation"
Suggested-by: nablet developer <sdk@nablet.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-28 15:13:10 -03:00
James Almer
eba0414768
Merge commit '59e7361cc791e5103be1712dc59a2055f118d0da'
...
* commit '59e7361cc791e5103be1712dc59a2055f118d0da':
hwcontext: add a QSV implementation
Conflicts:
doc/APIchanges
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:30:27 -03:00
James Almer
e9a5fc9678
Merge commit '6f19bbcf8532d018d8d6d82e000738d0ac2385c9'
...
* commit '6f19bbcf8532d018d8d6d82e000738d0ac2385c9':
qsvdec: move reading the user-provided session to qsv_decode_init()
Conflicts:
libavcodec/qsvdec.c
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:26:12 -03:00
James Almer
32c25f06b7
Merge commit 'e85f6f7f8d037c0af0f294000718d9ba22753baa'
...
* commit 'e85f6f7f8d037c0af0f294000718d9ba22753baa':
lavc: allow using AVCodecContext.hw_frames_ctx for decoding
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:22:00 -03:00
James Almer
0153cc49b2
Merge commit '40dd5166d2ba4f9035b93748840e408cd8be40e5'
...
* commit '40dd5166d2ba4f9035b93748840e408cd8be40e5':
truemotion2rt: Use ff_set_dimensions
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:19:07 -03:00
James Almer
6e76c9c450
Merge commit 'a8164323374e86ce5f93759230868c98356833a2'
...
* commit 'a8164323374e86ce5f93759230868c98356833a2':
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:12:18 -03:00
James Almer
f013ba475b
Merge commit '5d560d38deca1e4705e6d3784d737363b9c830fe'
...
* commit '5d560d38deca1e4705e6d3784d737363b9c830fe':
pixfmt: Add ARIB STD-B76 color transfer characteristic
See 785038c92c
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
libavutil/pixdesc.c
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:09:26 -03:00
James Almer
3597d32e88
Merge commit '6ed0f70f97c882813199b3bafd724ceeb43659de'
...
* commit '6ed0f70f97c882813199b3bafd724ceeb43659de':
avconv: factor out initializing stream parameters for streamcopy
Conflicts:
ffmpeg.c
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 12:59:07 -03:00
James Almer
df2ae8f3f0
Merge commit '5fa255b65c7887cc913f097aed1b581fbf1a8745'
...
* commit '5fa255b65c7887cc913f097aed1b581fbf1a8745':
avconv: initialize output framerate earlier
Skipping this for now. It's not needed until several committs ahead,
and should be carefully implemented.
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 12:57:58 -03:00
James Almer
92de2c23a6
ffprobe: don't use AVStream.codec to set decoder framerate
...
Also don't set time_base. It's deprecated for decoding and avcodec_open2()
will overwrite it
Reviewed-by: Josh de Kock <josh@itanimul.li >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-27 21:21:42 -03:00
James Almer
29b6c2be29
avformat/matroskadec: set AVCodecParameters.field_order on progressive video
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-27 20:30:11 -03:00
James Almer
4a05d2eda7
ffmpeg: stop using AVStream.codec on stream copy
...
This commit is based on commit 35c8580 from Anton Khirnov <anton@khirnov.net >
which was skipped in b8945c4 .
The avcodec_copy_context() call in the encode path is left in place for now
as AVStream.codec is apparently still required even after porting ffmpeg to
the new bsf API.
Tested-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-27 10:42:51 -03:00
James Almer
f0b6f7253f
avformat: add av_stream_get_codec_timebase()
...
This will allow ffmpeg.c to stop using AVStream.codec in some cases
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-27 10:42:39 -03:00
James Almer
64545dd600
ffprobe: don't access AVCodecContext.pkt_timebase directly
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-26 22:45:39 -03:00
James Almer
449dc25f56
ffmpeg: fix memleak of bitstream filter context on failure
...
Increase the nb_bitstream_filters value as soon as the context is allocated, so
if option parsing fails the last context is actually freed.
Reviewed-by: Josh de Kock <josh@itanimul.li >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-25 16:17:59 -03:00
James Almer
3ac76d7618
ffmpeg: fix memleak of encoder options AVDictionary on failure
...
Reviewed-by: Josh de Kock <josh@itanimul.li >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-25 16:17:41 -03:00
James Almer
e3842e87f2
avcodec/Makefile: Fix mlpenc dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-25 16:12:18 -03:00
James Almer
aa0dc698db
avformat/avidec: remove warning about deprecated declarations
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-25 16:03:21 -03:00
James Almer
dc48248ea8
avcodec/nvenc: use AVERROR_BUFFER_TOO_SMALL instead of ENOBUFS
...
Should fix compilation with mingw32
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-24 15:48:30 -03:00
James Almer and Michael Niedermayer
d41c9b1c27
avcodec/remove_extradata_bsf: Fix AVoption parameter max value
2016-09-23 17:15:49 +02:00
James Almer
7d17d31db4
fate: update fate-source reference file
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-22 23:55:31 -03:00
James Almer
ff0ff33b05
doc/general.texi: mention MLP/TrueHD encoding support
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-18 02:01:15 -03:00
James Almer
d2e74315e5
avcodec/utils: print only the padding values that are set
...
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-03 11:57:23 -03:00
James Almer
4fed4aca0c
avcodec/utils: print initial and trailing paddings only in verbose levels
...
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-03 11:57:18 -03:00
James Almer
f66abefefe
configure: add missing check for LoadLibrary
...
Commit 2b1d316ff6 made nvenc depend on
LoadLibrary, but the availability of the latter was never checked.
This fixes nvenc on Windows platforms
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-01 13:50:38 -03:00
James Almer
115a90a0db
doc/APIChanges: mention nb_threads addition to AVFilterContext
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-29 21:56:20 -03:00
James Almer
dc7e5adbc0
avformat/utils: fix a codecpar non use
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-27 11:21:12 -03:00
James Almer
cf16d62076
tools/crypto_bench: add support for des
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-26 15:46:32 -03:00
James Almer
ba3f32d071
tools/crypto_bench: simplify gcrypt functions using a macro
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-26 15:46:29 -03:00
James Almer
69f7aad571
configure: force _WIN32_WINNT >= 0x0502 on mingw32 targets
...
Windows versions earlier than XP are not supported.
Should fix compilation of command line tools.
Tested-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-22 17:32:16 -03:00
James Almer
27ee70290e
avfilter/window_func: use a constant instead of acosh()
...
Should fix compilation with non C99 compilers like msvc 2012, where
acosh() is not available.
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-20 11:50:58 -03:00
James Almer
a8e3833a61
x86/avf_showcqt: use the FMULADD_PS x86util macro
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-20 02:12:33 -03:00
James Almer
bba6a03b28
examples/demuxing_decoding: convert to codecpar
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-17 19:17:04 -03:00
James Almer
f85842b09e
doc/APIChanges: fill in missing git hashes
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-16 23:23:50 -03:00
James Almer
d950279cbf
avcodec/ttadsp: cosmetics
...
Clean some header includes and use the same naming scheme as
in ttaencdsp
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-06 18:27:01 -03:00
James Almer
61da882cea
Merge commit '90944ee3ab79081845ea1bd97eea475031ce0842'
...
* commit '90944ee3ab79081845ea1bd97eea475031ce0842':
avconv: refactor selecting an encoder
Conflicts:
ffmpeg.c
ffmpeg_opt.c
Merged-by: James Almer <jamrial@gmail.com >
2016-08-06 13:31:12 -03:00
James Almer
be63ef3c4e
avcodec/vdpau: clean up vdpau_internal.h
...
Also don't include it on files that don't need it.
This reduces differences with libav
Tested-by: Timothy Gu <timothygu99@gmail.com >
Reveiwed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-04 16:40:51 -03:00
James Almer
376d4b3c0d
avformat: add a TTA Muxer
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-04 16:25:40 -03:00
James Almer
ce944e8489
avformat/tta: remove custom crc callback function
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-04 16:25:36 -03:00
James Almer
155f4e9630
avformat/avio: add a crc callback function for CRC-32 IEEE-LE
...
Reviewed-by: Nicolas George <george@nsup.org >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-04 16:25:32 -03:00
James Almer
613c86299f
avcodec/h264dec: move ff_h264_ps_uninit prototype to h264_ps.h
...
It's the proper place since 8c7932884d
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-03 00:36:09 -03:00
James Almer
efc9d5c4bc
x86/ttaenc: add ff_ttaenc_filter_process_{ssse3,sse4}
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-02 15:48:04 -03:00
James Almer
7a9a8afc82
avcodec/ttaenc: split off hybrid filter processing as ttaencdsp
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-02 15:47:38 -03:00
James Almer
01f0598b18
Merge commit '996f13413b0415097e2a184d161462ffb3ceb647'
...
* commit '996f13413b0415097e2a184d161462ffb3ceb647':
h264: fix warnings in fill_filter_caches_inter()
Conflicts:
libavcodec/h264_slice.c
See ef8f6464a5
Merged-by: James Almer <jamrial@gmail.com >
2016-08-01 19:11:08 -03:00
James Almer
517dd04f6d
Merge commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1'
...
* commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1':
h264: drop tests whether the codec id is AV_CODEC_ID_H264
Conflicts:
libavcodec/h264dec.c
Merged-by: James Almer <jamrial@gmail.com >
2016-08-01 18:15:07 -03:00
James Almer
fd4eb56528
Merge commit '8281cd5cb80582d668ce0848e0e035b383f161f6'
...
* commit '8281cd5cb80582d668ce0848e0e035b383f161f6':
h264_cabac: drop an always true condition
Merged-by: James Almer <jamrial@gmail.com >
2016-08-01 16:46:57 -03:00
James Almer
f41048f6ec
Merge commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c'
...
* commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c':
h264: add H264_ prefix to the NAL unit types
Conflicts:
libavcodec/h264_parse.c
libavcodec/h264_parser.c
libavcodec/h264_slice.c
libavcodec/h264dec.c
Merged-by: James Almer <jamrial@gmail.com >
2016-08-01 15:11:05 -03:00
James Almer
4c121ad546
Merge commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0'
...
* commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0':
h264_sei: drop an unnecessary h264dec.h include
Merged-by: James Almer <jamrial@gmail.com >
2016-08-01 13:04:30 -03:00