ffmpeg.git
10 years agoyadif sse2/ssse3 optimizations
Baptiste Coudurier [Sat, 4 Dec 2010 05:23:44 +0000 (05:23 +0000)]
yadif sse2/ssse3 optimizations

Originally committed as revision 25874 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCount non-header data towards intra block bit count in MJPEG encoder
Bobby Bingham [Sat, 4 Dec 2010 05:21:03 +0000 (05:21 +0000)]
Count non-header data towards intra block bit count in MJPEG encoder

Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:21 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavcodec.

Originally committed as revision 25872 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:12 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavutil.

Originally committed as revision 25871 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoset default subtitle_codec for ass muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:47:12 +0000 (00:47 +0000)]
set default subtitle_codec for ass muxer

Originally committed as revision 25870 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetic: alignment
Aurelien Jacobs [Sat, 4 Dec 2010 00:44:42 +0000 (00:44 +0000)]
cosmetic: alignment

Originally committed as revision 25869 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agouse designated initializer in ASS (de)muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:37:53 +0000 (00:37 +0000)]
use designated initializer in ASS (de)muxer

Originally committed as revision 25868 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadd myself as maintainer for ASS and SRT
Aurelien Jacobs [Sat, 4 Dec 2010 00:23:08 +0000 (00:23 +0000)]
add myself as maintainer for ASS and SRT

Originally committed as revision 25867 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agog722: Add a trellis encoder
Martin Storsjö [Fri, 3 Dec 2010 21:18:45 +0000 (21:18 +0000)]
g722: Add a trellis encoder

The structure is largely based on the trellis encoder in adpcm.c.

Originally committed as revision 25866 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd myself as maintainer for g722.c
Martin Storsjö [Fri, 3 Dec 2010 21:17:23 +0000 (21:17 +0000)]
Add myself as maintainer for g722.c

Originally committed as revision 25865 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agompegtsenc: Improve PCR generation and output
Tomas Härdin [Fri, 3 Dec 2010 13:26:42 +0000 (13:26 +0000)]
mpegtsenc: Improve PCR generation and output
This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000.
This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec).

Originally committed as revision 25864 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoskip top-level objects to search for the simple index in ASF files
Stefan Gehrer [Fri, 3 Dec 2010 07:49:07 +0000 (07:49 +0000)]
skip top-level objects to search for the simple index in ASF files

Originally committed as revision 25863 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd avfilter_graph_create_filter().
Stefano Sabatini [Thu, 2 Dec 2010 20:12:27 +0000 (20:12 +0000)]
Add avfilter_graph_create_filter().

Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing overflow checks in av_image_fill_pointers() and
Stefano Sabatini [Thu, 2 Dec 2010 19:49:55 +0000 (19:49 +0000)]
Add missing overflow checks in av_image_fill_pointers() and
av_image_fill_linesizes().

Originally committed as revision 25861 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agompc: read id3v1 tags.
Anton Khirnov [Thu, 2 Dec 2010 09:56:15 +0000 (09:56 +0000)]
mpc: read id3v1 tags.

Originally committed as revision 25860 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse SECTION .text for yasm code.
avcoder [Wed, 1 Dec 2010 13:12:39 +0000 (13:12 +0000)]
Use SECTION .text for yasm code.

Patch by avcoder, ffmpeg gmail

Originally committed as revision 25859 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadpcm: Skip samples whose ssd calculation has wrapped around
Martin Storsjö [Wed, 1 Dec 2010 08:57:45 +0000 (08:57 +0000)]
adpcm: Skip samples whose ssd calculation has wrapped around

Wraparound in ssd is mainly avoided by subtracting the ssd of the
best node from all the others once it has grown large enough.

If using very large trellis sizes (e.g. -trellis 15), the frontier
is so large that the difference between the best and the worst is
large enough to cause wraparound, even if the ssd of the best one
is subtracted regularly.

When using -trellis 10 on a 30 second sample, this causes only a slight
slowdown, from 61 to 64 seconds.

Originally committed as revision 25858 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing dependencies for frei0r_src in configure.
Stefano Sabatini [Tue, 30 Nov 2010 21:41:26 +0000 (21:41 +0000)]
Add missing dependencies for frei0r_src in configure.

