ffmpeg.git
7 years agomandelbrot: avoid INFINITY as openbsd seems not to like it.
Michael Niedermayer [Mon, 14 Nov 2011 04:47:56 +0000 (05:47 +0100)]
mandelbrot: avoid INFINITY as openbsd seems not to like it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopad: fix format string length
Michael Niedermayer [Mon, 14 Nov 2011 04:42:10 +0000 (05:42 +0100)]
pad: fix format string length

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 13 Nov 2011 22:43:12 +0000 (23:43 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf: pass options from AVFormatContext to avio.
  avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards
  avio: add avio_open2, taking an interrupt callback and options
  avio: add support for passing options to protocols.
  avio: add and use ffurl_protocol_next().
  avformat: Pass the interrupt callback on to chained muxers/demuxers
  avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc
  avformat: Use ff_check_interrupt
  avio: Add an internal utility function for checking the new interrupt callback
  avio: Add AVIOInterruptCB
  texi2html: remove stray \n
  doc: prettyfy the texi2html documentation
  swscale: handle unaligned buffers in yuv2plane1

Conflicts:
libavformat/avformat.h
libavformat/avio.c
libavformat/mov.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc: replace an "avconv" reference with "ffmpeg" in indevs.
Clément Bœsch [Sun, 13 Nov 2011 22:34:11 +0000 (23:34 +0100)]
doc: replace an "avconv" reference with "ffmpeg" in indevs.

7 years agodoc: drop "./" binary prefixes.
Clément Bœsch [Sun, 13 Nov 2011 22:33:22 +0000 (23:33 +0100)]
doc: drop "./" binary prefixes.

7 years agovsrc_mandelbrot: set options through the opt framework
Stefano Sabatini [Sun, 13 Nov 2011 18:12:00 +0000 (19:12 +0100)]
vsrc_mandelbrot: set options through the opt framework

7 years agomandelbrot: remove always-false condition in fill_from_cache
Giorgio Vazzana [Sun, 13 Nov 2011 12:51:09 +0000 (13:51 +0100)]
mandelbrot: remove always-false condition in fill_from_cache

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMAINTAINER: add libavfilter section and add myself to yadif & mandelbrot
Michael Niedermayer [Sun, 13 Nov 2011 18:33:34 +0000 (19:33 +0100)]
MAINTAINER: add libavfilter section and add myself to yadif & mandelbrot

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: allow visualizing the period of converged points.
Michael Niedermayer [Sun, 13 Nov 2011 18:28:24 +0000 (19:28 +0100)]
mandelbrot: allow visualizing the period of converged points.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: Add inner variable & enum for inner coloring schemes.
Michael Niedermayer [Sun, 13 Nov 2011 18:26:22 +0000 (19:26 +0100)]
mandelbrot: Add inner variable & enum for inner coloring schemes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: only check bailout once every 2 iterations.
Michael Niedermayer [Sun, 13 Nov 2011 17:14:40 +0000 (18:14 +0100)]
mandelbrot: only check bailout once every 2 iterations.
Once we bailed out we calculate the exact iteration in which it would have happened if needed.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: add SQR() macro
Michael Niedermayer [Sun, 13 Nov 2011 17:14:10 +0000 (18:14 +0100)]
mandelbrot: add SQR() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT
Giorgio Vazzana [Sun, 13 Nov 2011 15:09:58 +0000 (16:09 +0100)]
mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT

Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent
the bailout radius squared, and then simplify the two sqrt().
This is also slightly faster.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: add supports of OS/2 threads
KO Myung-Hun [Tue, 1 Nov 2011 15:00:21 +0000 (00:00 +0900)]
lavc: add supports of OS/2 threads

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: unroll the innermost loop once.
Michael Niedermayer [Sun, 13 Nov 2011 15:55:28 +0000 (16:55 +0100)]
mandelbrot: unroll the innermost loop once.
This allows us to remove a if() and a variable assignment.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: only check periodicity once for each period instead of twice.
Michael Niedermayer [Sun, 13 Nov 2011 15:37:55 +0000 (16:37 +0100)]
mandelbrot: only check periodicity once for each period instead of twice.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: use period detection depening on left pixel and not the
Michael Niedermayer [Sun, 13 Nov 2011 14:14:25 +0000 (15:14 +0100)]
mandelbrot: use period detection depening on left pixel and not the
previous calculated pixel, this is more accurate due to the last
calculated often being farther away.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCosmetics: Increase readability.
Carl Eugen Hoyos [Sun, 13 Nov 2011 14:43:09 +0000 (15:43 +0100)]
Cosmetics: Increase readability.

7 years agoIncrease Westwood Studios VQA palette dynamics.
Carl Eugen Hoyos [Sun, 13 Nov 2011 14:12:43 +0000 (15:12 +0100)]
Increase Westwood Studios VQA palette dynamics.

7 years agoIncrease Sierra VMD palette dynamics.
Carl Eugen Hoyos [Sun, 13 Nov 2011 14:04:29 +0000 (15:04 +0100)]
Increase Sierra VMD palette dynamics.

7 years agoIncrease Pictor/PC Paint palette dynamics.
Carl Eugen Hoyos [Sun, 13 Nov 2011 13:52:21 +0000 (14:52 +0100)]
Increase Pictor/PC Paint palette dynamics.

7 years agoIncrease FLI/FLC Animation palette dynamics for some samples.
Carl Eugen Hoyos [Sun, 13 Nov 2011 13:50:01 +0000 (14:50 +0100)]
Increase FLI/FLC Animation palette dynamics for some samples.

7 years agoIncrease eXtended BINary text palette dynamics.
Carl Eugen Hoyos [Sun, 13 Nov 2011 13:42:22 +0000 (14:42 +0100)]
Increase eXtended BINary text palette dynamics.

7 years agoIncrease Bethesda VID palette dynamics.
Carl Eugen Hoyos [Sun, 13 Nov 2011 13:40:32 +0000 (14:40 +0100)]
Increase Bethesda VID palette dynamics.

7 years agolavf: pass options from AVFormatContext to avio.
Anton Khirnov [Sat, 5 Nov 2011 11:30:21 +0000 (12:30 +0100)]
lavf: pass options from AVFormatContext to avio.

7 years agoavformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards
Martin Storsjö [Sun, 6 Nov 2011 21:11:29 +0000 (23:11 +0200)]
avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavio: add avio_open2, taking an interrupt callback and options
Martin Storsjö [Sun, 6 Nov 2011 21:03:45 +0000 (23:03 +0200)]
avio: add avio_open2, taking an interrupt callback and options

The interrupt callback has to be passed in during opening (setting it
after opening isn't enough), since a blocking open couldn't be
interrupted otherwise.

Options are passed down to procotols and also need to be available
during open() in most cases.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavio: add support for passing options to protocols.
Anton Khirnov [Sat, 5 Nov 2011 09:04:04 +0000 (10:04 +0100)]
avio: add support for passing options to protocols.

Not used anywhere yet, support for passing options from avio_open() will
follow.

7 years agoavio: add and use ffurl_protocol_next().
Anton Khirnov [Sat, 5 Nov 2011 10:42:13 +0000 (11:42 +0100)]
avio: add and use ffurl_protocol_next().

7 years agoavformat: Pass the interrupt callback on to chained muxers/demuxers
Martin Storsjö [Sun, 6 Nov 2011 20:55:40 +0000 (22:55 +0200)]
avformat: Pass the interrupt callback on to chained muxers/demuxers

There are a few more cases of chained demuxers, but they
only use custom IO which don't do any blocking IO and thus
don't need the callback.

7 years agoavio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc
Martin Storsjö [Sun, 6 Nov 2011 20:50:44 +0000 (22:50 +0200)]
avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc

Change all uses of these function to pass the relevant
callback on.

7 years agoavformat: Use ff_check_interrupt
Martin Storsjö [Sun, 6 Nov 2011 20:34:24 +0000 (22:34 +0200)]
avformat: Use ff_check_interrupt

7 years agoavio: Add an internal utility function for checking the new interrupt callback
Martin Storsjö [Sun, 6 Nov 2011 20:10:21 +0000 (22:10 +0200)]
avio: Add an internal utility function for checking the new interrupt callback

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavio: Add AVIOInterruptCB
Martin Storsjö [Sun, 6 Nov 2011 12:10:16 +0000 (14:10 +0200)]
avio: Add AVIOInterruptCB

This is a better io interrupt callback function, which has an
opaque parameter, which is given to the interrupt callback.

This allows callers to precisely cancel IO for one single
AVFormatContext, without interrupt other ones in the same
process.

Note, it's not needed in AVIOContext, at the moment.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agotexi2html: remove stray \n
Luca Barbato [Sun, 13 Nov 2011 11:25:29 +0000 (12:25 +0100)]
texi2html: remove stray \n

Single-quoted strings are printed verbatim in perl.

7 years agodoc: prettyfy the texi2html documentation
Luca Barbato [Sun, 13 Nov 2011 03:05:13 +0000 (04:05 +0100)]
doc: prettyfy the texi2html documentation

make it use the website css and start structuring it so it is consistent

7 years agoswscale: handle unaligned buffers in yuv2plane1
Ronald S. Bultje [Sun, 13 Nov 2011 04:40:41 +0000 (05:40 +0100)]
swscale: handle unaligned buffers in yuv2plane1

The issue had been introduced in
c435653627529e22d74214c2266f571255e404d6

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years agomkvtimestamp v2 muxer: rename so as to avoid confusion with SMPTE timecodes.
Michael Niedermayer [Wed, 26 Oct 2011 23:48:28 +0000 (01:48 +0200)]
mkvtimestamp v2 muxer: rename so as to avoid confusion with SMPTE timecodes.

Requested-by: Baptiste Coudurier
Approved-by: David Conrad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomkvtimestamp v2 muxer: remove unneeded prefixes
Michael Niedermayer [Wed, 26 Oct 2011 23:46:54 +0000 (01:46 +0200)]
mkvtimestamp v2 muxer: remove unneeded prefixes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSet some Pictor/PC Paint palettes opaque.
Carl Eugen Hoyos [Sun, 13 Nov 2011 02:08:25 +0000 (03:08 +0100)]
Set some Pictor/PC Paint palettes opaque.

7 years agoSet more KMVC palettes opaque.
Carl Eugen Hoyos [Sun, 13 Nov 2011 02:01:30 +0000 (03:01 +0100)]
Set more KMVC palettes opaque.

7 years agoSet second Delphine Software International CIN palette opaque.
Carl Eugen Hoyos [Sun, 13 Nov 2011 01:47:47 +0000 (02:47 +0100)]
Set second Delphine Software International CIN palette opaque.

7 years agoForce opaque alpha channel for 32bit x11grab image.
Carl Eugen Hoyos [Sun, 13 Nov 2011 01:02:06 +0000 (02:02 +0100)]
Force opaque alpha channel for 32bit x11grab image.

Fixes ticket #163.
Approved-by: Clemens Fruhwirth
Approved-by: Edouard Gomez
7 years agomandelbrot: remove unused variables
Giorgio Vazzana [Sun, 13 Nov 2011 00:01:51 +0000 (01:01 +0100)]
mandelbrot: remove unused variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: add missing options to the parsing code
Giorgio Vazzana [Sat, 12 Nov 2011 23:20:34 +0000 (00:20 +0100)]
mandelbrot: add missing options to the parsing code

The following options were added: end_scale, end_pts, bailout, outer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: Use mismatching frame numbers in fields to synchronize the
Michael Niedermayer [Sat, 12 Nov 2011 20:10:15 +0000 (21:10 +0100)]
h264: Use mismatching frame numbers in fields to synchronize the
 first/second field state independant of them being reference or not.
Fixes Ticket354

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoRELEASE: bump to 0.8.6.git after the release
Dominique Leuenberger [Sat, 12 Nov 2011 19:35:34 +0000 (20:35 +0100)]
RELEASE: bump to 0.8.6.git after the release

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoTrivial: j2kenc: fix compiler warning
Dominique Leuenberger [Sat, 12 Nov 2011 19:35:33 +0000 (20:35 +0100)]
Trivial: j2kenc: fix compiler warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: fix sscanf format string
Giorgio Vazzana [Sat, 12 Nov 2011 12:10:06 +0000 (13:10 +0100)]
mandelbrot: fix sscanf format string

Replace ',' with ':'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoIncrease Bitmap Brothers JV palette dynamics.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:56:07 +0000 (20:56 +0100)]
Increase Bitmap Brothers JV palette dynamics.

Approved-by: Peter Ross
7 years agoIncrease Psygnosis YOP palette dynamics.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:49:53 +0000 (20:49 +0100)]
Increase Psygnosis YOP palette dynamics.

