Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpeg12.c @ 983e3246

History | View | Annotate | Download (74.2 KB)

# Date Author Comment
983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

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

640950c7 03/05/2003 08:03 PM Michael Niedermayer

mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)

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

dfb476cb 03/05/2003 05:48 PM Michael Niedermayer

field picture decoding support (16x16 MC blocks only as i dont have any samples which use other modes ...)

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

b0368839 03/03/2003 02:54 PM Michael Niedermayer

MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

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

2ec23b6d 02/26/2003 05:26 PM Michael Niedermayer

move repeat_pict field from AVCodecContext -> AVFrame (closes bug #683536)

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

e2f9490e 02/25/2003 09:56 AM Fabrice Bellard

added DTG active format information

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

7604246d 02/16/2003 11:05 PM Wolfgang Hesseler

more #ifdef CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>) with modifications by me (s/WOLFGANG/CONFIG_ENCODERS/ and some other fixes)

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

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

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

63b15e55 02/08/2003 12:00 PM Michael Niedermayer

mpeg1 bframe encoding patch by (Raphaƫl LEGRAND) with some modifications by me

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

68f593b4 01/21/2003 05:34 PM Michael Niedermayer

GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops

Originally committed as revision 1486 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

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

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

f7696989 12/19/2002 06:59 PM Zdenek Kabelac
  • fix for empty image queue

Originally committed as revision 1342 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

426b8061 12/06/2002 04:19 PM Michael Niedermayer

aspect ratio encoding for mpeg1

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

945f15b7 12/06/2002 04:04 PM Michael Niedermayer

mpeg1&2 aspect decoding

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

d9cb5429 12/05/2002 11:33 AM Michael Niedermayer

drop b frames if there are no reference frames
skip b frames if hurry_up

Originally committed as revision 1312 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

2aa29681 11/26/2002 12:54 AM Agent Smith

dont put flies in the stdout soup patch by (Agent Smith <asmith at wgz dot com>)

Originally committed as revision 1277 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

deedfbdb 11/19/2002 11:04 PM Michael Niedermayer

10l

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

58bfafbe 11/18/2002 09:28 AM Michael Niedermayer

hurry_up=5 support

Originally committed as revision 1219 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

c2d418f1 11/09/2002 01:57 PM Michael Niedermayer

fixing -sameq with mpeg2

Originally committed as revision 1179 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

86f85dca 11/02/2002 08:55 AM Michael Niedermayer

cleanup

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

288daa84 11/02/2002 01:43 AM Arpi

handle init error in ffmpeg12

Originally committed as revision 1141 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

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

d2975f8d 10/15/2002 03:24 PM Michael Niedermayer

warning fixes

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

49733979 10/09/2002 05:18 PM Michael Niedermayer

mpeg1 2pass encoding

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

3a3d3a42 10/02/2002 10:56 PM Michael Niedermayer

fixing custom quantizer matrix decoding
minor optimizations

Originally committed as revision 993 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

ce5b7c5e 10/02/2002 04:36 PM Michael Niedermayer

sliced mode for mpeg1/2

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

acf44abb 10/01/2002 11:47 PM Michael Niedermayer

move scantable init from block-decode to header parser

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

3729c912 10/01/2002 11:11 PM Michael Niedermayer

optimizing mpeg2 decode block stuff

Originally committed as revision 989 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

8e1652dc 09/30/2002 10:06 AM Michael Niedermayer

forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)

Originally committed as revision 984 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

d87c0267 09/24/2002 12:33 PM Michael Niedermayer

adaptive quantization for mpeg1

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

14207b27 09/06/2002 10:30 PM Michael Niedermayer

support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set

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

ecfd40b3 09/02/2002 09:51 AM Henry Mason

new vbv calculation patch by (Henry Mason <talus25 at speakeasy dot net>) with slight modification by me

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

07787186 08/28/2002 08:15 AM Dominik Mierzejewski

warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)

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

4dd0e44f 08/26/2002 04:10 PM Michael Niedermayer

fixing some 64bit bugs

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

0a6baf39 08/04/2002 06:19 PM Michael Niedermayer

fixing slices which start at mb_x>0

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

9ac7ecd6 07/17/2002 03:54 PM Michael Niedermayer

hmm ABS > 512 fix
printing some error messages if some error occurs

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

94aec31f 07/16/2002 12:48 AM Michael Niedermayer

dr1

Originally committed as revision 764 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

4f68b084 07/14/2002 06:36 PM Michael Niedermayer

rl vlc table optimization (not yet used)

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

8ed2ddb2 07/13/2002 04:10 PM Michael Niedermayer

optimization (get_vlc() -> get_vlc2())

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

adc09b2e 07/10/2002 09:01 PM Marko Kreen

adding ff prefix to avoid global name conficts with xvid (patch by Marko Kreen <marko at l-t.ee>)

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

8db1a1dd 07/09/2002 10:35 AM Michael Niedermayer

new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

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

8f8402e4 06/18/2002 12:46 AM Michael Niedermayer

dc scale simplification/optimization

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