Originally committed as revision 25857 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoExtend the frei0r filter syntax.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:41 +0000 (20:14 +0000)]
Extend the frei0r filter syntax.

Make it accept the frei0r=filtername=params as alternative to
frei0r=filtername:params.

Originally committed as revision 25856 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement frei0r source.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:36 +0000 (20:14 +0000)]
Implement frei0r source.

Originally committed as revision 25855 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove @anchor{} commands from the POD output.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:29 +0000 (20:14 +0000)]
Remove @anchor{} commands from the POD output.

This allows to use the @xref{} command for the HTML output.

Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd FourCC yuvs for rawvideo (PIX_FMT_YUYV422).
Andrew Wason [Mon, 29 Nov 2010 23:15:51 +0000 (23:15 +0000)]
Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422).

Patch by Andrew Wason, rectalogic rectalogic com

Originally committed as revision 25853 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoEnsure that data_offset is set correctly when there are partial
Aaron Colwell [Mon, 29 Nov 2010 19:02:28 +0000 (19:02 +0000)]
Ensure that data_offset is set correctly when there are partial
data packets before the first complete one.
Patch by Aaron Colwell [acolwell chromium org].

Originally committed as revision 25846 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoPartially revert "Simplify code by using av_metadata_set2()."
Anton Khirnov [Mon, 29 Nov 2010 16:38:12 +0000 (16:38 +0000)]
Partially revert "Simplify code by using av_metadata_set2()."

This reverts snprintf->av_d2str part of r20840.
With it, track number is exported as a float, which is not
desirable.

Originally committed as revision 25845 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agortpdec: Remove useless NULL initializations when using designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:45 +0000 (16:04 +0000)]
rtpdec: Remove useless NULL initializations when using designated initializers

Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agortpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:04 +0000 (16:04 +0000)]
rtpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers

Originally committed as revision 25843 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix h264-conformance-frext-frext_mmco4_sony_b conformance test.
Carl Eugen Hoyos [Mon, 29 Nov 2010 10:35:57 +0000 (10:35 +0000)]
Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.

This includes a revert of r25840

Originally committed as revision 25842 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded...
Baptiste Coudurier [Mon, 29 Nov 2010 03:43:56 +0000 (03:43 +0000)]
In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded data.
Fixes issue #2392.

Originally committed as revision 25841 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUpdate fate h264 test due to r25824, this file has 2 frames delay
Baptiste Coudurier [Sun, 28 Nov 2010 23:09:30 +0000 (23:09 +0000)]
Update fate h264 test due to r25824, this file has 2 frames delay

Originally committed as revision 25840 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agortsp: Do a forgotten reindenting
Martin Storsjö [Sun, 28 Nov 2010 21:17:39 +0000 (21:17 +0000)]
rtsp: Do a forgotten reindenting

Originally committed as revision 25839 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn libavfilter, use consistently "Copyright (c)" in the license
Stefano Sabatini [Sun, 28 Nov 2010 10:22:58 +0000 (10:22 +0000)]
In libavfilter, use consistently "Copyright (c)" in the license
headers.

Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd G.722 to RIFF codec list
Peter Ross [Sun, 28 Nov 2010 03:01:00 +0000 (03:01 +0000)]
Add G.722 to RIFF codec list

Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIncrease avformat micro version, forgotten in r25834.
Carl Eugen Hoyos [Sat, 27 Nov 2010 20:29:54 +0000 (20:29 +0000)]
Increase avformat micro version, forgotten in r25834.

Originally committed as revision 25836 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd copyright notices for the E-AC3 and TrueHD parts of the muxer.
Carl Eugen Hoyos [Sat, 27 Nov 2010 18:10:20 +0000 (18:10 +0000)]
Add copyright notices for the E-AC3 and TrueHD parts of the muxer.

Originally committed as revision 25835 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIEC 61937 encapsulation of TrueHD for HDMI passthrough.
Anssi Hannula [Sat, 27 Nov 2010 18:08:01 +0000 (18:08 +0000)]
IEC 61937 encapsulation of TrueHD for HDMI passthrough.
This works at least for some people testing it.