7 years agoSet Psygnosis YOP palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:48:39 +0000 (20:48 +0100)]
Set Psygnosis YOP palette opaque.

7 years agoIncrease AVS palette dynamics.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:47:33 +0000 (20:47 +0100)]
Increase AVS palette dynamics.

7 years agoSet AVS palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:46:58 +0000 (20:46 +0100)]
Set AVS palette opaque.

7 years agoSet Westwood Studios VQA palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:23:34 +0000 (20:23 +0100)]
Set Westwood Studios VQA palette opaque.

7 years agoSet Sierra VMD palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:22:01 +0000 (20:22 +0100)]
Set Sierra VMD palette opaque.

7 years agoSet Beam Software VB palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:21:07 +0000 (20:21 +0100)]
Set Beam Software VB palette opaque.

7 years agoSet TIFF default grascale palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:19:51 +0000 (20:19 +0100)]
Set TIFF default grascale palette opaque.

7 years agoSet Tiertex Limited SEQ palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:19:07 +0000 (20:19 +0100)]
Set Tiertex Limited SEQ palette opaque.

7 years agoSet Sun Rasterfile palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:17:56 +0000 (20:17 +0100)]
Set Sun Rasterfile palette opaque.

7 years agoSet Smacker palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:16:43 +0000 (20:16 +0100)]
Set Smacker palette opaque.

