]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoavfilter/vf_scale: do aspect ratio and scale factor compensation together
Michael Niedermayer [Sat, 25 Jan 2014 15:48:13 +0000 (16:48 +0100)]
avfilter/vf_scale: do aspect ratio and scale factor compensation together

Fixes rounding error

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge branch 'scale-filter-factor' of https://github.com/lkiesow/FFmpeg
Michael Niedermayer [Sat, 25 Jan 2014 15:35:03 +0000 (16:35 +0100)]
Merge branch 'scale-filter-factor' of https://github.com/lkiesow/FFmpeg

* 'scale-filter-factor' of https://github.com/lkiesow/FFmpeg:
  Documentation for scale filter factor
  Documentation for scale filter factor
  Fixed factor for scale filter
  Factors for scale filter

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/libx264: also consider ticks per frame for fps/timebase setup
Michael Niedermayer [Sat, 25 Jan 2014 15:19:39 +0000 (16:19 +0100)]
avcodec/libx264: also consider ticks per frame for fps/timebase setup

Setting fps = 1/timebase is not correct

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86/lossless_videodsp: silly one-line cosmetic.
Clément Bœsch [Sat, 25 Jan 2014 15:23:22 +0000 (16:23 +0100)]
x86/lossless_videodsp: silly one-line cosmetic.

10 years agoDocumentation for scale filter factor
Lars Kiesow [Sat, 25 Jan 2014 14:34:23 +0000 (15:34 +0100)]
Documentation for scale filter factor

10 years agoDocumentation for scale filter factor
Lars Kiesow [Sat, 25 Jan 2014 14:02:15 +0000 (15:02 +0100)]
Documentation for scale filter factor

10 years agoFixed factor for scale filter
Lars Kiesow [Sat, 25 Jan 2014 14:00:02 +0000 (15:00 +0100)]
Fixed factor for scale filter

10 years agoFactors for scale filter
Lars Kiesow [Sat, 25 Jan 2014 13:40:48 +0000 (14:40 +0100)]
Factors for scale filter

10 years agox86/lossless_videodsp: use common macro for add and diff int16 loop.
Clément Bœsch [Sat, 25 Jan 2014 10:59:39 +0000 (11:59 +0100)]
x86/lossless_videodsp: use common macro for add and diff int16 loop.

10 years agox86/lossless_videodsp: simplify and explicit aligned/unaligned flags
Clément Bœsch [Thu, 23 Jan 2014 06:58:09 +0000 (07:58 +0100)]
x86/lossless_videodsp: simplify and explicit aligned/unaligned flags

10 years agolavfi/drawtext: add option for drawing border around text
Ramiro Polla [Sat, 18 Jan 2014 05:58:34 +0000 (03:58 -0200)]
lavfi/drawtext: add option for drawing border around text

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavfi/drawtext: get bitmap from glyph in a separate step
Ramiro Polla [Fri, 10 Jan 2014 13:03:12 +0000 (11:03 -0200)]
lavfi/drawtext: get bitmap from glyph in a separate step

This change makes it possible to transform the glyph or get its border before
turning it into a bitmap.

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'rbultje/vp9-simd'
Michael Niedermayer [Sat, 25 Jan 2014 00:43:50 +0000 (01:43 +0100)]
Merge remote-tracking branch 'rbultje/vp9-simd'

