Commit Graph

6117 Commits

Author SHA1 Message Date
Loren Merritt
19b9c7cc66 was computing one more autocorrelation coefficient that was actually used
Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 07:43:52 +00:00
Loren Merritt
14bd2a9f25 replace brute force find_optimal_param() with a closed-form solution.
overall flac encoding: 4-15% faster.
output is not identical to the previous algorithm due to occasional rounding
errors, but the differece is less than .0005% bitrate.

Originally committed as revision 10612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 05:41:27 +00:00
Loren Merritt
f6215b1b06 gcc isn't smart enough to factor out duplicate stores
Originally committed as revision 10611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 01:54:25 +00:00
Ivan Kalvachev
551109d48a On bitstream error is_intra_more_likely() could use dsp.sad[0]() that will segfault when xvmc is in use.
Originally committed as revision 10610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 20:38:32 +00:00
Loren Merritt
28e968c4a4 2.5x faster compute_autocorr()
overall flac encoding: 15-50% faster on core2, 8-30% on k8, 2-20% on p4 (depending on compression_level)

Originally committed as revision 10606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 06:06:18 +00:00
Panagiotis Issaris
9846cbdb13 cosmetics: typos
Originally committed as revision 10602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 11:29:21 +00:00
Panagiotis Issaris
93f0c0a4ca Remove redundant test.
Originally committed as revision 10601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 10:45:16 +00:00
Vitor Sessak
3a7f5d072a AMV audio decoder
Originally committed as revision 10598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:21:57 +00:00
Loren Merritt
815d96a65d oops, revert unrelated change
Originally committed as revision 10597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 03:16:25 +00:00
Loren Merritt
dc44d4ad64 unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order.
Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 02:42:00 +00:00
Jeff Downs
2ddcf84bb7 h264/PAFF preparation: use DELAYED_PIC_REF to mark non-refs frames as held for delayed output
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 13:28:13 +00:00
Loren Merritt
0d2caa37c5 oops, potential overflow on really large blocks
Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:34:48 +00:00
Loren Merritt
bd49d4fd49 optimize decode_subframe_lpc()
50%/67%/43% faster on core2/k8/p4, making flac decoding overall 24%/25%/11% faster

Originally committed as revision 10586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:31:13 +00:00
Loren Merritt
f74471e043 optimize encode_residual_lpc()
37%/45%/90% faster on core2/k8/p4, making flac encoding overall 15%/17%/40% faster at compression_level>=8 (less at low levels).

Originally committed as revision 10585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:30:29 +00:00
Aurelien Jacobs
7ecae905b6 simplify
Originally committed as revision 10584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:33:31 +00:00
Aurelien Jacobs
d7af6a9de4 rename one variable to be consistent with the rest of the file
Originally committed as revision 10583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:31:00 +00:00
Aurelien Jacobs
442b145abb consistent spelling: plan => plane
Originally committed as revision 10582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 21:01:34 +00:00
Aurelien Jacobs
d3f9edbafa simplify
Originally committed as revision 10576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:22:47 +00:00
Aurelien Jacobs
f62a2b61f9 cosmetic: indent
Originally committed as revision 10575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:16:38 +00:00
Aurelien Jacobs
91fc2cf150 add a new vp6a codec (add alpha plan support to vp6)
Originally committed as revision 10574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:12:46 +00:00
Andreas Öman
58f66029b6 reindent
Originally committed as revision 10573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 08:43:49 +00:00
Diego Biurrun
e0a5d77132 Replace HAVE_BFIN with ARCH_BFIN. Blackfin is a CPU architecture, not an
instruction set extension and configure sets ARCH_BFIN, not HAVE_BFIN.

Originally committed as revision 10572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 07:30:22 +00:00
Aurelien Jacobs
247df384ec move all model related tables into their own struct
Originally committed as revision 10571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 22:29:11 +00:00
Diego Biurrun
1218a7e33d cosmetics: Sort CODEC_ID list.
Originally committed as revision 10570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 21:18:45 +00:00
Aurelien Jacobs
a7d70d88df rename vp56_b6to3 to vp56_b2p
Originally committed as revision 10569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:52:11 +00:00
Aurelien Jacobs
1457516f70 some simplifications and uniformisation
Originally committed as revision 10568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:43:47 +00:00
Kostya Shishkov
81fc2f37db Remove check for input buffer size as it does not guarantee that
decoder will not run out of output buffer bounds (and all suspected
decoders have their own checks now).

Originally committed as revision 10567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 16:50:32 +00:00
Aurelien Jacobs
b70335a28d add support for yuva420p colorspace (yuv420p + alpha)
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Andreas Öman
1136d34a44 factor out dequant table lookup outside loops, gives a 1-2% speed-up
patch by Andreas Öman %andreas A olebyn P nu%
original thread:
Date: Sep 24, 2007 12:59 PM
Subject: [FFmpeg-devel] [PATCH] h264: factor out dequant table lookup outside loops

Originally committed as revision 10564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:01:15 +00:00
Kostya Shishkov
4783cf0d09 Do not try to decode more data than output buffer may hold
Originally committed as revision 10560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 03:32:24 +00:00
Diego Biurrun
8b505fc689 VIS-specific code should be enabled conditional to HAVE_VIS, not ARCH_SPARC.
Originally committed as revision 10559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:59:09 +00:00
Michael Niedermayer
ff193e6419 some experimental iterative quantization code
disabled as it is VERY slow
gain is 0.1-0.2 psnr at low qp

Originally committed as revision 10556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:11:36 +00:00
Diego Biurrun
8b03def65f Move VIS CFLAGS settings into configure.
Originally committed as revision 10555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:06:08 +00:00
Diego Biurrun
b146873c94 VIS-specific code should be compiled conditional to HAVE_VIS, not ARCH_SPARC.
Originally committed as revision 10554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:02:22 +00:00
Kostya Shishkov
ac14047927 Fix decoding of VMDs representing sprites (Last Dynasty, Woodruff).
Fixes issue 101

Originally committed as revision 10552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 16:11:07 +00:00
Reimar Döffinger
61858a76f2 Apply skip_loop_filter before checking if we can parallelize with the selected
loop filter

Originally committed as revision 10549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 10:28:22 +00:00
Kostya Shishkov
a2085a7e9d Guard against output buffer overflows
Originally committed as revision 10548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 09:21:43 +00:00
Kostya Shishkov
675a0583b4 Do not decode more data than output buffer may hold
Originally committed as revision 10547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 09:09:47 +00:00
Baptiste Coudurier
32bbb99d0a HDYC fourcc, sample hdyc/Test2.avi
Originally committed as revision 10541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 18:23:46 +00:00
Andreas Öman
a27d6e714f Simplify H.264 decode_cabac_mb_cbp_luma(), giving a ~0.5% speedup.
patch by Andreas Öman, andreas olebyn nu
Date: Thu, 20 Sep 2007 12:59:19 +0200
Subject: [FFmpeg-devel] [PATCH] simplify h264's decode_cabac_mb_cbp_luma()

Originally committed as revision 10537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 00:26:31 +00:00
Aurelien Jacobs
dee15eceae allcodecs.h and allformats.h are not used anymore
Originally committed as revision 10536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:42:50 +00:00
Aurelien Jacobs
d999cff5a3 remove last dependencies on allformats.h and allcodecs.h
Originally committed as revision 10535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:36:15 +00:00
Ivan Kalvachev
ee28dedc86 Remove inline from function that is exported.
Issue noticed by Bernhard Rosenkraenzer.

Originally committed as revision 10529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 18:12:53 +00:00
Marc Hoffman
584a3ac907 blackfin vsad primitives
Originally committed as revision 10521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 13:23:16 +00:00
Marc Hoffman
56261c6150 properly tell the compiler that A0 and A1 are clobbered
Originally committed as revision 10520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 13:17:50 +00:00
Diego Biurrun
4981218420 Remove redundant ARCH_SPARC #ifdef, the file is compiled conditional to
ARCH_SPARC anyway.

Originally committed as revision 10517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 10:14:56 +00:00
Aurelien Jacobs
84a72b1675 remove obsolete and wrong extern declaration
Originally committed as revision 10512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 22:50:12 +00:00
Diego Biurrun
1fe2d0fd1a cosmetics: typo
Originally committed as revision 10507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 16:23:34 +00:00
Andreas Öman
50c21814b9 fix image corruption when with multi-threaded decoding.
dequant-tables were not correctly reinitialized in the slave
contexts when a PPS came with updated matrices.
Patch by Andreas Öman %andreas A olebyn P nu%
Original thread:
date: Sep 16, 2007 6:14 AM
subject: [FFmpeg-devel] Parallelized h264 image corruption bug

Originally committed as revision 10505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 10:37:07 +00:00
Kostya Shishkov
2a898132a2 Enable error resilience in WMV3/VC-1 decoder
Originally committed as revision 10502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 11:06:27 +00:00
Kostya Shishkov
a9d78ac51a HALFPQ should be used only for when PQUANT is selected
Originally committed as revision 10500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 09:24:53 +00:00
Kostya Shishkov
f7d2a43707 In case when any quantizer may occur, HALFPQ should be zero
Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 09:23:58 +00:00
Justin Ruggles
a135bea507 skip incomplete frames
Originally committed as revision 10497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 02:44:28 +00:00
Justin Ruggles
3df880934e better AC3 header error reporting
Originally committed as revision 10496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 02:41:24 +00:00
Justin Ruggles
d5b7144e1f fix random dithering of zero-bit mantissas
Originally committed as revision 10495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:43:40 +00:00
Justin Ruggles
bfcf690c68 cosmetics: rename variables. tbl->tab for consistency with other AC3 tables
Originally committed as revision 10494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:19:21 +00:00
Justin Ruggles
396a6ee50e fix decoding of DolbyNet AC3
Originally committed as revision 10493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:00:57 +00:00
Kostya Shishkov
f0dd9d4505 Check unp_size for possible overflows too
Originally committed as revision 10490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 06:01:29 +00:00
Diego Biurrun
b3e4d266f4 Pass correct CPU flags to compilation of sparc/simple_idct_vis.o.
based on a patch by Denes Balatoni, dbalatoni interware hu

