1. 03 Jul, 2010 1 commit
    • Fiona Glaser's avatar
      Support infinite keyint (--keyint infinite). · b7789b1f
      Fiona Glaser authored
      This just means x264 won't insert non-scenecut keyframes.
      Useful for streaming when using interactive error recovery or some other mechanism that makes keyframes unnecessary.
      
      Also change POC logic to limit POC/framenum LSB size (to save bits per slice).
      Also fix a bug in the CPB underflow detection code (didn't affect the bitstream, just resulted in the failure to print certain warning messages).
      b7789b1f
  2. 02 Jul, 2010 1 commit
    • Fiona Glaser's avatar
      Callback feature for low-latency per-slice output · 4cd44841
      Fiona Glaser authored
      Add a callback to allow the calling application to send slices immediately after being encoded.
      Also add some extra information to the x264_nal_t structure to help inform such a calling application how the NAL units should be ordered.
      
      Full documentation is in x264.h.
      4cd44841
  3. 27 Jun, 2010 1 commit
  4. 25 Jun, 2010 6 commits
    • Fiona Glaser's avatar
      Interactive encoder control: error resilience · edc1135e
      Fiona Glaser authored
      In low-latency streaming with few clients, it is often feasible to modify encoder behavior in some fashion based on feedback from clients.
      One possible application of this is error resilience: if a packet is lost, mark the associated frame (and any referenced from it) as lost.
      This allows quick recovery from errors with minimal expense bit-wise.
      
      The new i_dpb_size parameter allows a calling application to tell x264 to use a larger DPB size than required by the number of reference frames.
      This lets x264 and the client keep a large buffer of old references to fall back to in case of lost frames.
      If no recovery is possible even with the available buffer, x264 will force a keyframe.
      
      This initial version does not support B-frames or intra refresh.
      Recommended usage is to set keyint to a very large value, so that keyframes do not occur except as necessary for extreme error recovery.
      
      Full documentation is in x264.h.
      
      Move DTS/PTS calculation to before encoding each frame instead of after.
      Improve documentation of x264_encoder_intra_refresh.
      edc1135e
    • Fiona Glaser's avatar
      Lookaheadless MB-tree support · 669cc1de
      Fiona Glaser authored
      Uses past motion information instead of future data from the lookahead.
      Not as accurate, but better than nothing in zero-latency compression when a lookahead isn't available.
      Currently resets on keyframes, so only available if intra-refresh is set, to avoid pops on non-scenecut keyframes.
      Not on by default with any preset/tune combination; must be enabled explicitly if --tune zerolatency is used.
      
      Also slightly modify encoding presets: disable rc-lookahead in the fastest presets.
      Enable MB-tree in "veryfast", albeit with a very short lookahead.
      669cc1de
    • Lamont Alston's avatar
      Open-GOP support · d020c427
      Lamont Alston authored
      Allows B-frames immediately prior to keyframes (in display order).
      This helps reduce keyframe popping and improve compression with short keyframe intervals.
      Due to a staggering display of braindamage in the Blu-ray spec, two open-GOP modes are available.
      The two modes calculate keyframe interval differently: one based on coded distance and one based on display distance.
      The latter is superior compression-wise, but for no comprehensible reason, Blu-ray requires the former if open-GOP is used.
      d020c427
    • Steven Walters's avatar
      Use threadpools to avoid unnecessary thread creation · 81cada8e
      Steven Walters authored
      Tiny performance improvement with fast settings and lots of threads.
      May help more on some OSs with slow thread creation, like OS X.
      Unify inconsistent synchronized abbreviations to sync.
      81cada8e
    • Fiona Glaser's avatar
      SSE4 and SSSE3 versions of some intra_sad functions · af34dfe3
      Fiona Glaser authored
      Primarily Nehalem-optimized.
      af34dfe3
    • Fiona Glaser's avatar
      Improve HRD accuracy · 5a57688f
      Fiona Glaser authored
      In a staggering display of brain damage, the spec requires all HRD math to be done in infinite precision despite the output being of quite limited precision.
      Accordingly, convert buffer management to work in units of timescale.
      These accumulating rounding errors probably didn't cause any real problems, but might in theory cause issues in very picky muxers on extremely long-running streams.
      5a57688f
  5. 23 Jun, 2010 1 commit
  6. 15 Jun, 2010 1 commit
    • Holger Lubitz's avatar
      Faster mbtree_propagate asm · 15501e34
      Holger Lubitz authored
      Replace fp division by multiply with the reciprocal.
      Only ~12% faster on penryn, but over 80% faster on amd k8.
      Also make checkasm slightly more tolerant to rounding error.
      15501e34
  7. 14 Jun, 2010 2 commits
  8. 09 Jun, 2010 9 commits
  9. 02 Jun, 2010 5 commits
  10. 31 May, 2010 4 commits
  11. 26 May, 2010 6 commits
  12. 21 May, 2010 3 commits