Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegvideo.c @ ea937d01

History | View | Annotate | Download (137 KB)

# Date Author Comment
b7a22d84 01/21/2003 09:30 PM Michael Niedermayer

cleanup

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

f943e138 01/20/2003 08:37 PM Michael Niedermayer

trying to fix mb skip bug in mpeg1/2 if slices are not used

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

ef9f7306 01/19/2003 06:30 PM Måns Rullgård

C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))

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

67725183 01/19/2003 05:55 PM Michael Niedermayer

finetuneing thresholds/factors
nicer mb decission
a few minor improvements & fixes

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

1d0eab1d 01/18/2003 01:37 AM Michael Niedermayer

bugs

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

3a87ac94 01/15/2003 06:05 PM Michael Niedermayer

more compare functions (rd & bit)

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

741235eb 01/13/2003 12:55 PM Michael Niedermayer

gmc1 segfault fix (found by kabi)

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

a33c7159 01/12/2003 12:48 AM Michael Niedermayer

get_format()

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

f7b47594 01/05/2003 05:59 PM Michael Niedermayer

negative linesize support (so mplayer -flip works)

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

369fe599 01/05/2003 05:17 PM Thomas Jarosch

pts encoding fix patch by (Thomas Jarosch <tomj at simonv dot com>)

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

826f429a 01/05/2003 03:57 PM Michael Niedermayer

qpel in mmx2/3dnow
qpel refinement quality parameter

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

f931ff7b 01/02/2003 12:48 PM Michael Niedermayer

pre motion estimation cleanup/bugfix

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

f5fb6b34 01/02/2003 01:29 AM Michael Niedermayer

motion estimation pre pass

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

c442d75c 01/01/2003 12:42 AM Michael Niedermayer

trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes)

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

9981dfc6 12/31/2002 10:58 PM Michael Niedermayer

more optimized trellis quantizer

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

477ab036 12/31/2002 05:23 PM Michael Niedermayer

trellis quantization

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

1457ab52 12/27/2002 11:51 PM Michael Niedermayer

qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS

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

59b571c1 12/17/2002 11:25 AM Michael Niedermayer

more debug output

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

492cd3a9 12/09/2002 12:03 PM Michael Niedermayer

AVVideoFrame -> AVFrame

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

4e00e76b 12/09/2002 12:29 AM Michael Niedermayer

cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)

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

0d1e9246 12/06/2002 01:30 PM Michael Niedermayer

fixing 2pass assert failure
better dynamic b frame selection, still not very good though allthough it works fine without 2pass now

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

5f3ed165 12/05/2002 07:18 PM Michael Niedermayer

fixing hq + adaptive quant

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

aa388dba 12/04/2002 10:16 PM Michael Niedermayer

fixing files where the first frame isn a keyframe

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

140cb663 12/04/2002 09:13 PM Michael Niedermayer

new PSNR code (now works with chroma, b frames, ...)
rename TYPE to FF_TYPE for the external API
allow user specified pict_type

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

1e491e29 12/04/2002 10:04 AM Michael Niedermayer

cleanup
adding AVVideoFrame
moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
removing obsolete variables in AVCodecContext
skiping of MBs in b frames
correctly initalizing AVCodecContext
picture buffer cleanup

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

2571e3b6 12/03/2002 01:14 AM Michael Niedermayer

100l (mixing chroma & luma linesize)

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

f8fd15e0 11/23/2002 09:12 AM Michael Niedermayer

moving init of some variables (hurry_up,...) to MPV_frame_start()

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

9a7b310d 11/22/2002 07:24 AM Zdenek Kabelac
  • remaining part of John Ryland's patch

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

5d3cea3a 11/20/2002 01:08 PM Michael Niedermayer

aspect ratio cleanup

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

83f238cb 11/19/2002 07:33 AM Zdenek Kabelac
  • compilation fix (ARM users please check)

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

18f77016 11/12/2002 03:00 PM Zdenek Kabelac
  • fixing some minor const warnings

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

eb4b3dd3 11/11/2002 09:40 AM Zdenek Kabelac
  • using DSPContext - so each codec could use its local (sub)set of CPU extension

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

b8a78f41 11/10/2002 11:46 AM Michael Niedermayer

reversing header game
MIN/MAX -> FFMIN/FFMAX

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

f01a1894 11/09/2002 10:38 AM Michael Niedermayer

cleanup

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

d7425f59 11/08/2002 06:35 PM Michael Niedermayer

cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams

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

05c4072b 11/02/2002 11:28 AM Michael Niedermayer

Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)

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

bbed9259 10/31/2002 04:11 PM Michael Niedermayer

put a few large tables under #ifdef CONFIG_ENCODERS or dynamically allocate them

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

6bb925f4 10/31/2002 12:11 PM Michael Niedermayer

dont call emms_c() for each MB

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

0aa7875a 10/31/2002 11:47 AM Michael Niedermayer

cleanup

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

af27aea9 10/31/2002 12:48 AM Michael Niedermayer

fixing another assert q>0.0 issue caused by variance < 0, this fix allso changes the inter/intra decission very slightly -> all regression checksums need to be updated

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

6b72ac63 10/30/2002 08:41 PM Michael Niedermayer

exporting the internal qscale table, this allso fixes the ordering

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

d6db1c9c 10/27/2002 12:02 AM Michael Niedermayer

handle direct rendering buffer allocation failure

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

50eb9cbc 10/25/2002 01:39 PM Michael Niedermayer

idct_permutation_type variable, so the permutation type can quickly be identified

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

6e2d5f1a 10/25/2002 10:50 AM Michael Niedermayer

regression test for H263+

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

945eeee1 10/25/2002 12:08 AM Michael Niedermayer

slice encoding cleanup

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

7801d21d 10/23/2002 03:11 PM Michael Niedermayer

optimize block_permute()
optimize dct_quantize_c()
dont permute s->q_inter/intra_matrix

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

4a3d7fbc 10/23/2002 08:14 AM Michael Niedermayer

fixing interlaced MC & edge-emu

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

03e93d35 10/22/2002 06:55 PM Michael Niedermayer

xvid qpel bug workaround

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

8b32880c 10/19/2002 01:31 AM Michael Niedermayer

fixing h263 decoding (did segfault)

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

fb8a9e2f 10/18/2002 06:32 PM Michael Niedermayer

fixing interlaced dct + hq mode

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

9fee1e23 10/16/2002 10:18 PM Michael Niedermayer

init flags before using it (found by arpi)

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

073b013d 10/16/2002 07:55 PM Michael Niedermayer

complete mpeg4 GMC decoding support

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

4d2858de 10/13/2002 01:16 PM Michael Niedermayer

better/cleaner error resilience (done in a 2nd pass after decoding)
h263/mpeg4 out of order slice decoding

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

0298af48 10/06/2002 05:46 PM Michael Niedermayer

set low_delay on encoding if no b frames

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

676e200c 10/06/2002 03:27 PM Michael Niedermayer

trying to fix the non-x86 IDCTs (untested)

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

defdfc9a 10/04/2002 08:59 PM Alex Beregszaszi

moved dct init out from mpv_common_init to dct_common_init (for less-uglier way for dv)

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

5917d17c 10/03/2002 08:57 PM Leon van Stuivenberg

ps2 optimizations update patch by (Leon van Stuivenberg <leonvs at iae dot nl>)

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

3994623d 10/02/2002 05:07 PM Michael Niedermayer

optimization

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

a0201736 09/30/2002 04:14 PM Michael Niedermayer

optimizing mpeg1_decode_block()

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

cc7ac888 09/30/2002 09:19 AM Michael Niedermayer

convert only needed matrixes in convert_matrix() (mjpeg calls it for every frame)

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

2ad1516a 09/29/2002 10:44 PM Michael Niedermayer

idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

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

ea689c8e 09/28/2002 02:18 AM Falk Hüffner

An easy way to speed up encoding by 6%.

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

202ef8b8 09/27/2002 10:27 AM Michael Niedermayer

ff_get_fourcc() & XVIX support

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

fcb48651 09/26/2002 12:22 AM Michael Niedermayer

mpeg4 interlaced dct encoding

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

9e4c6948 09/24/2002 03:07 PM Michael Niedermayer

adaptive quantization for h263

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

5e746b99 09/24/2002 10:53 AM Michael Niedermayer

darkness masking (lumi masking does only bright stuff now)

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

c5d309f2 09/23/2002 02:56 PM Michael Niedermayer

adaptive quantization (lumi/temporal & spatial complexity masking)

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

1e7bfebe 09/14/2002 12:36 PM Michael Niedermayer

fixing qpel 4mv

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

590a6358 09/14/2002 10:11 AM Michael Niedermayer

interlaced qpel mpeg4 fixed

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