7 years agoSet RL2 palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:15:56 +0000 (20:15 +0100)]
Set RL2 palette opaque.

7 years agoSet QuickDraw palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:15:21 +0000 (20:15 +0100)]
Set QuickDraw palette opaque.

7 years agoSet American Laser Games MM palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:13:58 +0000 (20:13 +0100)]
Set American Laser Games MM palette opaque.

7 years agoSet KMVC palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:13:14 +0000 (20:13 +0100)]
Set KMVC palette opaque.

7 years agoSet FLI/FLC Animation palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:09:56 +0000 (20:09 +0100)]
Set FLI/FLC Animation palette opaque.

7 years agoSet Electronic Arts TGV palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:08:56 +0000 (20:08 +0100)]
Set Electronic Arts TGV palette opaque.

7 years agoSet Electronic Arts CMV palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:08:23 +0000 (20:08 +0100)]
Set Electronic Arts CMV palette opaque.

7 years agoSet ScummVM DXA palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:07:31 +0000 (20:07 +0100)]
Set ScummVM DXA palette opaque.

7 years agoSet Delphine Software International CIN palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:06:35 +0000 (20:06 +0100)]
Set Delphine Software International CIN palette opaque.

7 years agoSet Chronomaster DFA palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:05:35 +0000 (20:05 +0100)]
Set Chronomaster DFA palette opaque.

