Statistics
| Branch: | Revision:

ffmpeg / libavcodec / vc1.c @ 7a886063

History | View | Annotate | Download (147 KB)

# Date Author Comment
6f3e4e17 12/17/2006 11:11 AM Reimar Döffinger

Check mb_pos is big enough before trying to access data left or above.
Fixes out-of-bound access for http://samples.mplayerhq.hu/V-codecs/WMV9/nokia_n90.wmv

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

849f1035 12/08/2006 12:35 AM Måns Rullgård

rename always_inline to av_always_inline and move to common.h

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

08baa3e0 12/02/2006 12:55 PM Kostya Shishkov

10e6l FastUVMC was done right but in the wrong place

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

98ba1cfa 12/01/2006 07:24 AM Kostya Shishkov

100l FastUVMC rounding was incorrect.
This should also improve quality on WMV9Drifting.asf

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

61f5b14a 11/26/2006 04:57 AM Kostya Shishkov

Correct rounding values in overlap filtering

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

5081f3aa 11/26/2006 04:54 AM Kostya Shishkov

B-frames support for adv. profile

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

b8ce8f15 11/26/2006 04:53 AM Kostya Shishkov

100l: Initialize dc_scale with current quantizer for adv I frames

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

25e9c7ef 11/26/2006 04:52 AM Kostya Shishkov

Use halfpq in coefficient scaling

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

b6fa8993 11/17/2006 06:09 AM Kostya Shishkov

Overlap filtering was done in reverse order

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

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

36c32bdd 10/03/2006 05:12 PM Diego Biurrun

Remove unused variables and the corresponding warnings along with them.

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

b86216de 09/27/2006 10:13 PM Måns Rullgård

dc_val should be signed

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

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

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

a1ef0068 09/21/2006 04:46 AM Kostya Shishkov

Finally enable B-frame decoding as all known samples work perfect

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

6b33eed8 09/21/2006 04:44 AM Kostya Shishkov

For B-frames if the second reference frame signals intensity compensation
then the first reference frame should be intensity compensated.

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

162f412d 09/21/2006 04:38 AM Kostya Shishkov

Reorder MV order in B-frames so no swapping in vc1_b_mc() is needed

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

e179fbc8 09/12/2006 04:35 AM Kostya Shishkov

Swap back and forward motion vectors to achieve correct picture

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

1884a48b 09/12/2006 04:29 AM Kostya Shishkov

Set motion vectors used in B-frames to zero by default

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

c8868640 09/12/2006 04:19 AM Kostya Shishkov

Use h264_chroma funcs in B-frames MC too

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

b116cc7f 09/12/2006 04:16 AM Kostya Shishkov

Fix edge emulation for bicubic MC in B frames

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

f9942ba9 09/12/2006 04:13 AM Kostya Shishkov

2989l: Set avctx->has_b_frames value in header and don't change it

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

dc43482b 09/10/2006 04:24 AM Kostya Shishkov

Disable B-frames decoding until they produce correct picture

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

34a8dcd0 09/09/2006 11:40 AM Kostya Shishkov

Drop unneeded checks before av_free() and change to av_freep() where it's more suitable.

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

76751653 09/09/2006 11:32 AM Kostya Shishkov

Support for BI-frames in Advanced Profile

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

d429c982 09/09/2006 11:29 AM Kostya Shishkov

Don't print header bits by default

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

6cf6d0ec 09/09/2006 11:28 AM Kostya Shishkov

[Cosmetics] Remove if(profile < PROFILE_ADVANCED) from decode_sequence_header()
as it's always true and reindent code inside by the way.

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

d1d28ddf 09/09/2006 11:23 AM Kostya Shishkov

[Cosmetics] Remove some done TODOs/FIXMEs from comments

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

1dc1ce64 09/09/2006 11:21 AM Kostya Shishkov

Proper support for B/BI frames

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