Originally committed as revision 10486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 09:13:56 +00:00
Kostya Shishkov
e938637b2c Add checks on input/output buffers size for some audio decoders
Originally committed as revision 10485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 05:59:58 +00:00
Kostya Shishkov
bf4a1f17ee Monkey Audio decoder
Originally committed as revision 10484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 03:22:47 +00:00
Michael Niedermayer
f612801465 fix timestamps used for ratecontrol
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate

Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 22:46:41 +00:00
Michael Niedermayer
b9b7472eb5 cosmetic
Originally committed as revision 10465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 00:31:27 +00:00
Michael Niedermayer
8db1372814 make changing spatial_decomposition_count per frame work
Originally committed as revision 10464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 18:28:36 +00:00
Reimar Döffinger
ba430e0cfa dsputil must be initialized before calling rtjpeg init.
Originally committed as revision 10463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 18:14:11 +00:00
Michael Niedermayer
dbd6a1fee8 do not ignore return of decode_header()
Originally committed as revision 10461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 17:01:11 +00:00
Michael Niedermayer
b85bf991f6 do not force the halfpel filter coeffs to be retransmitted on every frame
if always_reset is set

Originally committed as revision 10460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 16:54:00 +00:00
Michael Niedermayer
e559c30a20 allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

Originally committed as revision 10458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 15:06:46 +00:00
Michael Niedermayer
4f90f33ab4 perform init after reading the values needed for init
fixes decoding of files with spatial_decomposition_count!=5

Originally committed as revision 10457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 13:47:25 +00:00
Michael Niedermayer
081c9d1d7b unneeded and impossible during init ...
Originally committed as revision 10455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:46:25 +00:00
Michael Niedermayer
32272f7e95 unused
Originally committed as revision 10454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:36:10 +00:00
Michael Niedermayer
014f9d233f allocate slice buffer after parsing the header containing needed parameters
argh i really wish i had never accepted these slice patches ...

Originally committed as revision 10453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:33:34 +00:00
Michael Niedermayer
ba8964db60 remove ()
Originally committed as revision 10452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:25:12 +00:00
Michael Niedermayer
61806e9fa7 spatial_decomposition_count != 5 bugfix
Originally committed as revision 10451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:24:45 +00:00
Michael Niedermayer
fa731ccd4e scaling obmc tables under #if 0 also by 4 (yes they where forgotten apparently)
this also requires a few entries to be ++ and -- to avoid a max of 256

Originally committed as revision 10450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:22:11 +00:00
Reimar Döffinger
1551e8e87f Properly handle nuv file with changing resolution
Originally committed as revision 10448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 10:20:47 +00:00
Reimar Döffinger
fd065d0593 Make sure rtjpeg quality is a valid value
Originally committed as revision 10444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:16:47 +00:00
Reimar Döffinger
6cf7e81f8c Fix extreme stupidity: buffer size check must of course be before buffer use!
Originally committed as revision 10443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:00:12 +00:00
Reimar Döffinger
048905a484 10l, add check forgotten in last commit
Originally committed as revision 10442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:52:53 +00:00
Reimar Döffinger
4f8a91c961 First ugly and slow attempt to fix nuv files with extra frameheader
and per-frame rtjpeg quality

Originally committed as revision 10441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:42:49 +00:00
Reimar Döffinger
c612b00d7e Simplify nuv: factor out LZO decompression
Originally committed as revision 10440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:22:07 +00:00
Michael Niedermayer
61d6e445b1 rename HTAPS -> HTAPS_MAX (later is correct after the previous change)
Originally committed as revision 10437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:52:21 +00:00
Michael Niedermayer
7d7f57d939 store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...

Originally committed as revision 10436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:51:13 +00:00
Michael Niedermayer
4770a97aae remove outcommented code
Originally committed as revision 10435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:16:24 +00:00
Michael Niedermayer
65dc0f532d indention
Originally committed as revision 10434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:15:42 +00:00
Michael Niedermayer
a68ca08e30 cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess

Originally committed as revision 10433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:14:20 +00:00
Andreas Öman
7ae94d525c Indentation
patch by Andreas Öman

Originally committed as revision 10432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 19:19:49 +00:00
Andreas Öman
ec970c2187 Let H.264 decoder skip deblocking across slices
if running with multiple threads and CODEC_FLAGS2_FAST is set.
Thus, it may decode the slices in parallel to gain speed.

Patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 10431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 18:27:13 +00:00
Limin Wang
75316e1dcc Set data_size to zero when DCA header parse failed
Patch by Limin Wang <lance('\\'>>1)lmwang>(0x24^'D')<gmail>('/' & 0xFE)<com>
Thread [PATCH] set data_size to zero if failed to parse dca header

Originally committed as revision 10423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 14:55:13 +00:00
Benoit Fouet
bdfae2a575 Add a bitstream filter for H.264.
Originally committed as revision 10422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 12:36:07 +00:00
Jeff Downs
088ed4d636 Avoid a crash when H264 MMC operation causes the short term reference
list to be emptied.
Patch by Jeff Downs: [heydowns borg com]

Originally committed as revision 10416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:04:09 +00:00
Andreas Öman
afebe2f7ca Add slice-based parallel H.264 decoding
Patch by Andreas Öman % andreas A olebyn P nu %
NB: depends on having a thread library activated at config time, and on
having a source encoded with multiple slices
Original threads:
date: May 18, 2007 11:00 PM
subject: [FFmpeg-devel] Parallelized h264 proof-of-concept
date: Jun 15, 2007 10:10 PM
subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)
date: Jun 25, 2007 7:02 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized

Originally committed as revision 10407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:18:15 +00:00
Tao Huang
005b683744 Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm.
Speed up > 4%.
patch by Tao Huang, ulysses.huang gmail com

Originally committed as revision 10402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 11:05:33 +00:00
Diego Biurrun
770202c3af Sort one more list alphabetically.
Originally committed as revision 10401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 10:38:59 +00:00
Guillaume Poirier
14c2634bcc Fix links to ARM documentation
Originally committed as revision 10399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 07:49:01 +00:00
Kostya Shishkov
c92a30bb06 Move H.264 intra prediction functions into their own context
Originally committed as revision 10397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 05:30:08 +00:00
Michael Niedermayer
2b48d8ba4a add a 8 taps filter for testing
Originally committed as revision 10394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:49:14 +00:00
Michael Niedermayer
c08bbe6c57 fix decoding of dracula.4xm before diego complains
Originally committed as revision 10393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:21:32 +00:00
Michael Niedermayer
f9f835ee89 fix segfault with dracula.4xm
closes issue132

Originally committed as revision 10392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:14:17 +00:00
Michael Niedermayer
71dce72bee Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.
Originally committed as revision 10390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:49:09 +00:00
Michael Niedermayer
5be3a81871 code to do halfpel interpolation per frame (unfinished and under ifdef but it
should be faster when its finished)

Originally committed as revision 10293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:06:34 +00:00
Mike Melanson
f55f27ba98 Fix issue 123 (Support Magic-carpet fli version,
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue123 ) by rearranging the bit depth

Originally committed as revision 10290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 17:31:25 +00:00
Carl Eugen Hoyos
5d3de5ad22 Silence warnings about NAL_SVC_NON_IDR in H.264.
patch by Carl Eugen Hoyos, cehoyos ag.or at