Patch by Anssi Hannula, anssi d hannula a iki fi

Originally committed as revision 25834 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDV: use data_offset to fix seeking in badly cut files where the first
Reimar Döffinger [Sat, 27 Nov 2010 14:40:12 +0000 (14:40 +0000)]
DV: use data_offset to fix seeking in badly cut files where the first
complete frame does not start at position 0.

Originally committed as revision 25833 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoensure the ASS string in AVSubtitleRect is 0 terminated
Aurelien Jacobs [Sat, 27 Nov 2010 01:07:06 +0000 (01:07 +0000)]
ensure the ASS string in AVSubtitleRect is 0 terminated

Originally committed as revision 25832 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMobotix .mxg demuxer
Anatoly Nenashev [Fri, 26 Nov 2010 10:11:16 +0000 (10:11 +0000)]
Mobotix .mxg demuxer

Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru

Originally committed as revision 25831 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix date in last APIchanges entry.
Stefano Sabatini [Fri, 26 Nov 2010 00:40:01 +0000 (00:40 +0000)]
Fix date in last APIchanges entry.

Originally committed as revision 25830 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix crash in uninit.
Stefano Sabatini [Thu, 25 Nov 2010 23:51:37 +0000 (23:51 +0000)]
Fix crash in uninit.

Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix timestamp scaling in the overlay filter.
Stefano Sabatini [Thu, 25 Nov 2010 21:22:55 +0000 (21:22 +0000)]
Fix timestamp scaling in the overlay filter.

Compute the outpicref PTS in start_frame(), since it is required for
comparing that value with the value of the overpicref.

Originally committed as revision 25828 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement avfilter_get_video_buffer_ref_from_arrays().
Stefano Sabatini [Thu, 25 Nov 2010 20:50:28 +0000 (20:50 +0000)]
Implement avfilter_get_video_buffer_ref_from_arrays().

Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake avfilter_default_free_buffer() an internal shared symbol, so that
Stefano Sabatini [Thu, 25 Nov 2010 20:50:23 +0000 (20:50 +0000)]
Make avfilter_default_free_buffer() an internal shared symbol, so that
it can be referenced outside defaults.c.

Originally committed as revision 25826 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix...
Baptiste Coudurier [Thu, 25 Nov 2010 05:03:29 +0000 (05:03 +0000)]
In mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix #2069

Originally committed as revision 25825 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn av_find_stream_info, decode more h264 to get correct delay, issue #2020
Baptiste Coudurier [Thu, 25 Nov 2010 02:19:03 +0000 (02:19 +0000)]
In av_find_stream_info, decode more h264 to get correct delay, issue #2020

Originally committed as revision 25824 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn TS demuxer, create the AVStream during pmt parsing if the pes stream does not
Stephen D'Angelo [Thu, 25 Nov 2010 00:55:02 +0000 (00:55 +0000)]
In TS demuxer, create the AVStream during pmt parsing if the pes stream does not
yet have it, this can happen if the pes stream contain data but no pes header
has been encoutered yet.
Patch by Stephen D'Angelo, SDAngelo at evertz dot com.

Originally committed as revision 25823 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn TS demuxer, keep the pmt filter open to parse all pmt sections,
Baptiste Coudurier [Thu, 25 Nov 2010 00:29:44 +0000 (00:29 +0000)]
In TS demuxer, keep the pmt filter open to parse all pmt sections,
based on patch by Stephen D'Angelo, SDAngelo at evertz dot com.

Originally committed as revision 25822 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoavidec: read some of the Nikon specific tags produced by Nikon cameras
Aurelien Jacobs [Wed, 24 Nov 2010 20:53:27 +0000 (20:53 +0000)]
avidec: read some of the Nikon specific tags produced by Nikon cameras