3c275f6d 09/04/2006 04:24 AM Kostya Shishkov

VC-1 Advanced Profile support (progressive only, tested on WVC1 samples)

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

b0c8e1b8 09/02/2006 04:53 AM Kostya Shishkov

Replace usage of put_*_vc1_qpel_pixels_tab with put_*_h264_chroma_pixels_tab

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

74691b7b 08/31/2006 04:44 AM Kostya Shishkov

New qpel MC functions conforming to VC-1 standard.
Existing DSPUtil functions cause chroma artifacts on some files.

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

2d5eadcc 08/31/2006 04:42 AM Kostya Shishkov

Spelling

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

66ff2c1f 08/31/2006 04:39 AM Kostya Shishkov

Motion compensation for luma always use halfpel precision.

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

6b53e173 08/11/2006 04:41 AM Kostya Shishkov

Disable B-frames decoding until I return and finish their proper decoding.

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

fb2d9140 08/06/2006 03:44 AM Kostya Shishkov

Correct MC for B-frames and some improvements (not 100% complete though)

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

78cbfc0c 08/06/2006 03:42 AM Kostya Shishkov

Bicubic interpolation requires two additional pixels for block

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

99f649a2 08/04/2006 03:31 AM Kostya Shishkov

100l: intensity compensation must be also done in 4-MV mode

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

48d3fca7 08/03/2006 05:09 AM Kostya Shishkov

Don't try to decode P-frames from old WMV3 variant until their format is figured

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

8295eb30 07/30/2006 03:50 AM Kostya Shishkov

Use bicubic MC (should also remove those ringing artifacts) when needed

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

5ce425f7 07/30/2006 03:47 AM Kostya Shishkov

Use functions from DSPContext in vc1.c

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

09be55df 07/29/2006 03:11 AM Kostya Shishkov

Set MpegEncContext->mspel flag (here it indicates that bicubic MC will be use)

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

ffb9a8b1 07/29/2006 03:07 AM Kostya Shishkov

Support range reduced frames

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

138712fe 07/29/2006 03:05 AM Kostya Shishkov

Support grayscale decoding.

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

0154bae1 07/28/2006 03:27 AM Kostya Shishkov

Add rounding for overlap filters

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

5df68893 07/24/2006 04:24 AM Kostya Shishkov

Some B-frames support (parsing and decoding only, no motion compesation is done)

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

c39e3c6f 07/24/2006 04:20 AM Kostya Shishkov

Some fixes for decode_p_mb()

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

9f82cdc7 07/23/2006 08:45 PM Diego Biurrun

Remove obsolete and misleading warning.

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

83b3df83 07/23/2006 04:57 AM Kostya Shishkov

Correct edge MC for chroma

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

230e9d4c 07/22/2006 03:57 AM Kostya Shishkov

Replace code for clipping MV vectors (which is wrong to use here) with clipping source coords.

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

4b944659 07/22/2006 03:54 AM Kostya Shishkov

Don't do non-uniform quantization on zero coeffs.

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

27ed1a0d 07/21/2006 04:06 AM Kostya Shishkov

1000l: scale DC predictors instead of predicted value.

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

92ad0d9d 07/21/2006 04:03 AM Kostya Shishkov

Set DC = 0 for skipped MB as it interferes DC prediction

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

b53921aa 07/21/2006 03:58 AM Kostya Shishkov

Set correctly quantizer and transform mode when parsing frame header.

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

7e84f276 07/16/2006 03:50 AM Kostya Shishkov

Don't pass block6[64] parameter to decode_p_mb as we always use s->block

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

0a45801f 07/16/2006 03:47 AM Kostya Shishkov

Correct inverse quantization for P-frames

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

c5b32ec1 07/16/2006 03:45 AM Kostya Shishkov

Rounding control for motion compensation.

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

e148c6e1 07/09/2006 03:12 PM Diego Biurrun