bea669e5 09/13/2002 09:45 AM Michael Niedermayer

interlaced mpeg4 b frame decoding

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

b9d2bb5b 09/12/2002 06:28 PM Michael Niedermayer

fixing interlaced mpeg4 decoding

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

66370d3f 09/12/2002 12:26 PM Michael Niedermayer

statistics for forw & back p-MBs instead of just one counter for both

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

208d3ddf 09/12/2002 12:27 AM Michael Niedermayer

set pict_type & key_frame on decoding too

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

b3184779 09/11/2002 12:39 PM Michael Niedermayer

put/avg_pixels16
fixing 2 small qpel bugs

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

6b460aa3 09/11/2002 07:26 AM Michael Niedermayer

reducing sizeof MpegEncContext to avoid stack overflow on crap M$ windo$

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

ad324c93 09/01/2002 04:52 PM Michael Niedermayer

dct cleanup
more accurate mmx dct (dont discard bits for fun)
fixing mmx quantizer bug for qscale%2==1 (bias was slightly wrong)

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

c7e07931 08/30/2002 06:17 PM Martin Olschewski

sun solaris compilation bugfix, patch by (Martin Olschewski <olschewski at zpr dot uni-koeln dot de>)

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

28db7fce 08/29/2002 11:55 PM Michael Niedermayer

slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection

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

fd7db0fd 08/27/2002 04:28 PM Michael Niedermayer

mpeg4 interlaced decoding support (not completly implemented/tested due to lack of samples)

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

e769f053 08/26/2002 08:45 PM Alex Beregszaszi

added aspected_width/height for EXTENDED_PAR

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

3aa102be 08/25/2002 09:19 PM Michael Niedermayer

new ratecontrol code

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

7806197d 08/24/2002 01:24 PM Michael Niedermayer

error concealment needs the mbintra_table so it should allways be allocated

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

1fb4890b 08/22/2002 07:41 PM Michael Niedermayer

better scene change detection

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

c9178d86 08/18/2002 12:42 AM Michael Niedermayer

same dc skip behavior for chroma & luma elimination, its confusing otherwise imho

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

f5866a03 08/17/2002 08:10 PM Michael Niedermayer

skip blocks with small chroma dc too (if the user wants it) needed to avoid IDCT == 0 problems which cause catastrophic error accumulation at qp=1

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

87f8cab4 08/06/2002 11:51 PM Michael Niedermayer

mpeg4 mpeg quantizer encoding

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

508abaca 08/05/2002 09:36 PM Michael Niedermayer

4mv + bframe decoding bugfix

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

b7adc711 08/04/2002 04:05 PM Michael Niedermayer

last_picture should be never == NULL (it was with dr1) this might fix a segfault with error concealment

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

d930ef19 08/02/2002 08:27 PM Michael Niedermayer

fixing mpeg4 mpeg quantizers

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

a10678da 08/01/2002 11:01 AM Michael Niedermayer

max_b_frame=4 bugfix

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

b5a093b3 07/25/2002 08:22 PM Michael Niedermayer

different edge positions fixed with edge emu / dr1

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

3e6a20a0 07/21/2002 01:34 AM Michael Niedermayer

minor optimizations
fixing numbers.avi
fixing ac prediction between MBs with different QP

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

79c0c785 07/17/2002 11:32 PM Michael Niedermayer

use edge emu for encoding of width or height %16!=0 files

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

9022797b 07/17/2002 05:50 PM Michael Niedermayer

fixing NULL reference frame with dr1

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

9be42dba 07/17/2002 01:25 PM Michael Niedermayer

larger edge emu buffer (might have been too small)

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

54993774 07/17/2002 12:42 PM Michael Niedermayer

fixing gmc with emu edges

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

4c9ede2e 07/17/2002 11:04 AM Michael Niedermayer

interlaced mpeg2 fix ... replacing linesize>>1 by uvlinesize brainlessly wasnt a good idea

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

fe072fb4 07/16/2002 11:45 AM Michael Niedermayer

exporting mbskip_table after it has been allocated

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

760acb18 07/15/2002 09:19 PM Michael Niedermayer

direct rendering for SVQ1
MpegEncContext->opaque MUST NOT be used by the codec, its for the parent program
using standart values for pict_type
using (uv)linesize
handling dropable p-frames like b-frames

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

0fd90455 07/15/2002 02:15 PM Michael Niedermayer

uvlinesize
export has_b_frames
mb_skip with more than 2 ip buffers

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