Originally committed as revision 25821 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years ago0.123l: remove unused arguments in av_log(), fix warning.
Stefano Sabatini [Wed, 24 Nov 2010 18:07:39 +0000 (18:07 +0000)]
0.123l: remove unused arguments in av_log(), fix warning.

Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn aspect filter, fix display for input resolution
Baptiste Coudurier [Wed, 24 Nov 2010 02:38:55 +0000 (02:38 +0000)]
In aspect filter, fix display for input resolution

Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn crop filter, reference picref after updating w/h, fix issue #2377
Baptiste Coudurier [Wed, 24 Nov 2010 01:32:49 +0000 (01:32 +0000)]
In crop filter, reference picref after updating w/h, fix issue #2377

Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd informative log message in the crop filter.
Stefano Sabatini [Tue, 23 Nov 2010 21:08:22 +0000 (21:08 +0000)]
Add informative log message in the crop filter.

Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix memleak: free palette data on close.
Reimar Döffinger [Tue, 23 Nov 2010 20:42:03 +0000 (20:42 +0000)]
Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoavidec: support non-standard creation_time format
Aurelien Jacobs [Tue, 23 Nov 2010 12:04:50 +0000 (12:04 +0000)]
avidec: support non-standard creation_time format

Originally committed as revision 25815 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoavidec: trivial simplification regarding av_metadata_set
Aurelien Jacobs [Tue, 23 Nov 2010 12:03:23 +0000 (12:03 +0000)]
avidec: trivial simplification regarding av_metadata_set

Originally committed as revision 25814 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomatroskaenc: don't duplicate title information
Anton Khirnov [Tue, 23 Nov 2010 08:24:41 +0000 (08:24 +0000)]
matroskaenc: don't duplicate title information

Title is already written into special fields designated for it --
per-segment Title, per-chapter ChapString and per-stream Name (yay for
consistent naming). Therefore, don't duplicate it in Tags.

Originally committed as revision 25813 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoid3v2: add TDEN<->creation_time tag mapping
Anton Khirnov [Tue, 23 Nov 2010 07:54:47 +0000 (07:54 +0000)]
id3v2: add TDEN<->creation_time tag mapping

Originally committed as revision 25812 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agolavf: document the new creation_time tag
Anton Khirnov [Tue, 23 Nov 2010 07:54:44 +0000 (07:54 +0000)]
lavf: document the new creation_time tag

Originally committed as revision 25811 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years ago100l, fix missing decrement on split PGS packets.
Reimar Döffinger [Tue, 23 Nov 2010 07:01:49 +0000 (07:01 +0000)]
100l, fix missing decrement on split PGS packets.

Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn h264 decoder, fix decoding when nal end sequence is present
Baptiste Coudurier [Tue, 23 Nov 2010 01:16:37 +0000 (01:16 +0000)]
In h264 decoder, fix decoding when nal end sequence is present

Originally committed as revision 25809 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove some warnings
Baptiste Coudurier [Tue, 23 Nov 2010 01:10:21 +0000 (01:10 +0000)]
Remove some warnings

Originally committed as revision 25808 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years ago10l, fix memleak, forgot to free mp4_dec_config_descr
Baptiste Coudurier [Tue, 23 Nov 2010 01:04:49 +0000 (01:04 +0000)]
10l, fix memleak, forgot to free mp4_dec_config_descr

Originally committed as revision 25807 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn ts demuxer, support aac flexmux using extradata in iods, issue #2346
Baptiste Coudurier [Tue, 23 Nov 2010 00:51:12 +0000 (00:51 +0000)]
In ts demuxer, support aac flexmux using extradata in iods, issue #2346

Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUnset variable fps for mov and mp4 muxer, they support it
Baptiste Coudurier [Tue, 23 Nov 2010 00:41:28 +0000 (00:41 +0000)]
Unset variable fps for mov and mp4 muxer, they support it
but timestamps must start at 0 currently, and this causes sync
problem.

Originally committed as revision 25805 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoS/PDIF demuxer
Anssi Hannula [Mon, 22 Nov 2010 22:09:26 +0000 (22:09 +0000)]
S/PDIF demuxer

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 25804 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReindent.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:32 +0000 (22:03 +0000)]
Reindent.

Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement robust parsing in aspect filters.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:30 +0000 (22:03 +0000)]
Implement robust parsing in aspect filters.

Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd informative log messages to the set aspect filters.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:27 +0000 (22:03 +0000)]
Add informative log messages to the set aspect filters.

Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoGive more explicit/less confusing names to the filters dealing with
Stefano Sabatini [Mon, 22 Nov 2010 22:03:24 +0000 (22:03 +0000)]
Give more explicit/less confusing names to the filters dealing with
aspect ratio.

Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],
Stefano Sabatini [Mon, 22 Nov 2010 22:03:21 +0000 (22:03 +0000)]
Add missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],
fix crash in ffprobe.