* rbultje/vp9-simd:
  vp9: fix memory corruption if header decoding fails after size change.
  vp9/x86: use explicit register for relative stack references.
  vp9/x86: iwht4x4 (lossless) mmx.
  vp9/x86: 4x4 iadst SIMD (ssse3) variants.
  vp9/x86: 8x8 iadst SIMD (ssse3/avx) variants.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 25 Jan 2014 00:39:19 +0000 (01:39 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dxtory: compressed RGB555/RGB565 decoding support

Conflicts:
libavcodec/dxtory.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '0e1ad2f591b87e944550c15b54e54f8189743289'
Michael Niedermayer [Sat, 25 Jan 2014 00:33:42 +0000 (01:33 +0100)]
Merge commit '0e1ad2f591b87e944550c15b54e54f8189743289'

* commit '0e1ad2f591b87e944550c15b54e54f8189743289':
  dxtory: add more compressed and uncompressed modes

Conflicts:
libavcodec/dxtory.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agovp9: fix memory corruption if header decoding fails after size change.
Ronald S. Bultje [Sat, 25 Jan 2014 00:21:57 +0000 (19:21 -0500)]
vp9: fix memory corruption if header decoding fails after size change.

10 years agovp9/x86: use explicit register for relative stack references.
Ronald S. Bultje [Fri, 24 Jan 2014 23:48:56 +0000 (18:48 -0500)]
vp9/x86: use explicit register for relative stack references.

Before this patch, we explicitly modify rsp, which isn't necessarily
universally acceptable, since the space under the stack pointer might
be modified in things like signal handlers. Therefore, use an explicit
register to hold the stack pointer relative to the bottom of the stack
(i.e. rsp). This will also clear out valgrind errors about the use of
uninitialized data that started occurring after the idct16x16/ssse3
optimizations were first merged.

10 years agovp9/x86: iwht4x4 (lossless) mmx.
Ronald S. Bultje [Tue, 21 Jan 2014 01:04:48 +0000 (20:04 -0500)]
vp9/x86: iwht4x4 (lossless) mmx.

10 years agovp9/x86: 4x4 iadst SIMD (ssse3) variants.
Ronald S. Bultje [Mon, 20 Jan 2014 20:30:22 +0000 (15:30 -0500)]
vp9/x86: 4x4 iadst SIMD (ssse3) variants.

Cycle measurements for intra itxfm_4x4_add on ped1080p.webm:
idct_idct:    66 -> 67 cycles (noise measurement)
idct_iadst:  199 -> 79 cycles
iadst_idct:  165 -> 70 cycles
iadst_iadst: 183 -> 82 cycles

10 years agovp9/x86: 8x8 iadst SIMD (ssse3/avx) variants.
Ronald S. Bultje [Mon, 20 Jan 2014 22:11:48 +0000 (17:11 -0500)]
vp9/x86: 8x8 iadst SIMD (ssse3/avx) variants.

Cycle measurements for intra itxfm_8x8_add on ped1080p.webm:
idct_idct:   133 -> 135 cycles (noise measurement)
idct_iadst:  900 -> 241 cycles
iadst_idct:  864 -> 215 cycles
iadst_iadst: 973 -> 310 cycles

10 years agoavcodec/dvbsubdec: Remove unused display_list_size
Michael Niedermayer [Sat, 25 Jan 2014 00:22:48 +0000 (01:22 +0100)]
avcodec/dvbsubdec: Remove unused display_list_size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoFixed a memory leak in dvbsubenc.c: sub->num_rects was reduced without freeing the...
Wim Vander Schelden [Tue, 21 Jan 2014 13:38:16 +0000 (14:38 +0100)]
Fixed a memory leak in dvbsubenc.c: sub->num_rects was reduced without freeing the associated rects.

Signed-off-by: Wim Vander Schelden <lists@fixnum.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/avienc: cosmetic indent
James Darnley [Fri, 24 Jan 2014 02:13:47 +0000 (03:13 +0100)]
lavf/avienc: cosmetic indent

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/avienc: use metadata_header_padding
James Darnley [Fri, 24 Jan 2014 01:22:50 +0000 (02:22 +0100)]
lavf/avienc: use metadata_header_padding

The muxer will write at least the number of bytes requested and possibly
up to 3 bytes more.  This is because the muxer writes 32-bit integers
and the format requires 4-byte alignment anyway.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/id3v2enc: update comment about minimum padding
James Darnley [Thu, 2 Jan 2014 19:34:35 +0000 (20:34 +0100)]
lavf/id3v2enc: update comment about minimum padding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/id3v2enc: use metadata_header_padding
James Darnley [Mon, 30 Dec 2013 17:13:08 +0000 (18:13 +0100)]
lavf/id3v2enc: use metadata_header_padding

As with the change to flacenc this allows the user to control the amount
of padding they want added to the file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/flacenc: fix comment after previous change
James Darnley [Sun, 29 Dec 2013 23:41:50 +0000 (00:41 +0100)]
lavf/flacenc: fix comment after previous change

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/flacenc: use metadata_header_padding
James Darnley [Sun, 29 Dec 2013 21:58:27 +0000 (22:58 +0100)]
lavf/flacenc: use metadata_header_padding

Allows a user to control the amount, if any, of padding they want added
to the file.  If set to zero the block will not be written at all.  If
set to some positive number four more bytes will be added to the file
due to the small header required for the block.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoAVFormatContext: add metadata_header_padding field
James Darnley [Sun, 29 Dec 2013 21:42:33 +0000 (22:42 +0100)]
AVFormatContext: add metadata_header_padding field

This field is used to store the number of bytes that should be written
as padding to a metadata header of a file.  For example:
 - The FLAC format's METADATA_BLOCK_PADDING [1]
 - The ID3v2 tag format's padding           [2]

[1] http://xiph.org/flac/format.html#metadata_block_padding
[2] http://id3.org/id3v2.3.0#ID3v2_overview

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegts demuxer: store PMT values of DVB teletext to extradata
Serhii Marchuk [Fri, 24 Jan 2014 19:12:48 +0000 (21:12 +0200)]
mpegts demuxer: store PMT values of DVB teletext to extradata

* Using extradata by TS demuxer to store values from PMT
* Support of multiple languages in one DVB teletext stream:
  comma separated language codes in metadata "language" field

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegts muxer: restore PMT table of DVB teletext from extradata
Serhii Marchuk [Fri, 24 Jan 2014 15:34:58 +0000 (17:34 +0200)]
mpegts muxer: restore PMT table of DVB teletext from extradata

* Using extradata by TS muxer to correctly restore PMT table
* PES_header_data_length should be always 0x24 for DVB teletext,
  according to DVB standard

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegts muxer: Change the default subtitle language to "und"
Serhii Marchuk [Fri, 24 Jan 2014 15:34:58 +0000 (17:34 +0200)]
mpegts muxer: Change the default subtitle language to "und"

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavutil/opt: Better print representation of number limits
João Bernardo [Fri, 24 Jan 2014 19:28:51 +0000 (17:28 -0200)]
avutil/opt: Better print representation of number limits

Signed-off-by: João Bernardo Oliveira <jbvsmo@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodxtory: compressed RGB555/RGB565 decoding support
Kostya Shishkov [Tue, 21 Jan 2014 19:11:35 +0000 (20:11 +0100)]
dxtory: compressed RGB555/RGB565 decoding support

10 years agodxtory: add more compressed and uncompressed modes
Kostya Shishkov [Tue, 21 Jan 2014 19:06:11 +0000 (20:06 +0100)]
dxtory: add more compressed and uncompressed modes

10 years agoavcodec/mpeg12dec: fix mis-indented line
Michael Niedermayer [Fri, 24 Jan 2014 16:36:16 +0000 (17:36 +0100)]
avcodec/mpeg12dec: fix mis-indented line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: Disable the checked bitstream reader
Michael Niedermayer [Fri, 24 Jan 2014 16:33:31 +0000 (17:33 +0100)]
avcodec/mpeg12dec: Disable the checked bitstream reader

Mpeg1/2 should not need it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: Check for overread in mpeg_decode_slice()
Michael Niedermayer [Fri, 24 Jan 2014 16:45:26 +0000 (17:45 +0100)]
avcodec/mpeg12dec: Check for overread in mpeg_decode_slice()

This is needed in case the checked bitstream reader is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: check block index in mpeg2_fast_decode_block_non_intra()
Michael Niedermayer [Fri, 24 Jan 2014 16:36:47 +0000 (17:36 +0100)]
avcodec/mpeg12dec: check block index in mpeg2_fast_decode_block_non_intra()

Prevents some overreads at the cost of 1 cpu cycle

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: Optimize mpeg1_decode_block_intra()
Michael Niedermayer [Fri, 24 Jan 2014 16:11:39 +0000 (17:11 +0100)]
avcodec/mpeg12dec: Optimize mpeg1_decode_block_intra()

sandybridge i7 274->260 cycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: check for overread in mpeg1_fast_decode_block_inter()
Michael Niedermayer [Fri, 24 Jan 2014 15:46:43 +0000 (16:46 +0100)]
avcodec/mpeg12dec: check for overread in mpeg1_fast_decode_block_inter()

No speedloss meassured

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpeg12dec: Make mpeg2_fast_decode_block_intra() more robust by breaking out...
Michael Niedermayer [Fri, 24 Jan 2014 15:28:39 +0000 (16:28 +0100)]
avcodec/mpeg12dec: Make mpeg2_fast_decode_block_intra() more robust by breaking out on invalid vlcs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 24 Jan 2014 11:47:31 +0000 (12:47 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  vp9: fix bugs in updating coef probabilities with parallelmode=1

Conflicts:
libavcodec/vp9.c

No change, the bug/buggy code doesnt seem to be in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'bd01412313c728400f1fc5448ede0ad8b51da0d1'
Michael Niedermayer [Fri, 24 Jan 2014 11:31:43 +0000 (12:31 +0100)]
Merge commit 'bd01412313c728400f1fc5448ede0ad8b51da0d1'

* commit 'bd01412313c728400f1fc5448ede0ad8b51da0d1':
  vp9: fix mvref finding to adhere to bug in libvpx.

Conflicts:
libavcodec/vp9mvs.c

No change
See: dd3d0f46bdb0b9bd204159c67f522cd6f3db7e7c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoexamples/filtering_audio,video: do not call avcodec_register_all()
Stefano Sabatini [Fri, 24 Jan 2014 11:17:40 +0000 (12:17 +0100)]
examples/filtering_audio,video: do not call avcodec_register_all()

It is implied by av_register_all(). Simplify.

10 years agodoc/ffmpeg: reference time syntax sections in ffmpeg-utils for itsoffset and timestam...
Stefano Sabatini [Thu, 23 Jan 2014 17:41:57 +0000 (18:41 +0100)]
doc/ffmpeg: reference time syntax sections in ffmpeg-utils for itsoffset and timestamp options

Avoid doc duplication and desynching.

10 years agovp9: fix bugs in updating coef probabilities with parallelmode=1
Guillaume Martres [Sun, 19 Jan 2014 18:04:59 +0000 (19:04 +0100)]
vp9: fix bugs in updating coef probabilities with parallelmode=1

- The memcpy was completely wrong because
s->prob_ctx[s->framectxid].coef is a [4][2][2][6][6][3] array, whereas
s->prob.coef is a [4][2][2][6][6][11] array.
- The additional check was committed to ffmpeg by Ronald S. Bultje.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovp9: fix mvref finding to adhere to bug in libvpx.
Ronald S. Bultje [Sun, 19 Jan 2014 18:04:58 +0000 (19:04 +0100)]
vp9: fix mvref finding to adhere to bug in libvpx.

Fixes a particular youtube video that I unfortunately can't share.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavformat/nutenc: fix missing break in switch
Michael Niedermayer [Fri, 24 Jan 2014 03:17:15 +0000 (04:17 +0100)]
avformat/nutenc: fix missing break in switch

Fixes CID1163848
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/avfilter: fix use of uninitialized pointer
Michael Niedermayer [Fri, 24 Jan 2014 03:14:52 +0000 (04:14 +0100)]
avfilter/avfilter: fix use of uninitialized pointer

Fixes CID1163852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/vc1: fix type of tmp
Michael Niedermayer [Fri, 24 Jan 2014 02:40:37 +0000 (03:40 +0100)]
avcodec/vc1: fix type of tmp

Fixes CID1163850
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/libopenjpegenc: Replace av_frame_alloc() and av_frame_ref() by av_frame_clone()
Michael Niedermayer [Fri, 24 Jan 2014 02:25:47 +0000 (03:25 +0100)]
avcodec/libopenjpegenc: Replace av_frame_alloc() and av_frame_ref() by av_frame_clone()

Simplifies code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegenc: Use av_frame_clone() instead of av_frame_ref()
Michael Niedermayer [Fri, 24 Jan 2014 02:24:55 +0000 (03:24 +0100)]
avcodec/mjpegenc: Use av_frame_clone() instead of av_frame_ref()

This avoids the need for double error checking
Fixes CID1163843

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/libopenjpegenc: Check the return code of av_frame_ref()
Michael Niedermayer [Fri, 24 Jan 2014 01:58:20 +0000 (02:58 +0100)]
avcodec/libopenjpegenc: Check the return code of av_frame_ref()

Fixes CID1163842

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/h264_cabac: Fix use with the checked bitstream-reader
Michael Niedermayer [Thu, 23 Jan 2014 23:05:17 +0000 (00:05 +0100)]
avcodec/h264_cabac: Fix use with the checked bitstream-reader

Found-by: Dale Curtis <dalecurtis@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolibavformat/mtv: add missing MTV_ prefix to macro
Reynaldo H. Verdejo Pinochet [Thu, 23 Jan 2014 20:14:52 +0000 (17:14 -0300)]
libavformat/mtv: add missing MTV_ prefix to macro

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
10 years agolibavformat/mtv: make clear we assume bpp is always 16
Reynaldo H. Verdejo Pinochet [Thu, 23 Jan 2014 19:18:57 +0000 (16:18 -0300)]
libavformat/mtv: make clear we assume bpp is always 16

All samples in the wild are RGB565/555 and we are already
acting on this assumption when pushing out the video frames,
so if we get anything != than 16 for bpp we just override
this value for doing any calculations making our approach
consistent.

Also avoid repeatedly shifting bpp.

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
10 years agolibavformat/mtv: donwgrade probe score for < 512
Reynaldo H. Verdejo Pinochet [Thu, 23 Jan 2014 19:03:09 +0000 (16:03 -0300)]
libavformat/mtv: donwgrade probe score for < 512

MTV has a 512 bytes header. We should be able to
parse required fiels from the first 57 (rest is
padding) but if we haven't seen enough data then
go with SCORE_EXTENSION.

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
10 years agolibavformat/mtv: Check for min header size first
Reynaldo H. Verdejo Pinochet [Thu, 23 Jan 2014 18:43:07 +0000 (15:43 -0300)]
libavformat/mtv: Check for min header size first

Abort immediately if we are not getting enough
data to extract the required fields.

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
10 years agoCinepak encoder: adding option handling for flexibility
addr-see-the-website@aetey.se [Thu, 23 Jan 2014 15:40:37 +0000 (16:40 +0100)]
Cinepak encoder: adding option handling for flexibility

Now it is possible to adjust compression speed vs R/D when needed
and also skip vintage players compatibility at will.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 23 Jan 2014 19:15:17 +0000 (20:15 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtpdec_asf: Copy the need_parsing field from the chained demuxer

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agortpdec_asf: Copy the need_parsing field from the chained demuxer
Martin Storsjö [Thu, 23 Jan 2014 12:07:46 +0000 (14:07 +0200)]
rtpdec_asf: Copy the need_parsing field from the chained demuxer

This fixes playback of mp3 streams in rtp/asf. This used to work
until c6f1dc8, but mostly by coincidence.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoffmpeg: use av_err2str() macro
Stefano Sabatini [Thu, 23 Jan 2014 11:47:48 +0000 (12:47 +0100)]
ffmpeg: use av_err2str() macro

Simplify.

10 years agoffmpeg: apply misc cosmetics to process_input() code
Stefano Sabatini [Thu, 23 Jan 2014 11:46:04 +0000 (12:46 +0100)]
ffmpeg: apply misc cosmetics to process_input() code

10 years agoavformat/matroskaenc: wrap V_QUICKTIME codec private in something that looks like...
Michael Niedermayer [Sun, 19 Jan 2014 19:59:28 +0000 (20:59 +0100)]
avformat/matroskaenc: wrap V_QUICKTIME codec private in something that looks like its part of quicktime stsd

This is needed for matroska spec compliance
Fixes playback of SVQ3 in matroska with vlc
Fixes Ticket 3256

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/http: Properly handle cookies that specify sub-domain where the URL.
Eli Kara [Thu, 23 Jan 2014 08:34:20 +0000 (08:34 +0000)]
avformat/http: Properly handle cookies that specify sub-domain where the URL.

Fixes ticket #3336

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/tls: Fix windows build with openSSL enabled.
Matt Oliver [Mon, 20 Jan 2014 12:13:51 +0000 (23:13 +1100)]
avformat/tls: Fix windows build with openSSL enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/x86/lossless_videodsp: disable median optimizations for 16bps
Michael Niedermayer [Thu, 23 Jan 2014 00:35:29 +0000 (01:35 +0100)]
avcodec/x86/lossless_videodsp: disable median optimizations for 16bps

They only support upto 15bps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/lossless_videodsp: Pass AVCodecContext to init
Michael Niedermayer [Thu, 23 Jan 2014 00:34:56 +0000 (01:34 +0100)]
avcodec/lossless_videodsp: Pass AVCodecContext to init

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/bitstream: assert that no integer overflow happened when writing codes in...
Michael Niedermayer [Thu, 23 Jan 2014 00:32:49 +0000 (01:32 +0100)]
avcodec/bitstream: assert that no integer overflow happened when writing codes in build_table()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoexamples/muxing: reindent after previous commit
Stefano Sabatini [Thu, 23 Jan 2014 00:08:24 +0000 (01:08 +0100)]
examples/muxing: reindent after previous commit

10 years agoexamples/muxing: flush encoders at the end
Stefano Sabatini [Sun, 19 Jan 2014 17:31:49 +0000 (18:31 +0100)]
examples/muxing: flush encoders at the end

10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 22 Jan 2014 22:36:33 +0000 (23:36 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo_enc: Don't call ff_h263dsp_init unconditionally

Conflicts:
libavcodec/mpegvideo_enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/x86/lossless_videodsp: port sub_hfyu_median_prediction_int16 to yasm
Michael Niedermayer [Wed, 22 Jan 2014 22:26:32 +0000 (23:26 +0100)]
avcodec/x86/lossless_videodsp: port sub_hfyu_median_prediction_int16 to yasm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/x86/lossless_videodsp: Port sub_hfyu_median_prediction_mmxext to int16
Michael Niedermayer [Wed, 22 Jan 2014 21:55:49 +0000 (22:55 +0100)]
avcodec/x86/lossless_videodsp: Port sub_hfyu_median_prediction_mmxext to int16

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/x86/lossless_videodsp: port add_hfyu_median_prediction_mmxext to 16bit
Michael Niedermayer [Wed, 22 Jan 2014 20:10:33 +0000 (21:10 +0100)]
avcodec/x86/lossless_videodsp: port add_hfyu_median_prediction_mmxext to 16bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/x86/lossless_videodsp: add diff_int16_mmx/sse2
Michael Niedermayer [Wed, 22 Jan 2014 18:41:21 +0000 (19:41 +0100)]
avcodec/x86/lossless_videodsp: add diff_int16_mmx/sse2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegvideo_enc: Don't call ff_h263dsp_init unconditionally
Martin Storsjö [Wed, 22 Jan 2014 14:58:36 +0000 (16:58 +0200)]
mpegvideo_enc: Don't call ff_h263dsp_init unconditionally

This fixes builds with e.g. --disable-decoders --disable-encoders
--enable-encoder=mjpeg.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 22 Jan 2014 15:08:19 +0000 (16:08 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  bfin: vp3: Mark all binary object sections appropriately

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ea49f60523c4f4c43cb06a35166b44478d473e51'
Michael Niedermayer [Wed, 22 Jan 2014 15:00:44 +0000 (16:00 +0100)]
Merge commit 'ea49f60523c4f4c43cb06a35166b44478d473e51'

* commit 'ea49f60523c4f4c43cb06a35166b44478d473e51':
  h264: skip chroma edges at the picture boundary while deblocking 4:4:4

Conflicts:
libavcodec/h264.c

See: f27b22b4974c740f4c7b4140a793cac196179266
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '8267f9363532b23b3b8b4e27491ee2d412a8aec3'
Michael Niedermayer [Wed, 22 Jan 2014 14:26:28 +0000 (15:26 +0100)]
Merge commit '8267f9363532b23b3b8b4e27491ee2d412a8aec3'

* commit '8267f9363532b23b3b8b4e27491ee2d412a8aec3':
  configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/cinepakenc: fixes and improvements
addr-see-the-website@aetey.se [Wed, 22 Jan 2014 10:21:02 +0000 (11:21 +0100)]
avcodec/cinepakenc: fixes and improvements

Fixed/improved multistrip adaptivity.
Improved R/D by optimized codebook generation.
Support for the correct color space.
Vintage compatibility.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoAdding Cinepak encoder
Tomas Härdin [Wed, 22 Jan 2014 10:12:11 +0000 (11:12 +0100)]
Adding Cinepak encoder

With permission of Tomas Härdin applied by Rl aetey.se

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agobfin: vp3: Mark all binary object sections appropriately
Diego Biurrun [Wed, 22 Jan 2014 13:01:08 +0000 (05:01 -0800)]
bfin: vp3: Mark all binary object sections appropriately

This fixes a leftover from e44d7c659ba56d7efd6de10d5d99a1c44fd997fa.

10 years agoh264: skip chroma edges at the picture boundary while deblocking 4:4:4
Janne Grunau [Mon, 20 Jan 2014 17:16:54 +0000 (18:16 +0100)]
h264: skip chroma edges at the picture boundary while deblocking 4:4:4

This handles macroblock edges for the chroma components in the same way
as for the luma compoment for 4:4:4 streams. The Spec explicitly states
that the deblocking filter is not applied to edges at the boundary of
the picture.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
10 years agoconfigure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection
Diego Biurrun [Tue, 21 Jan 2014 18:54:14 +0000 (19:54 +0100)]
configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection

This prevents the default HOSTCFLAGS from getting clobbered by flags
passed to configure on the command line.

10 years agoMerge remote-tracking branch 'lukaszmluki/master'
Michael Niedermayer [Wed, 22 Jan 2014 00:12:18 +0000 (01:12 +0100)]
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  lavf/ftp: remove double space
  lavf/libssh: fix seek with whence==SEEK_CUR
  lavf/libssh: rename context variable from s into libssh
  lavf/libssh: add av_cold attributes
  lavf/libssh: factorize create_sftp_session function
  lavf/libssh: factorize create_ssh_session function
  lavf/libssh: factorize file_stat function
  lavf/libssh: factorize open_file function
  lavf/libssh: add private_key option

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavf/ftp: remove double space
Lukasz Marek [Tue, 21 Jan 2014 00:26:18 +0000 (01:26 +0100)]
lavf/ftp: remove double space

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: fix seek with whence==SEEK_CUR
Lukasz Marek [Tue, 21 Jan 2014 00:18:15 +0000 (01:18 +0100)]
lavf/libssh: fix seek with whence==SEEK_CUR

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: rename context variable from s into libssh
Lukasz Marek [Tue, 21 Jan 2014 00:12:05 +0000 (01:12 +0100)]
lavf/libssh: rename context variable from s into libssh

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: add av_cold attributes
Lukasz Marek [Mon, 20 Jan 2014 23:50:27 +0000 (00:50 +0100)]
lavf/libssh: add av_cold attributes

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: factorize create_sftp_session function
Lukasz Marek [Tue, 21 Jan 2014 23:00:21 +0000 (00:00 +0100)]
lavf/libssh: factorize create_sftp_session function

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: factorize create_ssh_session function
Lukasz Marek [Tue, 21 Jan 2014 22:59:59 +0000 (23:59 +0100)]
lavf/libssh: factorize create_ssh_session function

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: factorize file_stat function
Lukasz Marek [Mon, 20 Jan 2014 22:59:59 +0000 (23:59 +0100)]
lavf/libssh: factorize file_stat function

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: factorize open_file function
Lukasz Marek [Mon, 20 Jan 2014 22:53:47 +0000 (23:53 +0100)]
lavf/libssh: factorize open_file function

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agolavf/libssh: add private_key option
Lukasz Marek [Mon, 20 Jan 2014 21:57:57 +0000 (22:57 +0100)]
lavf/libssh: add private_key option

Allows to specify private key to use during authorization.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
10 years agoavformat/mov: redesign the fps calculation
Michael Niedermayer [Tue, 21 Jan 2014 23:33:38 +0000 (00:33 +0100)]
avformat/mov: redesign the fps calculation

This uses STTS and TRUN information to calculate the fps
It seems to work with more files than the previous code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 21 Jan 2014 21:19:16 +0000 (22:19 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytes

Conflicts:
libswscale/x86/rgb2rgb_template.c

See: 3033cd7555921242cbdc06d0d8aee9f8925d6a3c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '7597e6efe492cb2449bb771054d64cc7fdf62ff5'
Michael Niedermayer [Tue, 21 Jan 2014 21:03:28 +0000 (22:03 +0100)]
Merge commit '7597e6efe492cb2449bb771054d64cc7fdf62ff5'

* commit '7597e6efe492cb2449bb771054d64cc7fdf62ff5':
  swscale/x86/rgb2rgb: add support for AVX

Conflicts:
libswscale/x86/rgb2rgb_template.c

See: 4729b529e60fb99356a1d9e13793835af50b3e87
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '9047491f8bcd87673eed55fb310647a03b0981e9'
Michael Niedermayer [Tue, 21 Jan 2014 20:55:20 +0000 (21:55 +0100)]
Merge commit '9047491f8bcd87673eed55fb310647a03b0981e9'

* commit '9047491f8bcd87673eed55fb310647a03b0981e9':
  swscale: add nv12/nv21->yuv420 converter

Conflicts:
libswscale/rgb2rgb.c
libswscale/rgb2rgb_template.c

See: ef627bf9ecddfa888d4c6e4fd633852798c3b4a9
Merged-by: Michael Niedermayer <michaelni@gmx.at>