1. 03 Jul, 2010 2 commits
  2. 02 Jul, 2010 2 commits
    • Lamont Alston's avatar
      Make open-GOP Blu-ray compatible · 899bf0fd
      Lamont Alston authored
      Blu-ray is even more braindamaged than we thought.
      Accordingly, open-gop options are now "normal" and "bluray", as opposed to display and coded.
      Normal should be used in all cases besides Blu-ray authoring.
    • 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.
  3. 27 Jun, 2010 1 commit
  4. 25 Jun, 2010 7 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.
    • 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.
    • 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.
    • 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.
    • Fiona Glaser's avatar
      Improve 2-pass bitrate prediction · 1a3548cf
      Fiona Glaser authored
      Adapt based on distance to the end in bits, not in frames.
      Helps in videos with absurdly simple end sections, e.g. black frames.
    • Fiona Glaser's avatar
      SSE4 and SSSE3 versions of some intra_sad functions · af34dfe3
      Fiona Glaser authored
      Primarily Nehalem-optimized.
    • 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.
  5. 24 Jun, 2010 1 commit
    • Fiona Glaser's avatar
      Use -fno-tree-vectorize to avoid miscompilation · f2b78b93
      Fiona Glaser authored
      Some versions of gcc have been reported to attempt (and fail) to vectorize a loop in plane_expand_border.
      This results in a segfault, so to limit the possible effects of gcc's utter incompetence, we're turning off vectorization entirely.
      It's not like it ever did anything useful to begin with.
  6. 23 Jun, 2010 1 commit
  7. 15 Jun, 2010 2 commits
  8. 14 Jun, 2010 5 commits
  9. 09 Jun, 2010 14 commits
  10. 02 Jun, 2010 5 commits