FastUVMV vs FastUVMC typo, noticed by bond

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

fdb59832 07/09/2006 03:00 AM Kostya Shishkov

Check if 4-MV MB should not be decoded.

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

5c4b8efd 07/09/2006 02:56 AM Kostya Shishkov

MVRANGE may occur in all frames and RESPIC in all but B-frames

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

3a3f1cf3 07/09/2006 02:51 AM Kostya Shishkov

Fix mquant selection for ALL_MBS mode

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

65c7bb9e 07/09/2006 02:47 AM Kostya Shishkov

Use overlap filter instead of loop filter.

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

d2779ecd 07/09/2006 02:44 AM Kostya Shishkov

Use s->first_slice_line in checks instead of s->mb_y

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

913e93d5 07/07/2006 05:02 AM Kostya Shishkov

Improve chroma MC: correct case for FASTUVMC=1, use slower but correct /2, and always use halfpel MC.
Not quite there yet but a bit better picture on some files.

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

50af2fd3 07/07/2006 04:51 AM Kostya Shishkov

Enable coefficient scaling

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

928dc49d 07/07/2006 04:50 AM Kostya Shishkov

Don't read out-of-bounds values.

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

1ae4a8e6 07/06/2006 03:42 AM Kostya Shishkov

Fix one case of choosing MV for chroma

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

66d0ad26 07/04/2006 03:40 PM Kostya Shishkov

Implement intensity compensation

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

8a66a390 07/04/2006 03:39 PM Kostya Shishkov

Correctly choose global transform mode, MV mode and fix bitplane decoding

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

35a9cac8 07/04/2006 03:33 PM Kostya Shishkov

Optimizations suggested by Michael Niedermayer

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

05103ed3 07/03/2006 05:22 PM Kostya Shishkov

Correctly detect when use hpel or qpel mode

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

ef6cc8ce 07/03/2006 05:21 PM Kostya Shishkov

4-MV mode final fixes (now it works for non-exotic modes)

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

4a5343fa 07/03/2006 05:17 PM Kostya Shishkov

vc1_decode_intra_block() simplifications and corrections

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

e4bf0302 07/03/2006 02:38 AM Kostya Shishkov

4-MV decoding support

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

8f8d0e48 07/01/2006 07:22 AM Kostya Shishkov

Adjust AC prediction if (some) predictors are not available.

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

e9f2396e 07/01/2006 07:13 AM Kostya Shishkov

0xFFFF l of cola. Now P-frames are decoded almost without distortions.

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

a34c26cc 07/01/2006 03:19 AM Kostya Shishkov

Remove unused variable (and it wasn't free'd too)

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

0f7344aa 07/01/2006 03:17 AM Kostya Shishkov

Use MpegEncContext->mbskip_table instead of custom bitplane.

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

3f6d6af6 06/30/2006 03:19 AM Kostya Shishkov

Slightly reworked MC code, it gives better picture.

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

c436ff41 06/30/2006 03:17 AM Kostya Shishkov

typo

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

87dfe848 06/29/2006 11:05 AM Kostya Shishkov

Some optimization and fixes - mostly reworked MC and bitplanes.

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

e8ba1cea 06/29/2006 11:02 AM Kostya Shishkov

This should make P-frames decoding work on x86 (by avoiding get_bits(0))

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

f26c2ef5 06/27/2006 03:37 PM Kostya Shishkov

Added loop filtering as ersatz for overlap filter (improves picture quality for coarse quantization).

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

8985c915 06/27/2006 03:34 PM Kostya Shishkov

VC1 Intra blocks in P-frames use different zigzag table than I-frames.

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

be3492ec 06/27/2006 03:11 AM Kostya Shishkov

VC-1 decoder with I-frames support and partial P-frames decoding

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

10b9c374 06/27/2006 02:55 AM Kostya Shishkov

Rename VC9 to VC1 as there is no such thing as VC9

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