Originally committed as revision 25799 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIn yadif filter, copy video props to output picture.
Baptiste Coudurier [Mon, 22 Nov 2010 20:42:08 +0000 (20:42 +0000)]
In yadif filter, copy video props to output picture.
Fix issue #2269.
Interpolate pts for the second frame when using field output mode.

Originally committed as revision 25798 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFail RLE decoding if insufficient data for a complete bitmap was decoded.
Reimar Döffinger [Mon, 22 Nov 2010 20:39:18 +0000 (20:39 +0000)]
Fail RLE decoding if insufficient data for a complete bitmap was decoded.

Originally committed as revision 25797 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSupport PGS subtitles with RLE data split over mutiple packets.
Mark Goodman [Mon, 22 Nov 2010 20:35:07 +0000 (20:35 +0000)]
Support PGS subtitles with RLE data split over mutiple packets.
Patch by Mark Goodman [mark goodman gmail com] with some modifications by me.

Originally committed as revision 25796 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoffmpeg.c: document default metadata mappings
Anton Khirnov [Mon, 22 Nov 2010 07:32:27 +0000 (07:32 +0000)]
ffmpeg.c: document default metadata mappings

Originally committed as revision 25795 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoffmpeg.c: copy global metadata by default
Anton Khirnov [Mon, 22 Nov 2010 07:32:23 +0000 (07:32 +0000)]
ffmpeg.c: copy global metadata by default

Originally committed as revision 25794 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agofix pointer truncation to int in avpicture_layout()
Ramiro Polla [Mon, 22 Nov 2010 03:46:31 +0000 (03:46 +0000)]
fix pointer truncation to int in avpicture_layout()

Originally committed as revision 25793 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRe-implement avpicture_layout() using pixdesc and imgutils API.
Stefano Sabatini [Sun, 21 Nov 2010 21:25:06 +0000 (21:25 +0000)]
Re-implement avpicture_layout() using pixdesc and imgutils API.

The new implementation is more compact, more correct and doesn't hurt
the eyes.

Originally committed as revision 25792 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReplace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().
Stefano Sabatini [Sun, 21 Nov 2010 21:25:02 +0000 (21:25 +0000)]
Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().

Originally committed as revision 25791 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMusepack SV8 supports "mono" files (though it still codes them as stereo),
Kostya Shishkov [Sun, 21 Nov 2010 20:42:06 +0000 (20:42 +0000)]
Musepack SV8 supports "mono" files (though it still codes them as stereo),
so extend decoder to output only one channel for it.

This fixes issue 2368.

Originally committed as revision 25790 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse the new libavcore audio channel API.
Stefano Sabatini [Sun, 21 Nov 2010 20:06:22 +0000 (20:06 +0000)]
Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on
libavcodec.

Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove declaration of function:
Stefano Sabatini [Sun, 21 Nov 2010 20:06:16 +0000 (20:06 +0000)]
Remove declaration of function:
const char *avcodec_get_channel_name(int channel_id)

which was never implemented.

Originally committed as revision 25788 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove audio channel API from libavcodec to libavcore.
Stefano Sabatini [Sun, 21 Nov 2010 19:28:52 +0000 (19:28 +0000)]
Move audio channel API from libavcodec to libavcore.

Originally committed as revision 25787 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomovdec: export creation_date as metadata
Aurelien Jacobs [Sun, 21 Nov 2010 19:02:52 +0000 (19:02 +0000)]
movdec: export creation_date as metadata

Originally committed as revision 25786 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoavidec: export creation_date as metadata
Aurelien Jacobs [Sun, 21 Nov 2010 19:00:07 +0000 (19:00 +0000)]
avidec: export creation_date as metadata

Originally committed as revision 25785 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoPort overlay filter from the libavfilter repo (with many fixes),
Stefano Sabatini [Sun, 21 Nov 2010 18:39:34 +0000 (18:39 +0000)]
Port overlay filter from the libavfilter repo (with many fixes),
adopting Baptiste variant which is simpler and faster.