915bbac6 06/11/2002 01:44 PM Fabrice Bellard

fixed one mpeg decoder memory leak

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

03987173 06/09/2002 01:43 PM Michael Niedermayer

passing avctx->flags so that grayscale only decoding works with mpeg1/2 too

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

ff4ec49e 05/25/2002 10:45 PM Fabrice Bellard

license/copyright change

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

fb4a4a56 05/20/2002 04:24 PM Fabrice Bellard

mpeg1/2 identifier - fixed frame rate for some bad mpeg1 streams

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

5bd12d12 05/18/2002 10:56 PM Fabrice Bellard

improved mpeg1/2 decoding speed

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

e0a3d744 05/14/2002 07:56 PM Juanjo

- repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)

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

c80340a4 05/12/2002 02:55 AM Juanjo

- repeat_pict added to AVCodecContext to signal if the decoder must repeat
frames from 3:2 pulldown sources.
- repeat_pict honoured by MPEG-1/2 decoder.

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

bc6caae2 05/06/2002 07:32 PM Juanjo

- MPEG-4 B frames coding option for ffmpeg.c
- Warning fixes.

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

2417652e 04/27/2002 01:12 PM Michael Niedermayer

export mbskip_table for direct rendering
add hurry_up support

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

d7e9533a 04/27/2002 12:30 PM Michael Niedermayer

fixed msmpeg4 infinite loop if buggy stream
rewrote quantizer
fixed bias (+10% compression/quality for h263 like codecs)
qscale=1 support
mpeg1 intra frames looks far less blocky
added codec_id field

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

10bb7023 04/07/2002 09:44 PM Juanjo

- Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes....

5b403c40 04/04/2002 07:50 PM Michael Niedermayer

emms was missing, found by juanjo but he didnt commit it?!

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

649c00c9 03/28/2002 01:41 PM Michael Niedermayer

sizeof(s->block) isnt 64*6*2 anymore bugfix
mpeg12 decoding optimization

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

9c15096e 03/24/2002 11:45 PM Michael Niedermayer

fcode_tables where too small, found by Klaas-Pieter Vlieg <>

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

11ce8834 03/22/2002 11:22 PM Michael Niedermayer

mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation
squished a dirty uninitialized var bug
mpeg1 fcode>1 support

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

45870f57 03/22/2002 02:21 AM Michael Niedermayer

new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

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

af469427 03/20/2002 11:16 AM Juanjo

- Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek

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

ce7c56c2 03/19/2002 06:30 AM Juanjo

- Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

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

1cb0edb4 03/16/2002 02:41 AM Juanjo

- Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

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

bb6f51ae 02/18/2002 01:58 AM Michael Niedermayer

avoid overflow of picturenumber*fps*10000
bug found by Lennert Buytenhek <>

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

3696d2bb 02/18/2002 12:31 AM Michael Niedermayer

block_last_index was too large (in mpeg1 decoding)

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

f004ca1c 02/13/2002 03:26 PM Michael Niedermayer

optimized encode_dc() (+2% speed on P3 for mpeg1 intra only encodings)

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

80feb2a2 02/13/2002 04:19 AM Michael Niedermayer

optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...)

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

a74127c0 08/15/2001 10:33 PM Fabrice Bellard

win32 fixes

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

0c23ead1 08/15/2001 01:11 PM Fabrice Bellard

copy avctx

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

1a565432 08/13/2001 09:48 PM Fabrice Bellard

win32 fixes

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

25ed7f92 08/12/2001 12:52 AM Fabrice Bellard

fixed mpeg2 non intra dequant - fixed MPEG1 and 2 matrix parsing

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

d753173a 08/11/2001 10:08 PM Fabrice Bellard

fixed last zero mv for field - fixed mismatch handling for intra coefs

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

0ee50938 08/11/2001 07:04 PM Fabrice Bellard

fixed mpeg2 qscale decoding

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

b9ecd1ee 08/08/2001 09:53 PM Fabrice Bellard

fixed mpeg1 last block bug (mb stuffing code was not included in vlc table...)

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

60832448 08/07/2001 10:47 PM Fabrice Bellard

changed quant matrix order (should fix mmx mpeg decoding bug)

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

612476ef 08/04/2001 12:46 AM Arpi

get_bits() specialization, gives 4\speedup

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

2d6d0c1d 08/02/2001 06:46 PM Arpi

- removed #include ../config.h, because it's included from common.h
which is included from avcodec.h which is included from those files...

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

54329dd5 08/02/2001 08:29 AM Nick Kurshev

Adding fastmemcpy stuff to speedup mplayer project

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

b7ec19d3 07/30/2001 11:24 PM Fabrice Bellard

use block[] in structure to have it aligned on 8 bytes for mmx optimizations

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

3bb4e23a 07/24/2001 08:43 PM Fabrice Bellard

added skip macroblock optimization (big perf win on black regions for example)

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

d78647e8 07/23/2001 06:58 PM Fabrice Bellard

fixed unsigned pb

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

de6d9b64 07/22/2001 02:18 PM Fabrice Bellard

Initial revision

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