1. 06 Jul, 2008 2 commits
    • Fiona Glaser's avatar
      Various optimizations and cosmetics · c9c7edf3
      Fiona Glaser authored
      Update AUTHORS file with Gabriel and me
      update XCHG macro to work correctly in if statements
      Add new lookup tables for block_idx and fdec/fenc addresses
      Slightly faster array_non_zero_count_mmx (patch by holger)
      Eliminate branch in analyse_intra
      Unroll loops in and clean up chroma encode
      Convert some for loops to do/while loops for speed improvement
      Do explicit write-combining on --me tesa mvsad_t struct
      Shrink --me esa zero[] array
      Speed up bime by reducing size of visited[][][] array
      c9c7edf3
    • Fiona Glaser's avatar
      Resolve floating point exception with frame_init_lowres mmx · 65324952
      Fiona Glaser authored
      In some cases, the mmx version of frame_init_lowres could leave the FPU uninitialized for use in ratecontrol, resulting in floating point exceptions.
      Since frame_init_lowres is such a time-consuming function, an emms was just put at the end, since it costs almost nothing compared to the total time of frame_init_lowres.
      65324952
  2. 04 Jul, 2008 2 commits
    • Eric Petit's avatar
      Update my email address · 552a04ea
      Eric Petit authored
      552a04ea
    • Fiona Glaser's avatar
      Update file headers throughout x264 · bdbd4fe7
      Fiona Glaser authored
      Update "Authors" lists based on actual authorship; highest is most important
      Update copyright notices and remove old CVS tags from file headers
      Add file headers to GTK and other sections missing them
      Update FSF address
      Other header-related cosmetics
      bdbd4fe7
  3. 03 Jul, 2008 2 commits
  4. 02 Jul, 2008 3 commits
    • Fiona Glaser's avatar
      Fix bug in adaptive quantization · 5b92682d
      Fiona Glaser authored
      In some cases adaptive quantization did not correctly calculate the variance.
      Bug reported by MasterNobody
      5b92682d
    • Loren Merritt's avatar
      lowres_init asm · 04dc2536
      Loren Merritt authored
      rounding is changed for asm convenience. this makes the c version slower, but there's no way around that if all the implementations are to have the same results.
      04dc2536
    • Fiona Glaser's avatar
      Optimizations and cosmetics in macroblock.c · a59f4a7b
      Fiona Glaser authored
      If an i4x4 dct block has no coefficients, don't bother with dequant/zigzag/idct.  Not useful for larger sizes because the odds of an empty block are much lower.
      Cosmetics in i16x16 to be more consistent with other similar functions.
      Add an SSD threshold for chroma in probe_skip to improve speed and minimize time spent on chroma skip analysis.
      Rename lambda arrays to lambda_tab for consistency.
      a59f4a7b
  5. 29 Jun, 2008 1 commit
  6. 24 Jun, 2008 2 commits
    • Fiona Glaser's avatar
      Move bitstream end check to macroblock level · e9369576
      Fiona Glaser authored
      Additionally, instead of silently truncating the frame upon reaching the end of the buffer, reallocate a larger buffer instead.
      e9369576
    • Fiona Glaser's avatar
      Convert NNZ to raster order and other optimizations · ec3d0955
      Fiona Glaser authored
      Converting NNZ to raster order simplifies a lot of the load/store code and allows more use of write-combining.
      More use of write-combining throughout load/save code in common/macroblock.c
      GCC has aliasing issues in the case of stores to 8-bit heap-allocated arrays; dereferencing the pointer once avoids this problem and significantly increases performance.
      More manual loop unrolling and such.
      Move all packXtoY functions to macroblock.h so any function can use them.
      Add pack8to32.
      Minor optimizations to encoder/macroblock.c
      ec3d0955
  7. 18 Jun, 2008 3 commits
  8. 15 Jun, 2008 3 commits
  9. 12 Jun, 2008 3 commits
    • Fiona Glaser's avatar
      Fix regression in 64-bit in r882 · d108f919
      Fiona Glaser authored
      i_mvc needs to be 64-bit when used with a 64-bit memory pointer
      d108f919
    • Fiona Glaser's avatar
      More tweaks to me.c · 52041128
      Fiona Glaser authored
      Added inline MMX version of UMH's predictor difference test
      Various cosmetics throughout me.c
      Removed a C99-ism introduced in r878.
      52041128
    • Fiona Glaser's avatar
      Fix regression in r736 · d4e07786
      Fiona Glaser authored
      r736 added intra RD refinement to B-frames; however, it is possible for subme=7 to be used without b-rdo.
      This means intra RD isn't run, and therefore it is possible for intra chroma analysis to not have been run, since update_cache was never called for an intra block, and chroma ME is not required even at subme=7.
      r801, which removed a memset, made this worse because previously the chroma prediction mode was at least initialized to zero; now it was not initialized at all.
      Therefore, --no-chroma-me, --subme 7, and no --b-rdo had the potential to crash.
      This change restricts intra RD refinement to only be run when --b-rdo is enabled (sensible to begin with), thus preventing a crash in this case.
      d4e07786
  10. 11 Jun, 2008 3 commits
  11. 08 Jun, 2008 6 commits
  12. 05 Jun, 2008 2 commits
  13. 03 Jun, 2008 6 commits
  14. 02 Jun, 2008 2 commits