Originally committed as revision 25784 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDocument added functions.
Reimar Döffinger [Sun, 21 Nov 2010 11:38:08 +0000 (11:38 +0000)]
Document added functions.

Originally committed as revision 25783 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImprove documentation wording.
Reimar Döffinger [Sun, 21 Nov 2010 11:33:26 +0000 (11:33 +0000)]
Improve documentation wording.

Originally committed as revision 25782 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix indentation.
Reimar Döffinger [Sun, 21 Nov 2010 11:07:04 +0000 (11:07 +0000)]
Fix indentation.

Originally committed as revision 25781 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix indentation.
Reimar Döffinger [Sun, 21 Nov 2010 10:38:08 +0000 (10:38 +0000)]
Fix indentation.

Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd explanation and alternative implementation for strange xan
Reimar Döffinger [Sun, 21 Nov 2010 10:37:26 +0000 (10:37 +0000)]
Add explanation and alternative implementation for strange xan
gamma correction.

Originally committed as revision 25779 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoWC3/xan: move palette handling to decoder, avoiding need for
Reimar Döffinger [Sun, 21 Nov 2010 10:32:23 +0000 (10:32 +0000)]
WC3/xan: move palette handling to decoder, avoiding need for
PaletteControl.
This also fixes playback of some files with ffplay (images were
corrupted for a short time after a palette change).

Originally committed as revision 25778 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd av_append_packet function, to be used in code that merges packets
Reimar Döffinger [Sun, 21 Nov 2010 10:24:48 +0000 (10:24 +0000)]
Add av_append_packet function, to be used in code that merges packets
to allow palette handling without using PaletteControl.

Originally committed as revision 25777 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd a av_grow_packet function, to be used by code that merges
Reimar Döffinger [Sun, 21 Nov 2010 10:21:06 +0000 (10:21 +0000)]
Add a av_grow_packet function, to be used by code that merges
palette and video data packets to get rid of PaletteControl.

Originally committed as revision 25776 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadpcm: Fix a comment in the trellis heap code
Martin Storsjö [Sat, 20 Nov 2010 11:24:19 +0000 (11:24 +0000)]
adpcm: Fix a comment in the trellis heap code

This makes the wording consistent with how people usually talk about heaps.

Originally committed as revision 25775 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMerge rotation into lookup table.
Reimar Döffinger [Sat, 20 Nov 2010 09:36:46 +0000 (09:36 +0000)]
Merge rotation into lookup table.

Originally committed as revision 25774 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics, fix indentation
Baptiste Coudurier [Sat, 20 Nov 2010 08:03:58 +0000 (08:03 +0000)]
Cosmetics, fix indentation

Originally committed as revision 25773 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadpcm: Only increment heap_pos after finding a good enough sample
Martin Storsjö [Fri, 19 Nov 2010 17:36:29 +0000 (17:36 +0000)]
adpcm: Only increment heap_pos after finding a good enough sample

This increases the PSNR slightly (about 0.1 dB) for trellis sizes
below 8, and gives equal PSNR for sizes above that.

Originally committed as revision 25769 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadpcm: Use a hash table to improve checking for duplicate samples
Martin Storsjö [Fri, 19 Nov 2010 17:35:52 +0000 (17:35 +0000)]
adpcm: Use a hash table to improve checking for duplicate samples

This lowers the run time from 158 to 21 seconds, for -trellis 8
with a 30 second sample on my machine.

This requires 64 KB additional memory.

Originally committed as revision 25768 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix qdm2 decoder packet handling to match the api
Baptiste Coudurier [Fri, 19 Nov 2010 06:52:30 +0000 (06:52 +0000)]
Fix qdm2 decoder packet handling to match the api

Originally committed as revision 25767 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoOrder matters, fix test files linking.
Stefano Sabatini [Fri, 19 Nov 2010 00:04:23 +0000 (00:04 +0000)]
Order matters, fix test files linking.

Originally committed as revision 25766 to svn://svn.ffmpeg.org/ffmpeg/trunk