Reorganize frame type selection: No longer produces consecutive I-frames when B-frame...
authorLoren Merritt <pengvado@videolan.org>
Wed, 5 Jan 2005 06:59:29 +0000 (06:59 +0000)
committerLoren Merritt <pengvado@videolan.org>
Wed, 5 Jan 2005 06:59:29 +0000 (06:59 +0000)
commit53295729673187df0ab1143c08fae578b5447376
tree9e8be45fbfbb20146191083729bb056391b9e846
parentb1d946cd95c7b4d3ab618b9bbb0191949a49ad4c
Reorganize frame type selection: No longer produces consecutive I-frames when B-frames are enabled. Not thoroughly tested, but works for me.
Fix scenecut detection when B-frames are present: Can now produce IDR, but is slower since it re-encodes more frames. This might reduce compression ratio in the presence of quick fade-ins.
2pass ratecontrol deals more gracefully with completely skipped frames.

git-svn-id: svn://svn.videolan.org/x264/trunk@83 df754926-b1dd-0310-bc7b-ec298dee348c
encoder/encoder.c
encoder/ratecontrol.c