Originally committed as revision 10289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 14:48:39 +00:00
Benoit Fouet
0a1a0a805a add a close function to bitstream filter
Originally committed as revision 10288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 06:48:22 +00:00
Carl Eugen Hoyos
1c746a490d Remove error raising when explicitely skipping frame
patch by Carl Eugen Hoyos: [cehoyos ag or at]
original thread:
[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
date: 08/30/2007 01:30 PM

Originally committed as revision 10286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 08:46:24 +00:00
Vitor Sessak
becc0ef95b Remove reimplementation of get_unary.
Based on a patch by Alex Beregszaszi.

Originally committed as revision 10279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 21:03:17 +00:00
Luca Barbato
9d14ffbcce Cosmetics
Originally committed as revision 10278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 14:00:47 +00:00
Aurelien Jacobs
c0fee8c985 add a warning message for unsupported kind of encoding
Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 13:04:25 +00:00
Vitor Sessak
11f81e6a07 Cosmetical: Empty line removal
Originally committed as revision 10275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 18:51:22 +00:00
Vitor Sessak
63ecfc1fe4 Comment about unsupported sample size
Originally committed as revision 10273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 15:05:40 +00:00
Marc Hoffman
1cc6bd4f10 renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 10272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 14:58:44 +00:00
Diego Biurrun
a861e7e3b6 cosmetics: Add some whitespace for better readability.
Originally committed as revision 10270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:16:34 +00:00
Diego Biurrun
ea2c666b0e cosmetics: Sort bitstream filters.
Originally committed as revision 10269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:13:10 +00:00
Diego Biurrun
1e97ce4a31 cosmetics: Sort some lines, whitespace changes.
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Diego Biurrun
d8dfda7e51 Use a consistent multiple inclusion guard.
Originally committed as revision 10267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 22:41:54 +00:00
Denes Balatoni
d9420d4df1 add simple_idct implemented in Sparc VIS
patch by Balatoni Denes % dbalatoni A interware P hu%

Original thread: Messages starting with:
[PATCH] SPARC VIS simple_idct *

Originally committed as revision 10266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 19:18:23 +00:00
Vitor Sessak
aa33d8096a Rename function
Originally committed as revision 10265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 16:40:51 +00:00
Vitor Sessak
321c313836 Replace two #define's by inline functions
Originally committed as revision 10264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 16:04:00 +00:00
Marc Hoffman
14da6549a7 Hooking bfin/mathops.h
Originally committed as revision 10263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 15:16:52 +00:00
Marc Hoffman
543a90d14a Blackfin 32bit multiplication primitives MULH MUL16
Originally committed as revision 10262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 15:15:48 +00:00
Reimar Döffinger
eafa1c90e5 Replace complicated and currently broken manual alignment code by
DECLARE_ALIGNED_16. Fixes crash in ff_snow_horizontal_compose97i_sse2

Originally committed as revision 10261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 11:41:58 +00:00
Luca Barbato
55bf7fb613 snow altivec is broken
Originally committed as revision 10256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:39:50 +00:00
Roberto Togni
b6f508bbcc Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

Originally committed as revision 10253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 21:58:39 +00:00
Michael Niedermayer
267b9479ac typo
Originally committed as revision 10250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 10:39:31 +00:00
Diego Biurrun
06b00c5f65 Simplify preprocessor directives.
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:21:33 +00:00
Diego Biurrun
c97f54020d Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
to Mac OS X rather than to Darwin.

Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Aurelien Jacobs
ca1daf0ad0 add get_unary_0_33() to help gcc with inlining
Originally committed as revision 10242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:38:57 +00:00
Aurelien Jacobs
2407a7c10f cleanup get_unary()
Originally committed as revision 10241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:34:49 +00:00
Aurelien Jacobs
28296f9c9e move get_unary() to its own file
Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:33:48 +00:00
Diego Biurrun
a41f4eacd6 Do not wrongly mark Apple gcc workarounds as being specific to Darwin.
Originally committed as revision 10239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:06:40 +00:00
Guillaume Poirier
16dae5173b remove alignment correction of the destination pointers in luma_16x6
interpolations, since they are always 16-bytes aligned in practice.
Add asserts to ease narrowing down potential image corructions on exotic plateforms

Based on a patch by Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 1:07 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 21:47:58 +00:00
Ramiro Polla
7bcc1d5b66 CONFIG_7REGS has been renamed to HAVE_7REGS
Originally committed as revision 10237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 16:10:53 +00:00
Michael Niedermayer
90e9e94d0f workaround gcc bug, untested as my gcc is not complaining
Originally committed as revision 10236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 12:34:22 +00:00
Michael Niedermayer
cefa599953 optimize the first vertical lifting step, this also prevents another
overflow, the last known possible overflow

Originally committed as revision 10234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 11:16:23 +00:00
Michael Niedermayer
c90762766a optimize 1st horizontal lifting step
Originally committed as revision 10231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 08:31:55 +00:00
Michael Niedermayer
1104bf2b20 typo
Originally committed as revision 10230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 08:03:23 +00:00
Michael Niedermayer
8b5029295d get rid of totally senseless "m" + read in register we have enough
registers to keep everything in registers

Originally committed as revision 10229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 06:51:51 +00:00
Michael Niedermayer
bc1e78d896 simplify senselessly complex addressing
Originally committed as revision 10228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 02:02:14 +00:00
Michael Niedermayer
25bb359f73 cosmetics
remove brain amputated mmx wrappers around sse2 macros
fix name of ..._sub macro to match ..._add naming

Originally committed as revision 10227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 01:20:09 +00:00
Michael Niedermayer
629750290f avoid overflow in the 3rd lifting step, this now needs mmx2 at minimum
(patch for plain mmx support is welcome ...)

Originally committed as revision 10226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 01:11:02 +00:00
Michael Niedermayer
b696a4c91d avoid an overflow in the 1 horizontal lifting step
Originally committed as revision 10225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 19:04:33 +00:00
Michael Niedermayer
9caa1cccb9 prevent one overflow in the first vertical lifting step
Originally committed as revision 10224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 16:28:45 +00:00
Michael Niedermayer
3e0f7126b5 update mmx code to latest snow changes
note, the code likely can overflow and thus needs some more changes
sse2 updated too but disabled as it is untested

Originally committed as revision 10223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 15:20:56 +00:00
Diego Biurrun
273b0cd3c4 prettyprinting cosmetics
Originally committed as revision 10221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 09:23:17 +00:00
Michael Niedermayer
ff06e0677b cleanup (remove some old experimentation related code)
Originally committed as revision 10220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:19:39 +00:00
Michael Niedermayer
b5b88eb3b4 we only have 2 wavelets, the 3rd was just for experimentation ...
Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:04:13 +00:00
Michael Niedermayer
d593e32983 use 16bit IDWT (a SIMD implementation of it should be >2x faster then with
the old 32bit code)
disable mmx/sse2 optimizations as they need a rewrite now

Originally committed as revision 10218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:00:51 +00:00
Diego Biurrun
830bf1f20d whitespace/indentation cosmetics
Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:49:11 +00:00
Diego Biurrun
2722c98128 Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.

Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:01:50 +00:00
Diego Biurrun
f9edc2331d Fix trivial mixed declarations and code warning caused by a double semicolon.
Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:42:50 +00:00
Diego Biurrun
e4506f0c98 Remove SYS_DARWIN preprocessor directive that is just a duplicate of a
gcc-specific directive a few lines below.

Originally committed as revision 10211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:38:37 +00:00
Diego Biurrun
4b180bbd73 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:18:41 +00:00
Diego Biurrun
b1312aa24d Merge __MWERKS__ preprocessor directives.
Originally committed as revision 10208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:08:46 +00:00
Diego Biurrun
8008a04325 Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun
08f87a9c99 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:57:46 +00:00
Michael Niedermayer
be693f956e int->uint8_t
Originally committed as revision 10205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:18:09 +00:00
Michael Niedermayer
50464a1e83 int->int8_t (no need for them to be int ...)
Originally committed as revision 10204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:02:02 +00:00
Reimar Döffinger
b1ec601f7f Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.

Originally committed as revision 10199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 20:28:28 +00:00
Michael Niedermayer
b538791bc9 use more bits on the encoder side
negligible increase in quality

Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 10:49:14 +00:00
Luca Abeni
e02f7490da Initialize the "stc" variable before using it in ff_find_start_code()
Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 07:02:27 +00:00
Diego Biurrun
9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Michael Niedermayer
81717747ab simplify
Originally committed as revision 10186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 17:26:49 +00:00
Benoit Fouet
e2d0eeecf7 right filename in doxygen comment
Originally committed as revision 10185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 15:03:14 +00:00
Diego Biurrun
e9bfae45bb cosmetics: alphabetical order
Originally committed as revision 10184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:19:10 +00:00
Diego Biurrun
d55388d028 Simplify preprocessor directives.
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:10 +00:00
Marc Hoffman
18b8b43b4f make clean bfin
Originally committed as revision 10180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:54:49 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Aurelien Jacobs
5ab657079d parsers and bsfs declarations are not meant to be part of public API
Originally committed as revision 10173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 18:24:08 +00:00
Michael Niedermayer
ce611a27be Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

Originally committed as revision 10172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 16:29:40 +00:00
Aurelien Jacobs
289a723ce3 asv1.c directly uses Put/GetBitContext, so it should include bitstream.h
Originally committed as revision 10169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:48:08 +00:00
Michael Niedermayer
30cd3e66bd remove code which become unused by the previous changes
Originally committed as revision 10166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:05:30 +00:00
Michael Niedermayer
72dee89b5d Simplify and optimize the 4th vertical lifting step of the SSE2 code (untested)
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:03:18 +00:00
Michael Niedermayer
d0dae46a90 Simplify and optimize the 4th vertical lifting step of the MMX code
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:02:19 +00:00
Michael Niedermayer
1ffbbef217 Simplify and speedup code, reduce needed headroom by 2 bits in the 3rd
vertical lifting step of the SSE2 code (untested)

Originally committed as revision 10163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:59:20 +00:00
Michael Niedermayer
4bf1790421 simplify, speedup and reduce needed headroom by 2 bits in the 3rd
vertical lifting step

Originally committed as revision 10162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:54:49 +00:00
Michael Niedermayer
dd30437bbe replace <<1 by add for SSE2 (untested)
Originally committed as revision 10161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:11:05 +00:00
Michael Niedermayer
7e665a3943 replace <<1 by add
Originally committed as revision 10160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:09:39 +00:00
Michael Niedermayer
eee649d3b5 slightly change horizontal lift3 so it needs 1 bit less headroom
Originally committed as revision 10159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:02:59 +00:00
Michael Niedermayer
be3b22f9ca remove idiotc double subtraction from the sse2 code (untested, no sse2 here)
Originally committed as revision 10158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:41:47 +00:00
Michael Niedermayer
8510c519e7 fixme note
Originally committed as revision 10157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:34:42 +00:00
Michael Niedermayer
3a9f44d5d5 and of course the unneeded double subtractions were blindly put in the
mmx code
this also makes the affected code 4% faster

Originally committed as revision 10156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:29:21 +00:00
Michael Niedermayer
f29bd6fa71 more stupid double subtractions
Originally committed as revision 10155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:26:49 +00:00
Michael Niedermayer
49ca0e531a get rid of idiotc double subtraction
Originally committed as revision 10154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:18:26 +00:00
Benjamin Larsson
622d633260 Cosmetics, indentation.
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:34:27 +00:00
Benjamin Larsson
1cbe9d6a78 Trellis quantization support for adpcm_swf.
Originally committed as revision 10144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:31:53 +00:00
Reimar Döffinger
7b07d3e8fe Use defines instead of raw hex numbers to specify CRC polynomials
Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 12:36:15 +00:00
Ramiro Polla
c8f9ef613e CONFIG_7REGS -> HAVE_7REGS
Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 21:19:13 +00:00
Marco Gerards
9df4ce5e5b Make the Golomb decoder work for Dirac
Originally committed as revision 10119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 12:59:27 +00:00
Alexander Strange
6d324c813f Statements like a = b = c = d = e; store from right-to-left, so if
you write them in the right order it comes out backwards.
This removes them from fill_rectangle().
patch by Alexander Strange %astrange A ithinksw P com%
Original thread:
Date: Aug 14, 2007 5:36 AM
Subject: [FFmpeg-devel] [PATCH] two small h264 optimizations

Originally committed as revision 10118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 22:28:09 +00:00
Ramiro Polla
f3a3c72e3c Introduce AVERROR_PATCHWELCOME
Originally committed as revision 10110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:04 +00:00
Diego Biurrun
9488b966c7 Move msmpeg4 tables from a header file to msmpegdata.c.
Originally committed as revision 10107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 17:57:06 +00:00
Ramiro Polla
5e4c7ca224 Add attribute that forces alignment of stack to functions that need it.
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.

Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
Marc Hoffman
345bb2ad90 special handling for vp3 idct, use the c reference
Originally committed as revision 10105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 14:16:20 +00:00
Michael Niedermayer
07c02992b9 use bytestream_get_le*() this also fixes a big endian bug
Originally committed as revision 10104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 13:20:16 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Kostya Shishkov
11ead90e23 Rename flag for consistency with the next commit
Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:35:48 +00:00
David Conrad
42c71907cb Add av_get_bits_per_sample_format()
Originally committed as revision 10099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:23:38 +00:00
Michael Niedermayer
40802d36bc fix type 3 aka skipped blocks for old version
Originally committed as revision 10097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:06:04 +00:00
Michael Niedermayer
9ac34d947a fix motion vectors for old version
Originally committed as revision 10096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:05:19 +00:00
Michael Niedermayer
cf786021a6 set pix_fmt properly depending on version
Originally committed as revision 10095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:56:26 +00:00
Michael Niedermayer
70bbeb6fbf use version instead of some random 32bit value to switch between 16 and
32bit versions (this is more reliable, the old code failed on some files)

Originally committed as revision 10094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:55:39 +00:00
Michael Niedermayer
a0d30cbcbf replace vlc_type by version and set that from codec_tag which contains the
4xm video version from the demuxer

Originally committed as revision 10093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:53:55 +00:00
Michael Niedermayer
b74fb935f8 support ifr2 from Toy-Story2_better-image-quality.4xa
Originally committed as revision 10091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 15:47:27 +00:00
Guillaume Poirier
3ca96802e2 use shorter types vec_"type" instead of the too long vector "type"
part 1 of h264 luma interpolation 8x8 for altivec contributed by
Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 8:15 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 13:50:06 +00:00
Michael Niedermayer
62f68aa9bf add second vlc table
pfr* of Toy-Story2_better-image-quality.4xa are decoded now without
bitstream errors

Originally committed as revision 10089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 12:22:19 +00:00
Alexander Strange
880003bbb9 Don't check the return value of decode_cabac_residual since it always
returns 0. This leads to a 0.4% speed-up.
Patch by Alexander Strange  astrange at_ ithinksw dot com
Original thread:
Date: Aug 11, 2007 11:44 PM
Subject: [FFmpeg-devel] [PATCH] h264: don't check decode_cabac_residual return

Originally committed as revision 10084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:07:29 +00:00
Aurelien Jacobs
88e2d5882b more usage of av_clip()
Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:29:21 +00:00
Aurelien Jacobs
e4a50e6d2e one more simplification
Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:23:20 +00:00
Aurelien Jacobs
295f373792 various simplifications around recent av_clip_int16() usage
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:17:03 +00:00
Michael Niedermayer
b0f3382873 fix decoding of samples.mplayerhq.hu/game-formats/idroq/demoEnd.roq
closes issue78

Originally committed as revision 10079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:09:28 +00:00
Aurelien Jacobs
aee481cebe use av_clip_int16() where it makes sense
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:48:55 +00:00
Michael Niedermayer
0701006e34 ensure that default_get_buffer() doesnt reuse images if the dimension or
pix_fmt changed
fixes heap overflow, possibly exploitable

Originally committed as revision 10064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:28:28 +00:00
Baptiste Coudurier
6aacfd22ab dnxhd 120 interlaced support
Originally committed as revision 10063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:23:14 +00:00
Roman Shaposhnik
905694d96e * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:01:15 +00:00
Alex Beregszaszi
3a5729eae1 use skip_bits where appropriate
Originally committed as revision 10005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:08:28 +00:00
Alex Beregszaszi
7ae7300ee3 use skip_bits where appropriate
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:57:36 +00:00
Alex Beregszaszi
7f95d9f620 fix compilation with TRACE enabled
Originally committed as revision 10003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:54:41 +00:00
Justin Ruggles
222ae64c3d cosmetics: vertical alignment
Originally committed as revision 10002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:39:35 +00:00
Justin Ruggles
5066f51502 comments modification: add, clean up, Doxygenize, and reword
Originally committed as revision 10001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:36:49 +00:00
Alex Beregszaszi
b4d00c20dc use reget_buffer and remove internal copying of buffer - codec works again
Originally committed as revision 10000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:16:27 +00:00
Alex Beregszaszi
5fc32c275e use get_bits1(..) instead get_bits(.., 1)
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00
Roman Shaposhnik
67c1b32f3d * getting rid of code duplication
Originally committed as revision 9997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 23:58:23 +00:00
Alex Beregszaszi
3c2ddb5920 use get_unary from bitstream.h
Originally committed as revision 9996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 22:54:47 +00:00
Alex Beregszaszi
57d473f457 use get_unary from bitstream.h
Originally committed as revision 9995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 22:36:12 +00:00
Alex Beregszaszi
971e878dca copy get_unary from vc1
Originally committed as revision 9994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:38:30 +00:00
Alex Beregszaszi
ec5dc2c1af debug: tell how much bits are skipped with unknown nal code
Originally committed as revision 9993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:27:18 +00:00
Carl Eugen Hoyos
af7d793c00 kill warning
patch by Carl Eugen Hoyos [cehoyos * ag or at]

Originally committed as revision 9981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 07:04:23 +00:00
Vitor Sessak
92df891001 More indentation
Originally committed as revision 9979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:53:22 +00:00
Vitor Sessak
db695867eb Cosmetics: indentation
Originally committed as revision 9978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:50:41 +00:00
Vitor Sessak
4a5e6389fe Rename function
Originally committed as revision 9977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:44:23 +00:00
Justin Ruggles
6ea67bbb60 enable the native AC-3 decoder
Originally committed as revision 9968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:02:29 +00:00
Michael Niedermayer
5eac5f29e3 make output buffer larger so drift compensation can work
Originally committed as revision 9967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 23:34:41 +00:00
Benjamin Larsson
00a254b7fe Don't encode the first sample twice.
Originally committed as revision 9962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 19:49:18 +00:00
Baptiste Coudurier
d0fa156fc5 cosmetic, indentation
Originally committed as revision 9960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 08:42:05 +00:00
Justin Ruggles
f5cefb21d5 cosmetics: blank lines, remove some comments
Originally committed as revision 9955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:48:46 +00:00
Justin Ruggles
82758fd690 add pointer to the parent context for use with av_log()
Originally committed as revision 9954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:34:33 +00:00
Justin Ruggles
77416325cb use array for dynamic range scaling factors
Originally committed as revision 9953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:10:09 +00:00
Michael Niedermayer
d7826b58d2 make wmv1 and wmv2 playable with M$ DMO decoder
Originally committed as revision 9950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 20:03:37 +00:00
Justin Ruggles
01f354531d add dialogue normalization
Originally committed as revision 9948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 19:36:35 +00:00
Baptiste Coudurier
fe4ff07aa0 fix decoding of adpcm swf big frames, fix RamboMJPEGAVP6_1Mbps.swf
Originally committed as revision 9946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:41:44 +00:00
Reimar Döffinger
6628165891 Add proper license header
Originally committed as revision 9944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:34 +00:00
Reimar Döffinger
369f73062b Remove AVCodecContext parameter from parse_timecode function
Originally committed as revision 9943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:31 +00:00
Reimar Döffinger
e3c90129a4 Fix deinterlacing for odd height
Originally committed as revision 9942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:28 +00:00
Reimar Döffinger
3c247b4ff7 Deinterlace xsub subtitles
Originally committed as revision 9941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:26 +00:00
Reimar Döffinger
3143c78716 Colours except background should not be transparent
Originally committed as revision 9940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:24 +00:00
Reimar Döffinger
d5049e2c69 get rid of av_rescale_q, it does not work as intended.
Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:22 +00:00
Reimar Döffinger
d6136c7618 get rid of xsubdec array and calculate value instead
Originally committed as revision 9938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:20 +00:00
Reimar Döffinger
737c5ebfc8 10l, runbits order was reversed
Originally committed as revision 9937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:18 +00:00
Reimar Döffinger
5968b39635 100l, wrong argument to av_freep
Originally committed as revision 9935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:13 +00:00
Reimar Döffinger
59f6f64e30 Add forgotten xsub timecode parsing
Originally committed as revision 9934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:11 +00:00
Reimar Döffinger
7e2643ae8d First version of xsub decoder, not yet tested
Originally committed as revision 9933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:09 +00:00
David Bryant
6b05eb3117 Add the handling of the INT32INFO block to the WavPack decoder.
Patch by David Bryant david at $codecname dot com
Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder

Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 05:56:34 +00:00
Loren Merritt
2bf4aa2e93 prevent huffyuv from generating codewords of length 32. (regression in r9069)
Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:29:02 +00:00
Justin Ruggles
3bbb0bf82c add support for downmixing to stereo or mono
Originally committed as revision 9916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:32:17 +00:00
Justin Ruggles
4e09232070 use dsputil for float to signed 16-bit sample conversion
Originally committed as revision 9914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:59:22 +00:00
Sam Hocevar
97be28d8d7 Add support for grayscale MJPEG streams sent by Axis cameras such as the
207MW (http://www.axis.com/products/cam_207mw/).
patch by Sam Hocevar, sam+ffmpeg zoy org

Originally committed as revision 9913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:49:39 +00:00
Justin Ruggles
775369e028 cosmetics: indentation
Originally committed as revision 9911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:32:57 +00:00
Justin Ruggles
7b4076a777 consolidate decoding of lfe and coupling channels with decoding of full-bandwidth channels.
Originally committed as revision 9910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 19:19:48 +00:00
Justin Ruggles
5e61de0cc1 there are only 4 rematrixing bands
Originally committed as revision 9908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 15:01:21 +00:00
Justin Ruggles
75b9b0369b cosmetics: use more appropriate names for iterator variables.
Originally committed as revision 9907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:52:56 +00:00
Baptiste Coudurier
d3dc629c62 move dnxhd data tables to separate file
Originally committed as revision 9906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:41:33 +00:00
Justin Ruggles
8e2eb3b674 move some variables to a more local scope.
Originally committed as revision 9905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:30:37 +00:00
Justin Ruggles
0bff58a59a make exponent decoding consistent (prepare for merging coupling and lfe code with normal channel code).
Originally committed as revision 9904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:26:46 +00:00
Baptiste Coudurier
0221ae8ca8 dnxhd 120 progressive support
Originally committed as revision 9903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:26:29 +00:00
Baptiste Coudurier
3c605485bb indentation
Originally committed as revision 9902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:18:30 +00:00
Baptiste Coudurier
6b259e439c dnxhd 185 interlaced support
Originally committed as revision 9901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:17:53 +00:00
Baptiste Coudurier
dd661ebd36 cosmetic
Originally committed as revision 9900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:10:16 +00:00
Baptiste Coudurier
9a0a2c9f12 no need to duplicate cid table vars in context
Originally committed as revision 9899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:09:08 +00:00
Baptiste Coudurier
940e4bf9b9 10l, use correct cid table
Originally committed as revision 9898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:03:12 +00:00
Baptiste Coudurier
035bc6470d add coding unit size for interlaced decoding
Originally committed as revision 9897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:59:49 +00:00
Baptiste Coudurier
36ebf91206 should be more correct
Originally committed as revision 9896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:43:31 +00:00
Michael Niedermayer
1ae7a85116 indent
Originally committed as revision 9894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:21:00 +00:00
Justin Ruggles
eaf84d970f cosmetics: use braces when it makes the code easier to read.
Originally committed as revision 9893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:04:41 +00:00
Justin Ruggles
fc59010bbf change AC3DecodeContext variable to local variable
Originally committed as revision 9892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:55:10 +00:00
Justin Ruggles
6d96d626c6 use array instead of bitmask
Originally committed as revision 9891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:39:47 +00:00
Michael Niedermayer
4e2b9bcc08 Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader.
Originally committed as revision 9890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:01:11 +00:00
Justin Ruggles
3357ff338b use table for converting dynamic range codes to scale factors
Originally committed as revision 9889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 03:27:05 +00:00
Justin Ruggles
5aefe3ebef use floating-point mantissa dequantization tables
Originally committed as revision 9888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 03:21:17 +00:00
Justin Ruggles
04ac5cada1 cosmetics: indentation
Originally committed as revision 9887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 01:14:14 +00:00
Justin Ruggles
60f07fadd3 dither zero-bit mantissas by default. remove dithering only if it's explicitly turned off.
Originally committed as revision 9886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 01:13:08 +00:00
Justin Ruggles
d63f6fea50 simplify coefficient decoding
Originally committed as revision 9884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:12:23 +00:00
Justin Ruggles
285bf28c67 merge decoding of coupling channel coefficients and regular channel coefficients
Originally committed as revision 9883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:04:17 +00:00
Justin Ruggles
d7dc7ad05c split out coupling coefficient reconstruction into a separate function
Originally committed as revision 9882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:53:53 +00:00
Diego Biurrun
3e5008a922 Reduce Theora decoder verbosity.
Originally committed as revision 9872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 16:43:11 +00:00
Michael Niedermayer
392b748293 output last frame if seq end code is encountered
fixes video decoding of AC3TEST.vob
closes issue19

Originally committed as revision 9870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 20:49:42 +00:00
Diego Biurrun
319919734d Remove unused variable.
Originally committed as revision 9868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 07:42:06 +00:00
Michael Niedermayer
037df60e05 simplify s->mv_dir init
Originally committed as revision 9867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 01:28:37 +00:00
Michael Niedermayer
2f446d3860 get rid of mb_type_len
Originally committed as revision 9865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:39:03 +00:00
Michael Niedermayer
653f738780 exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane,
matches the order of some other stuff and allows some simplifications)

Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:12:52 +00:00
Michael Niedermayer
04b502fa36 exchange if() and for() in the MT_FIELD case
18 cpu cycles faster for matrixbench

Originally committed as revision 9863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:17:26 +00:00
Michael Niedermayer
f4fbcd33d9 exchange for() and if() order in the MT_FRAME case
safes 24 cpu cycles

Originally committed as revision 9862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:05:58 +00:00
Marc Hoffman
dc1ecb6a4a making reference models have the same API
Originally committed as revision 9861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:44:08 +00:00
Michael Niedermayer
356ab1dace change
for(){
    if(){
        switch(){

to
switch(){
    for(){
        if(){

this halfs the number of times the switch is executed in bidir blocks, in
other blocks the number is the same
25 cpu cycles less with matrixbench on duron

Originally committed as revision 9860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:37:41 +00:00
Michael Niedermayer
2952d13ad5 merge another 2 if() to save a few cpu cycles
Originally committed as revision 9858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:04:12 +00:00
Michael Niedermayer
09d1bee89e reorder if() so that the condition can be simplified
saves another 4 cpu cycles

Originally committed as revision 9857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:37:28 +00:00
Michael Niedermayer
0ac6b5a301 merge/simplify 2 if()
~4 cpu cylces faster for the matrixbench video

Originally committed as revision 9856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:26:24 +00:00
Michael Niedermayer
fecc146b28 merge 2 if()
this safes 1-2 cpu cycles

Originally committed as revision 9855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:17:36 +00:00
Baptiste Coudurier
81752d0c2b use buf_ptr to correctly decode second field
Originally committed as revision 9852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 13:18:23 +00:00
Justin Ruggles
dfd57c366f align array used in mdct. fixes segfault.
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:13:58 +00:00
Michael Niedermayer
873525491e use ENABLE_GRAY
Originally committed as revision 9847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:01:03 +00:00
Michael Niedermayer
cde9e78001 make grayscale only decoding checks in inner loops compiletime killable
Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 00:39:39 +00:00
Michael Niedermayer
01e795aba3 move some code which was executed for every skipped MB so it is only executed
for the first skipped mb in a run

Originally committed as revision 9845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:39:09 +00:00
Michael Niedermayer
4152c5ce14 get rid of a useless variable
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:00:17 +00:00
Michael Niedermayer
7ceab4af35 avoid 2 additions (1 cpu cycle) per MB
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:52:49 +00:00
Michael Niedermayer
5bfbf0a54f chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:44:48 +00:00
Panagiotis Issaris
b9ca204284 Fix typo
Originally committed as revision 9841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 16:22:57 +00:00
Daniel Kristjansson
29d2dc59f9 fix mem leak
patch by Daniel Kristjansson: [danielk cuymedia net]
Original thread: [FFmpeg-devel] [PATCH] alloc_picture needs to free buffer when
it's not going to use it
Date: 07/20/2007 07:27 PM

Originally committed as revision 9838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 14:51:21 +00:00
Diego Biurrun
c7bf7a8267 Identifiers starting with underscores are reserved.
Originally committed as revision 9837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 06:55:48 +00:00
Andreas Öman
d4a688d029 fix cabac decoding with some Blue-Ray sources
Patch by Andreas Öman %andreas A olebyn P nu%
Original thread:
Date: Jul 7, 2007 1:23 AM
Subject: [FFmpeg-devel] Corrupted blocks and seeking issues in H264 disc sources

Originally committed as revision 9836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 21:19:36 +00:00
Roman Shaposhnik
f49f6e8889 replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:05:46 +00:00
Panagiotis Issaris
6654296c30 Handle malloc failure
Originally committed as revision 9833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 13:58:17 +00:00
Michael Niedermayer
a11c2a2c66 support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 02:05:16 +00:00
Michael Niedermayer
2711cb28f4 prevent assert failure with negative quant_offset
Originally committed as revision 9830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 21:34:31 +00:00
Michael Niedermayer
3dd2a1c53f warn user if max=bitrate && max > min
Originally committed as revision 9829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 19:21:56 +00:00
Michael Niedermayer
611e7bc41b support raw 4bpp avi
fixes dance1.avi
closes issue40

Originally committed as revision 9828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 13:32:53 +00:00
Michael Niedermayer
3bdc2fcea6 make the reference code use double instead of float where it is easy
Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 10:11:12 +00:00
Michael Niedermayer
86c624af1b print max and mse
Originally committed as revision 9826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 09:58:36 +00:00
Christophe Gisquet
7919d10c61 Make bicubic interpolation standard compliant
Patch by Christophe GISQUET
(echo -e "christophe\056gisquet\100 (antonym to malloc()) \056fr")

Thread [PATCH] Binary identicity for ffvc1 (was Re: [PATCH] VC-1 MMX DSP functions)

Originally committed as revision 9825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 04:04:21 +00:00
Justin Ruggles
8b60bbbf5b simplify stereo rematrixing
Originally committed as revision 9824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:58:32 +00:00
Justin Ruggles
b6acc57f88 change 2 fields from context to local variables
Originally committed as revision 9823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:35:30 +00:00
Justin Ruggles
8fbb368d2c BLOCK_SIZE is not used properly, just use numbers instead to avoid confusion
Originally committed as revision 9822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 20:50:25 +00:00
Justin Ruggles
7bfd22f25a remove broken downmixing. will add new implementation later.
Originally committed as revision 9821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 19:33:19 +00:00
Panagiotis Issaris
edecaff8c2 Take care of some renames (Doxygen and function name) after the previous pure rename patch.
Originally committed as revision 9820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:26:43 +00:00
Panagiotis Issaris
bd38efffe8 Rename h264dsp.c to h264dspenc.c
Originally committed as revision 9819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:23:35 +00:00
Diego Biurrun
1903245071 Ahem, fix typos overlooked in last commit.
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:50:28 +00:00
Diego Biurrun
df3a80b50a cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00
Panagiotis Issaris
6611c0b4c9 Replace a return of -1 with ENOMEM.
Originally committed as revision 9813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 16:31:54 +00:00
Michael Niedermayer
8950f82879 detect voxware (closes issue39)
Originally committed as revision 9809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:37:56 +00:00
Michael Niedermayer
0eb7d78066 remove "Advanced Prediction Mode not supported" spam
Originally committed as revision 9805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:47:43 +00:00
Michael Niedermayer
59ba3fd0b6 also support DEBUG_PICT_INFO for h263i
Originally committed as revision 9804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:46:43 +00:00
Michael Niedermayer
1be7c87fdd move show_pict_info() to its own function
Originally committed as revision 9803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:44:46 +00:00
Aurelien Jacobs
977f6a9049 remove wrong const qualifier
Originally committed as revision 9795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:34:31 +00:00
Stefan Gehrer
5d2b15b870 have less functions as inline
Originally committed as revision 9792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 05:09:54 +00:00
Vitor Sessak
d58d7ade78 Minor cosmetics
Originally committed as revision 9791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 18:21:40 +00:00
Ian Caulfield
e4f42564bb Update the dvdsub parser to be able to parse HD-DVD subtitle packets.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 14:17:13 +00:00
Ian Caulfield
4e16a060a0 Reindent two lines.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:05:28 +00:00
Ian Caulfield
1aadf63fd1 Add HD-DVD subpicture decoding.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:04:47 +00:00
Ian Caulfield
a363effbdf Rename "palette" to "colormap" when it's referring to the mapping from a 2-bit
encoded color to a 4-bit index into the DVD palette.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:03:13 +00:00
Andreas Öman
c7d96ac69f increase buffer size of LAME MP3 encoder
The previous size lead to A/V sync issues
Patch by Andreas Öman %andreas AA olebyn PP nu%
Original thread:
Date: Jul 21, 2007 9:53 AM
Subject: [FFmpeg-devel] [PATCH] lame buffer shortage

Originally committed as revision 9786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 09:59:54 +00:00
Aurelien Jacobs
73f51a4d3e help some gcc version to optimize out those functions
Originally committed as revision 9785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 08:54:56 +00:00
Justin Ruggles
4611b64ec1 simplify snr offset and bit allocation
Originally committed as revision 9784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 02:08:27 +00:00
Justin Ruggles
e9a3824880 only use sized data types when necessary
Originally committed as revision 9783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 01:43:47 +00:00
Justin Ruggles
8f58a4c943 set bit allocation parameters directly instead of copying
Originally committed as revision 9782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 01:35:25 +00:00
Justin Ruggles
e2cd6686fa use enum value instead of numerical value for acmod
Originally committed as revision 9781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:47:49 +00:00
Justin Ruggles
bc8edb7e53 use consistent data type for exponents. needs to be int8_t to pass to bit allocation.
Originally committed as revision 9780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:23:37 +00:00
Justin Ruggles
878c40a137 change some bit masks to arrays
Originally committed as revision 9779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:16:15 +00:00
Justin Ruggles
bec37145da cosmetics: indentation
Originally committed as revision 9774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 17:03:30 +00:00
Justin Ruggles
9fc1ab722e Use shared AC-3 header parsing. Move some initializations to block parsing function.
Originally committed as revision 9773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 16:28:12 +00:00
Justin Ruggles
9ef6039043 don't need to synchronize in the decoder. the parser does that already.
Originally committed as revision 9772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 13:56:04 +00:00
Justin Ruggles
de34875c75 get rid of an ugly macro
Originally committed as revision 9771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 11:54:19 +00:00
Panagiotis Issaris
7868349a91 Return AVERROR(EINVAL) when invalid width and/or height are specified to
avcodec_open.

Originally committed as revision 9770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:09:10 +00:00
Panagiotis Issaris
90f06ceaa0 Return AVERROR(ENOMEM) on memory allocation failure of avcodec_open.
Originally committed as revision 9769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:08:10 +00:00
Andreas Öman
83c43e4d52 bail out on unknown jpeg pixel format instead of silently decoding data incorrectly
patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
date: Jul 19, 2007 4:50 PM
subject: [FFmpeg-devel] [PATCH] bail out on unknown jpeg pixel format

Originally committed as revision 9764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:56:56 +00:00
Panagiotis Issaris
d04d5bcd0e Fix the self tests which are contained in some codecs and are using random().
Originally committed as revision 9755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 08:47:07 +00:00
Panagiotis Issaris
cc61f96f8a Fix the compilation of dct-test, fft-test and motion-test which are using
random().

Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 08:46:28 +00:00
Justin Ruggles
614e9b2424 don't need to define ALT_BITSTREAM_READER
Originally committed as revision 9752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:21:14 +00:00
Justin Ruggles
362664215d update license header. add copyright for myself. correct and complete the statement about liba52.
Originally committed as revision 9751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:16:20 +00:00
Justin Ruggles
3bb004fcda revise comment for exponent decoding function
Originally committed as revision 9750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:09:58 +00:00
Justin Ruggles
4415076f55 new implementation of exponent decoding
Originally committed as revision 9749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:04:05 +00:00
Justin Ruggles
d699d38393 cosmetics: indentation
Originally committed as revision 9748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:51:19 +00:00
Justin Ruggles
0ce668015f remove portions of bit allocation which are no longer needed since they are shared with the encoder
Originally committed as revision 9747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:50:31 +00:00
Vitor Sessak
9c8d9f251e Another minor simplification
Originally committed as revision 9744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 20:23:43 +00:00
Baptiste Coudurier
ac0691071e Set the step index correctly for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:40:03 +00:00
Baptiste Coudurier
9fff16bcbb Calculate the correct blocksize for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:35:03 +00:00
Zdenek Kabelac
2c79288d4e fix mem leak
patch by Zdenek Kabelac: [zdenek kabelac gmail com]

Originally committed as revision 9740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 15:36:45 +00:00
Vitor Sessak
c9128d569a Make deinterlace_16 receive an array as a parameter and not two separated vars
Originally committed as revision 9739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:45:01 +00:00
Vitor Sessak
b37bce6b61 Minor simplification
Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:37:39 +00:00
Vitor Sessak
60c4a31c6a Yet more cosmetics
Originally committed as revision 9737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:36:30 +00:00
Vitor Sessak
10024d443a More cosmetics
Originally committed as revision 9736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:29:14 +00:00
Vitor Sessak
d0da802049 Remove reimplementation of av_log2
Originally committed as revision 9735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:15:14 +00:00
Andreas Öman
4196cfb75b add YUV440P and YUVJ440P support
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM

Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 08:11:16 +00:00
Vitor Sessak
f175201004 Test for supported number of channels
Originally committed as revision 9730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:45:47 +00:00
Vitor Sessak
586e5bd902 Cosmetics: indentation
Originally committed as revision 9729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:27:37 +00:00
Vitor Sessak
a1301f2934 Cosmetics: alignment
Originally committed as revision 9728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:17:20 +00:00
Vitor Sessak
10fb5763cc Remove more code duplication. Based on a patch by Matthieu Castet.
Originally committed as revision 9727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:06:21 +00:00
Vitor Sessak
d562ba238e Move var. declaration to allow further clean up
Originally committed as revision 9726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 23:51:34 +00:00
Vitor Sessak
7f26801668 Remove code duplication. Based on a patch by Matthieu Castet.
Originally committed as revision 9724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 22:05:33 +00:00
Alex Beregszaszi
0509d453b5 set codec_type on init
Originally committed as revision 9721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 13:35:16 +00:00
Diego Biurrun
f1ea5c2a96 typo fixes
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:57:50 +00:00
Ian Caulfield
04d2e45f3f create colorspace.h and use it where appropriate
patch by Ian Caulfield: /ian caulfield gmail com/

Originally committed as revision 9716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:33:14 +00:00
Marc Hoffman
b5f3f2b846 fixpoint: renaming all lowlevel arithmetic routines to xxx_float
Originally committed as revision 9714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 11:06:12 +00:00
Denes Balatoni
975741e79c Don't segfault if an empty codebook gets used.
Patch by Denes Balatoni: [ dbalatoni interware hu ]
Original thread: [Ffmpeg-devel] [PATCH/BUGREPORT] crash in vorbis decoder
date: 02/04/2007 11:08 PM

Originally committed as revision 9711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 07:12:40 +00:00
Roman Shaposhnik
263c241226 * making profile selection a bit more tolerant to the badly broken streams
Originally committed as revision 9710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 04:06:03 +00:00
Marc Hoffman
f1639f69b4 cosmetics: adding some white space to align the arguments of a couple of functions
Originally committed as revision 9709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 00:36:47 +00:00
Måns Rullgård
19b95df09e remove useless #ifdef CONFIG_ZLIB from zmbv decoder
Originally committed as revision 9708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 21:05:16 +00:00
Marc Hoffman
f999b63c77 float_t was a typo that compiled on macosx
Originally committed as revision 9703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 14:45:54 +00:00
Marc Hoffman
dae92b62a3 fixpoint: move cplscales to context structure and provide hook for data format conversion
Originally committed as revision 9702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 13:24:43 +00:00
Marc Hoffman
28d997f932 fixpoint: lowlevel functional abstraction for all buffer arithmetics
Originally committed as revision 9701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 12:32:41 +00:00
Marc Hoffman
e66442f4e3 fixpoint: separate windowing arithmetic imlt_window_float
Originally committed as revision 9700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 11:52:46 +00:00
Marc Hoffman
dc0c20f99b separate the actual math for recovering stereo from a signal channel, this is to allow fixpoint implementation
Originally committed as revision 9698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 11:25:56 +00:00
Marc Hoffman
29b4b8351b separating saturation codes so that we can support other data formats
Originally committed as revision 9693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 01:28:58 +00:00
Marc Hoffman
8c9d2954f7 moving automatic allocation of joint_decode/decode_buffer
to a statically allocated buffer decode_buffer_0 in cook instance.

Originally committed as revision 9692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 22:06:08 +00:00
Marc Hoffman
2843a452c9 cosmetic changing hardwired 20 to SUBBAND_SIZE
Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 21:48:17 +00:00
Måns Rullgård
cb762e3955 remove superfluous #include
Originally committed as revision 9690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:32:31 +00:00
Måns Rullgård
e0eddd1269 hardly anything in PNGContext is shared; split it
Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:23:55 +00:00
Andreas Öman
9a5a05d0b3 fix visual painting of MVs from h264: they are painted twice too long
since the MVs are in qpel res.
Patch by Andreas Öman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:03:12 +00:00
Måns Rullgård
b958a7f111 separate en/decoder specific parts from png.c
Originally committed as revision 9686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 18:24:26 +00:00
Justin Ruggles
0de73a46ff fix the 256-point MDCT
Originally committed as revision 9685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 14:47:39 +00:00
Justin Ruggles
623b79435d use shared ac3 bit allocation function
Originally committed as revision 9684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 13:53:42 +00:00
Justin Ruggles
fa67992dea no need for the decoder to have the license as a prefix
Originally committed as revision 9682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:38:13 +00:00
Justin Ruggles
76d357fd23 remove a debugging function and variable, and remove the commented-out code which uses them.
Originally committed as revision 9681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:35:46 +00:00
Justin Ruggles
a39532b0d9 ABS -> FFABS
Originally committed as revision 9680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:32:04 +00:00
Justin Ruggles
cc2a8443eb move some common values to ac3.h and utilize them
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:31:09 +00:00
Justin Ruggles
cb503702ee use random number generator from libavutil
Originally committed as revision 9678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 23:57:05 +00:00
Justin Ruggles
9d10960194 10l to me. I accidentally removed a word.
Originally committed as revision 9677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 22:17:23 +00:00
Justin Ruggles
0ec2cc35f7 revise license header for simplicity and consistency
Originally committed as revision 9676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 18:53:56 +00:00
Mark Cox
a6540c9f16 Remove redundant assignment of CODEC_ID_BMP.
patch by mark cox   melbournemark+ffmpeg _at_ gmail.com
thread: [PATCH] Remove unessesary assignment of CODEC_ID_BMP
date: Mon, 9 Jul 2007 20:12:28 +1000

Originally committed as revision 9675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 17:14:16 +00:00
Justin Ruggles
283614b5fc make ac3dec.c GPL until violations are fixed
Originally committed as revision 9674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:07:56 +00:00
Justin Ruggles
967d397a6c AC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
merge ac3_decoder.h into ac3_decoder.c

Originally committed as revision 9673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:06:14 +00:00
Loren Merritt
afb46fc092 AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit.

Originally committed as revision 9672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:05:39 +00:00
Justin Ruggles
de17eee70f AC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
Cosmetics.

Originally committed as revision 9671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:05:13 +00:00
Justin Ruggles
1ea76064b4 AC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
fix short block imdct.

Originally committed as revision 9670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:04:40 +00:00
Justin Ruggles
c7cfc48f37 AC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
Redundant code cleanup.
Optimized dither generation.
Minor optimization in bit allocation.
Comments.

Originally committed as revision 9669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:04:17 +00:00
Justin Ruggles
860fe8c908 AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
Cosmetics, white space removal.

Originally committed as revision 9668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:03:47 +00:00
Justin Ruggles
6dc5d71f97 AC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
Fix the bugs:
1. The quality of output because of incorrect windowing coefficients.
New code for window generation.

2. Dynrng values were reset where dynrng value is present in the first block,
but not in the subsequent block.

Originally committed as revision 9667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:03:14 +00:00
Justin Ruggles
d7bcc4adcf AC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
Further optimizations.

Originally committed as revision 9666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:02:32 +00:00
Justin Ruggles
1d0a6f5209 AC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
Optimization as suggested by Benjamin.

Originally committed as revision 9665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:02:08 +00:00
Justin Ruggles
032732d49d AC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
Acknowledgements.

Originally committed as revision 9664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:01:44 +00:00
Justin Ruggles
e6bca37c81 AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.

Originally committed as revision 9663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:01:14 +00:00
Justin Ruggles
3ff88ff45a AC-3 decoder, soc revision 54, Aug 17 09:13:08 2006 UTC by cloud9
Remove unnecessary header files.

Originally committed as revision 9662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:00:38 +00:00
Justin Ruggles
262d8702a9 AC-3 decoder, soc revision 53, Aug 17 08:53:44 2006 UTC by cloud9
Converted the window from double to float.
Now sound produced is as good as sound produced by liba52.

Originally committed as revision 9661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:00:05 +00:00
Justin Ruggles
67414da7f7 AC-3 decoder, soc revision 52, Aug 16 22:45:07 2006 UTC by cloud9
Reset the blksw and dithflag to 0 at the begining of each block.
Otherwise blockswitching propagates over multiple frames even if
block switching is not enabled for that frame.
Also reuse rematflg.

Originally committed as revision 9660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:59:25 +00:00
Justin Ruggles
45b0ed13a8 AC-3 decoder, soc revision 48, Aug 16 11:27:49 2006 UTC by cloud9
I realized that the bug was not in the imdct routine but in the
get_transform_coeffs.
Fixed it.
Code now uses the ffmpeg's imdct routines.
All the mplayer's ac3 samples are decoded
successfully.
Also improved downmixing.
Now all the downmixing coeffcients for channels
are normalized such that the sum of coefficients
used to construct the output for single channel
never exceeds 1.0.

Originally committed as revision 9659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:58:42 +00:00
Justin Ruggles
2fbbd087bb AC-3 decoder, soc revision 40, Aug 9 00:10:14 2006 UTC by cloud9
More code cleanup.
Window is now runtime generated.
Fixed the bugs in rematrixing routine and
in Decoding AC3 Bitstreams when coupling is in use.

Still struggling to find out what affects the quality of
the produced sound. Can anybody have a look at the
imdct routines do_imdct_256 and do_imdct_512 and tell me
whether it is the correctly implemented as described in
standard.

Originally committed as revision 9658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:57:51 +00:00
Justin Ruggles
98a27a8a84 AC-3 decoder, soc revision 38, Aug 7 00:03:00 2006 UTC by cloud9
major code cleanup.
correct implementation of imdct.
implemented imdct for block switching also.
when coupling is not in use all the
ac3 streams are decoded correctly.
but when coupling is in use there is a bug.
i am currently finding the root of the bug.
if anybody can help.

Originally committed as revision 9657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:56:55 +00:00
Justin Ruggles
41277578b9 AC-3 decoder, soc revision 34, Jul 18 14:27:54 2006 UTC by cloud9
working decoder
imdct for block switching is to be implemented
various other things to do

Originally committed as revision 9656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:51:00 +00:00
Justin Ruggles
6bd4660cdb AC-3 decoder, soc revision 33, Jul 17 12:13:40 2006 UTC by cloud9
getting weired output
but its working

Originally committed as revision 9655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:49:12 +00:00
Justin Ruggles
486637af8e AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Latest commit.
There is no error in parsing and or recovering transform coefficients.
Double checked with ac3dec.
Getting consistent results with the bit allocation routine and transform
coefficients.
The code is able to parse valid ac3 bitstreams without error from start
to end.
I have also implemented the imdct when block switching is not enabled.
However, can anybody provide an insight into how to convert float samples to
int16_t ? lrint is of no help cuz it produces output -1, 0 or 1 whereas the
output should be between -32768 to 32767.

Originally committed as revision 9654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:48:28 +00:00
Justin Ruggles
0058584580 AC-3 decoder, soc revision 31, Jul 14 23:53:28 2006 UTC by cloud9
Removed _ from names
Removed temporary storage for the exponents
Removed ctx->samples
Now each transform coefficients are stored in audio block as an array of transform coefficients for each channel
added ctx->delay (output of later half of previous block)
added audio_block->block_output(output of this block)

I am still not able to produce the output.
I checked the code twice completely. I am not missing anything in
parsing or in bit allocation. Yet it throws error in getting transform
coefficients sometimes. Can anyone review a code of get_transform_coeffs and
help me debug it further. I think the error is in do_bit_allocation routine cuz
get_transform_coeffs is dependent on the bit allocation parameters table.

I have checked the bit allocation algorithm thoroughly and it is as defined in the
standard. Tried everything and got stuck where to go further.
Please help me.

Originally committed as revision 9653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:42:15 +00:00
Justin Ruggles
1b29343731 AC-3 decoder, soc revision 26, Jul 5 04:55:15 2006 UTC by cloud9
Mersenne Twister
Dynamic Range
Downmixing
IMDCT

Originally committed as revision 9652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:41:27 +00:00
Justin Ruggles
2aa2c5c4dd AC-3 decoder, soc revision 9, Jun 14 03:52:02 2006 UTC by cloud9
initial commit
NOTE: This and all subsequent ac3dec.c revisions from the soc repository
violate the GPL. This will be fixed after all soc revisions are imported.
This file is not compiled yet, so the license compliance of any builds in
the meantime will not be affected.

Originally committed as revision 9651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:38:39 +00:00
Aurelien Jacobs
2a68cd08cd The mpegaudio parser depends on mpegaudiodata.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-parser=mpegaudio

Originally committed as revision 9641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:23:26 +00:00
Aurelien Jacobs
00b5ec1578 Allow selecting only the vp6f decoder.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=vp6f

Originally committed as revision 9640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:14:28 +00:00
Aurelien Jacobs
e2525c6f78 The svq3 decoder depends on h264idct.o and also requires h264_parser.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=svq3

Originally committed as revision 9638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:11:15 +00:00
İsmail Dönmez
63e24954be Replace non-existing @fixme doxygen tags with @todo.
patch by Ismail Dönmez, ismail pardus.org tr

Originally committed as revision 9625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 13:04:55 +00:00
Vitor Sessak
e3be5693c3 Make "channels" variable mean the number of channels, not the number of
channels minus one

Originally committed as revision 9617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:06:46 +00:00
Måns Rullgård
7c8b273bbe indent
Originally committed as revision 9616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:55:35 +00:00
Måns Rullgård
ebccac06ff remove useless LclDecContext.avctx field
Originally committed as revision 9615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:55:34 +00:00
Måns Rullgård
bff825528e forgot to rm lcl.c
Originally committed as revision 9614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:46:13 +00:00
Måns Rullgård
00eb27f111 split lcl.c into lcldec.c, lclenc.c, lcl.h
Originally committed as revision 9613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:40:33 +00:00
Benoit Fouet
3709f0d706 map warning levels between libx264 and libavutil
Originally committed as revision 9607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 08:22:28 +00:00
Diego Biurrun
3e582fbbc5 license header consistency: Remove redundant "all rights reserved" statement
that is rendered meaningless by subsequent grant of rights through the LGPL.

Originally committed as revision 9606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 00:23:53 +00:00
Ivan Kalvachev
0ac9a875d4 revert commit 9603
Originally committed as revision 9605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 23:21:13 +00:00
Ivan Kalvachev
58f46f2f27 remove file because of lincense issues
Originally committed as revision 9604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 23:13:30 +00:00
Ivan Kalvachev
ddeaf723c5 Integrate reference mpeg IDCT into dsputil.
Originally committed as revision 9603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:05:43 +00:00
Michael Niedermayer
c3d0c11bfb simplify ff_h263_round_chroma()
Originally committed as revision 9602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:05:25 +00:00
Ivan Kalvachev
efb6836fe3 Inport the original intiger IDCT from MPEG2 reference decoder.
It passes IEEE1180 requirements.

Originally committed as revision 9601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:01:21 +00:00
Måns Rullgård
00f0564f44 move ff_h263_round_chroma() to mpegvideo.h as static inline
Originally committed as revision 9600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 21:04:53 +00:00
Ramiro Polla
76353b42fa Remove underscores before fcntl flags
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 15:21:24 +00:00
Ramiro Polla
6ffa87d325 Proper check for mkstemp().
Originally committed as revision 9596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:57:22 +00:00
Aurelien Jacobs
66fc495a10 comment explaining that text subtitle need to be UTF-8 for now
Originally committed as revision 9592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:19:58 +00:00
Aurelien Jacobs
f7e97aaf87 add support for Matroska subtitle tracks
Originally committed as revision 9591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:13:20 +00:00
Aurelien Jacobs
a9fb241c3f conditional compilation of ratecontrol.c
Originally committed as revision 9589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 09:07:23 +00:00
Aurelien Jacobs
bdf5df0865 conditional compilation of motion_est.c
Originally committed as revision 9588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 08:59:52 +00:00
Aurelien Jacobs
df8e34603b makes compilation of h263.o and mpegvideo_enc.o conditional
Originally committed as revision 9583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:28:56 +00:00
Aurelien Jacobs
674eeb5f57 cosmetics: indentation
Originally committed as revision 9582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:27:50 +00:00
Aurelien Jacobs
eb75a69818 Avoid linking with h263.c functions when the relevant codecs
are not compiled in.

Originally committed as revision 9581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:23:08 +00:00
Vitor Sessak
f79488d426 Use proper bytestream functions
Originally committed as revision 9580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:50:44 +00:00
Aurelien Jacobs
99439cb72c Better place to disable some mpeg4 code and ensure that
ff_write_quant_matrix() won't be used when mpeg4 encoder is disabled.

Originally committed as revision 9579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:31:17 +00:00
Aurelien Jacobs
898d5d5daa move init_vlc_rl from h263.c to mpegvideo.c
Originally committed as revision 9578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:17:42 +00:00
Aurelien Jacobs
7da31a80b7 Split ff_set_mpeg4_time() and move the non mpeg4 specific part
into mpegvideo_enc.c.

Originally committed as revision 9577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 14:37:33 +00:00
Vitor Sessak
153696a663 Prepare to remove more duplicated code
Based on a patch by Matthieu Castet

Originally committed as revision 9576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 14:30:57 +00:00
Vitor Sessak
a562e2e651 Remove some duplicated code
Originally committed as revision 9575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 13:32:22 +00:00
Diego Biurrun
ef4d08ac6d Add standard licensing header to files that lack it.
Originally committed as revision 9573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 10:02:01 +00:00
Diego Biurrun
f082badc21 cosmetics: typo
Originally committed as revision 9572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 09:58:38 +00:00
Aurelien Jacobs
196b8b4ecc don't compile some mpeg4 encoder code when encoders are disabled
Originally committed as revision 9571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 08:40:00 +00:00
Vitor Sessak
5b154bd5cd Port some useful comments from newest version of David Hammerton's decoder (from which alac.c is based)
Originally committed as revision 9570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 03:40:37 +00:00
Måns Rullgård
4f13e73392 avoid deprecation warnings for ImgReSampleContext from avcodec.h
Originally committed as revision 9568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 22:15:07 +00:00
Aurelien Jacobs
b776e3d11b move ff_set_qscale from h263.c to mpegvideo.c
Originally committed as revision 9567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 21:07:24 +00:00
Aurelien Jacobs
3a763f0f0b split rawvideo encoder and decoder in their own files
Originally committed as revision 9560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 16:26:11 +00:00
Aurelien Jacobs
0d336e44db compile rangecoder.o only when needed
Originally committed as revision 9559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 15:57:13 +00:00
Benoit Fouet
93f4823935 bring back h264 build
Originally committed as revision 9555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 07:51:54 +00:00
Måns Rullgård
640b73e17d use correct type for palette
Originally committed as revision 9554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 00:08:47 +00:00
Måns Rullgård
d8e76049d6 indent
Originally committed as revision 9553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:12 +00:00
Måns Rullgård
5ffcb1be1f set sample rate in more logical place, kill warning
Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:10 +00:00
Måns Rullgård
6785cae35c trivial warning fixes
Originally committed as revision 9551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:08 +00:00
Måns Rullgård
4a64abdc63 kill warnings
Originally committed as revision 9550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:04 +00:00
Måns Rullgård
8d15910aff fix warning
Originally committed as revision 9549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:02 +00:00
Måns Rullgård
a00177a952 make arguments to ssd_int8_vs_int16() const
Originally committed as revision 9548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:00 +00:00
Måns Rullgård
bad700e346 trivial warning fixes
Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:14:54 +00:00
Christophe Gisquet
ccef714035 Pass modes as parameters instead of calculating them inplace.
Patch by by Christophe GISQUET ( echo $name| awk '//{sub(" ",".");print tolower($0) "@free.fr";}')
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:34:02 +00:00
Christophe Gisquet
803b090449 Replace function declarations with macro
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/.*/&@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:26:13 +00:00
Christophe Gisquet
e95c953b55 Drop ff_ prefix for static functions
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/$/@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:23:44 +00:00
Stefan Gehrer
844d9012a6 split decoder-specific parts into their own file
Originally committed as revision 9533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:37:30 +00:00
Stefan Gehrer
1503063f83 prepare splitting decoder-only parts into own file:
make commonly used tables global

Originally committed as revision 9532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:13:25 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Aurelien Jacobs
58e28fd5c4 simplify ff_copy_bits() when compiled with config-small
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 23:03:14 +00:00
Måns Rullgård
3c3f7ce15a whitespace cosmetics
Originally committed as revision 9524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:29 +00:00
Måns Rullgård
a7b67850f4 add 64-bit bytestream read/write functions
Originally committed as revision 9523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:27 +00:00
Stefan Gehrer
ceb48b46f8 prepare splitting decoder-only parts into own file:
make commonly used functions global

Originally committed as revision 9519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:35:18 +00:00
Stefan Gehrer
218b3ae970 move dequantization into its own inline function
Originally committed as revision 9518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:14:58 +00:00
Stefan Gehrer
ce7088b9a8 cosmetic: rename VLC tables to make clear they
are for decoding

Originally committed as revision 9517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:49:20 +00:00
Stefan Gehrer
07caa46e99 setting special motion vectors in intra macroblocks
is now in its own inline function

Originally committed as revision 9516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:34:30 +00:00
Stefan Gehrer
8a35c8e71a setting intra prediction modes to default values
in inter macroblocks is now in its own inline
function

Originally committed as revision 9515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:27:44 +00:00
Stefan Gehrer
25c899471d move modification of intra prediction modes into
its own inline function

Originally committed as revision 9514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:15:05 +00:00
Stefan Gehrer
e183b6d17c move preparation of chroma intra prediction into its
own inline function

Originally committed as revision 9513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:27:59 +00:00
Stefan Gehrer
b8524fd13f move existing inline functions from cavs.c to cavs.h
Originally committed as revision 9512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:03:22 +00:00
Stefan Gehrer
2a3cc9730f move context structure definition from cavs.c to cavs.h
Originally committed as revision 9511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:58:54 +00:00
Stefan Gehrer
ac83e7b235 make vector constants global
Originally committed as revision 9510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:54:05 +00:00
Janne Grunau
ab2cfc59a6 free thread context
patch by Janne Grunau: [janne-ffmpeg grunau be]

Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:24:08 +00:00
Aurelien Jacobs
5416616588 split SVQ1 decoder and encoder in their own files
Originally committed as revision 9507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:19:35 +00:00
Benoit Fouet
b54bb84c36 set thread_opaque to NULL when freeing it
Originally committed as revision 9506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:17:52 +00:00
Andreas Öman
4691a77db4 Add support for streams with different chroma_qp_index_offset
for Cr and Cb
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:21:37 +00:00
Aurelien Jacobs
5084ed3a9f simplify ff_copy_bits: merge 2 test branches
Originally committed as revision 9504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:14:41 +00:00
Aurelien Jacobs
98f7b56bb6 move ff_copy_bits to bitstream.c
Originally committed as revision 9503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:13:25 +00:00
Kostya Shishkov
3662aa766f Drop redundant assignment and variable
Originally committed as revision 9502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:11:29 +00:00
Stefano Sabatini
c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Andreas Öman
042ef4b720 Precompute a chroma_qp table with index offset for each pps,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:58:08 +00:00
Andreas Öman
4bbdf13f9e Compute the dequant coefficient table ptr outside the loop,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:55:37 +00:00
Aurelien Jacobs
32a4d995ea include snow encoder only if it is not disabled
Originally committed as revision 9494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:57:52 +00:00
Diego Biurrun
ab4e14be4c spelling/grammar
Originally committed as revision 9493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:29:55 +00:00
Oliver Pfister
3caffb7d80 fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:47:58 +00:00
Oliver Pfister
7b62bb2b8d fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:46:48 +00:00
Måns Rullgård
f225016296 update my email address
Originally committed as revision 9489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:08:51 +00:00
Vitor Sessak
3a66812fc8 Add my last name to copyright headers
Originally committed as revision 9488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 19:53:34 +00:00
Aurelien Jacobs
b66af278ac forgot to svn add mpeg12.h in r9477
Originally committed as revision 9487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:59:38 +00:00
Diego Biurrun
09a6682648 typos
Originally committed as revision 9486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:06:02 +00:00
Diego Biurrun
bd9fb0a6e1 UTF-8 conversion
Originally committed as revision 9485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:41:37 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Aurelien Jacobs
cacfe026a8 make DCT_common_init() static
Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:55:48 +00:00
Diego Biurrun
a22caa6a3e Add missing license header.
Originally committed as revision 9481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:50:00 +00:00
Aurelien Jacobs
53727262cb move mpeg encoder specific initialization in the encoder specific file
Originally committed as revision 9480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:48:29 +00:00
Aurelien Jacobs
eaa7557c73 add proper ff_ prefix to new extern symbols
Originally committed as revision 9479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:21:55 +00:00
Aurelien Jacobs
56be950afa cosmetics: indentation
Originally committed as revision 9478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:09:53 +00:00
Aurelien Jacobs
a6bc573158 split mpeg12 encoder out of mpeg12.c
Originally committed as revision 9477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:08:28 +00:00
Måns Rullgård
85d366fd02 use av_freep() in free_vlc() and failed init_vlc()
Originally committed as revision 9474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 06:47:00 +00:00
Vitor Sessak
8448946e37 Remove more useless parentheses.
Originally committed as revision 9471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 03:01:53 +00:00
Benoit Fouet
3ada94ba28 Description: split mpegvideo.c
Originally committed as revision 9467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:55:56 +00:00
Diego Biurrun
82634feeb5 CONFIG_XVID --> CONFIG_LIBXVID
Originally committed as revision 9466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:12:55 +00:00
Vitor Sessak
737b7fb93e Remove useless parentheses.
Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:52:40 +00:00
Vitor Sessak
1926bd92d5 Remove variables made unused by the last two patches and test svn access.
Originally committed as revision 9464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:50:36 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Vitor Sessak
35c621e753 use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:21:41 +00:00
Vitor Sessak
fb44e0706f use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:20:12 +00:00
Diego Biurrun
313bacddc0 Add missing comment markers to #endif directive.
Originally committed as revision 9454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:08:47 +00:00
Alexis Ballier
d3b7406c6f QT RLE encoder
patch by Alexis Ballier: [alexis ballier gmail com]
original thread: [FFmpeg-devel] [Patch] QT RLE encoder, bis
date: 06/24/2007 03:56 PM

Originally committed as revision 9452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:06:28 +00:00
Kostya Shishkov
26bdc6bc6e this prediction direction adjustment is wrong
Originally committed as revision 9450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-28 15:53:36 +00:00
Ivan Kalvachev
a8ff69ce2b Identify the loop_filter flag as such and remove the unused variables in the context.
Originally committed as revision 9447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 14:27:47 +00:00
Vitor Sessak
a7ae617fbd use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 10:40:29 +00:00
Vitor Sessak
670e47e196 use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:57:31 +00:00
Vitor Sessak
bc9f081d53 indentation
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:59 +00:00
Vitor Sessak
7299663a50 right copyrights
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:09 +00:00
Vitor Sessak
9489d2ef3f add width and height in context and use them
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:10:26 +00:00
Benoit Fouet
dad66beeff Indentation
Originally committed as revision 9437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:01:15 +00:00
Benoit Fouet
5b43487d23 test context before accessing it
Originally committed as revision 9436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:00:50 +00:00
Benoit Fouet
57ae779d41 add an AVClass pointer in SwsContext context
Originally committed as revision 9434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 16:09:55 +00:00
Vitor Sessak
03e3e76544 RoQ video encoder
patch by Vitor: \vitor1001 gmail com/
original thread: [FFmpeg-devel] RoQ video encoder (take 3)
date: 06/08/2007 10:34 PM

Originally committed as revision 9420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 12:09:23 +00:00
Vitor Sessak
606975ab01 Fix typo
patch by Vitor: {vitor1001 gmail com}

Originally committed as revision 9419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 07:29:45 +00:00
Michael Niedermayer
28bf121a22 get rid of one unneeded #ifdef HAVE_XVMC
Originally committed as revision 9389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 17:18:58 +00:00