7 years agoFix Chronomaster DFA palette.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:03:44 +0000 (20:03 +0100)]
Fix Chronomaster DFA palette.

The palette had a blue cast.

7 years agoSet CD Graphics palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:01:50 +0000 (20:01 +0100)]
Set CD Graphics palette opaque.

7 years agoSet Interplay C93 palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 19:01:05 +0000 (20:01 +0100)]
Set Interplay C93 palette opaque.

7 years agoSet Discworld II BMV palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 18:37:24 +0000 (19:37 +0100)]
Set Discworld II BMV palette opaque.

7 years agoSet BFI palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 18:36:23 +0000 (19:36 +0100)]
Set BFI palette opaque.

7 years agoSet Bethesda VID palette opaque.
Carl Eugen Hoyos [Sat, 12 Nov 2011 18:34:07 +0000 (19:34 +0100)]
Set Bethesda VID palette opaque.

7 years agoDo not try to read 16bit gray png files with alpha channel.
Carl Eugen Hoyos [Sat, 12 Nov 2011 18:30:27 +0000 (19:30 +0100)]
Do not try to read 16bit gray png files with alpha channel.

FFmpeg does not support gray16a.
Fixes the crash in ticket #644.

7 years agomandelbrot: Print a note if the cache is too small
Michael Niedermayer [Sat, 12 Nov 2011 16:05:11 +0000 (17:05 +0100)]
mandelbrot: Print a note if the cache is too small

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: increase cache size
Michael Niedermayer [Sat, 12 Nov 2011 16:04:50 +0000 (17:04 +0100)]
mandelbrot: increase cache size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: increase resolution, and decrease zoom speed to maintain the cpu requirement.
Michael Niedermayer [Sat, 12 Nov 2011 16:04:08 +0000 (17:04 +0100)]
mandelbrot: increase resolution, and decrease zoom speed to maintain the cpu requirement.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: increase default maxiter
Michael Niedermayer [Sat, 12 Nov 2011 15:34:40 +0000 (16:34 +0100)]
mandelbrot: increase default maxiter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: Only use cycle detection if previous pixel was an interior pixel
Michael Niedermayer [Sat, 12 Nov 2011 15:33:56 +0000 (16:33 +0100)]
mandelbrot: Only use cycle detection if previous pixel was an interior pixel

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: detect cycles to speed up interior rendering.
Michael Niedermayer [Sat, 12 Nov 2011 15:33:12 +0000 (16:33 +0100)]
mandelbrot: detect cycles to speed up interior rendering.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: increase default maxiter to 1024
Michael Niedermayer [Sat, 12 Nov 2011 14:44:45 +0000 (15:44 +0100)]
mandelbrot: increase default maxiter to 1024

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: use cache to avoid recalculating points.
Michael Niedermayer [Sat, 12 Nov 2011 14:44:13 +0000 (15:44 +0100)]
mandelbrot: use cache to avoid recalculating points.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomandelbrot: more interresting zoom coordinates borrowed from wikipedia.
Michael Niedermayer [Sat, 12 Nov 2011 14:42:55 +0000 (15:42 +0100)]
mandelbrot: more interresting zoom coordinates borrowed from wikipedia.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agojvdec: set alpha component
Peter Ross [Sat, 12 Nov 2011 00:20:01 +0000 (11:20 +1100)]
jvdec: set alpha component

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoset ff_cga_palette and ff_ega_palette alpha component
Peter Ross [Sat, 12 Nov 2011 00:19:51 +0000 (11:19 +1100)]
set ff_cga_palette and ff_ega_palette alpha component

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: remove flags copy, its not used in any speed relevant code.
Michael Niedermayer [Sat, 12 Nov 2011 01:10:06 +0000 (02:10 +0100)]
vble: remove flags copy, its not used in any speed relevant code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: remove len array, its unneeded
Michael Niedermayer [Sat, 12 Nov 2011 01:07:37 +0000 (02:07 +0100)]
vble: remove len array, its unneeded
also remove unneeded memset()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: remove unused variable len.
Michael Niedermayer [Sat, 12 Nov 2011 01:06:56 +0000 (02:06 +0100)]
vble: remove unused variable len.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: move get_bits_left() check out of inner loop, we can perform the check complete...
Michael Niedermayer [Sat, 12 Nov 2011 01:02:22 +0000 (02:02 +0100)]
vble: move get_bits_left() check out of inner loop, we can perform the check completely before the loop.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: remove vble_read_reverse_unary(), the code is a bit simpler this way
Michael Niedermayer [Sat, 12 Nov 2011 00:47:34 +0000 (01:47 +0100)]
vble: remove vble_read_reverse_unary(), the code is a bit simpler this way

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: use LUT for vble_read_reverse_unary()
Michael Niedermayer [Sat, 12 Nov 2011 00:40:37 +0000 (01:40 +0100)]
vble: use LUT for vble_read_reverse_unary()
slightly faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: change variable to int, its slightly faster and int is preferable if no specifi...
Michael Niedermayer [Sat, 12 Nov 2011 00:39:05 +0000 (01:39 +0100)]
vble: change variable to int, its slightly faster and int is preferable if no specific size is needed.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 12 Nov 2011 01:50:25 +0000 (02:50 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  vble: remove vble_error_close
  VBLE Decoder
  tta: use an integer instead of a pointer to iterate output samples
  shorten: do not modify samples pointer when interleaving
  mpc7: only support stereo input.
  dpcm: do not try to decode empty packets
  dpcm: remove unneeded buf_size==0 check.
  twinvq: add SSE/AVX optimized sum/difference stereo interleaving
  vqf/twinvq: pass vqf COMM chunk info in extradata
  vqf: do not set bits_per_coded_sample for TwinVQ.
  twinvq: check for allocation failure in init_mdct_win()
  swscale: add padding to conversion buffer.
  rtpdec: Simplify finalize_packet
  http: Handle proxy authentication
  http: Print an error message for Authorization Required, too
  AVOptions: don't return an invalid option when option list is empty
  AIFF: add 'twos' FourCC for the mux/demuxer (big endian PCM audio)

Conflicts:
libavcodec/avcodec.h
libavcodec/tta.c
libavcodec/vble.c
libavcodec/version.h
libavutil/opt.c
libswscale/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovble: remove vble_error_close
Janne Grunau [Fri, 11 Nov 2011 23:13:36 +0000 (18:13 -0500)]
vble: remove vble_error_close

It does not make much sense to factor the error handling to its own
av_always_inline function. Fixes "format not a string literal and no
format arguments" warning in the av_log.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoVBLE Decoder
Derek Buitenhuis [Fri, 11 Nov 2011 23:13:35 +0000 (18:13 -0500)]
VBLE Decoder

Add a decoder for the VBLE Lossless Codec, which
still has a cult following. Used to be popular
several years ago on doom9.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoUse AC-3 as default codec for wtv.
Carl Eugen Hoyos [Fri, 11 Nov 2011 23:15:03 +0000 (00:15 +0100)]
Use AC-3 as default codec for wtv.