1. 21 Jun, 2012 1 commit
    • John Koleszar's avatar
      Add support for downloading test data · 00748632
      John Koleszar authored
      The commit introduces a make target 'testdata' that downloads the
      required test data from the WebM project website. The data will also
      be downloaded if invoking `make test` but is not a strict requirement
      for only building the test executable.
      
      The download directory is taken from the LIBVPX_TEST_DATA_PATH
      environment variable, or may be specified as part of the make command.
      If unset, it defaults to the current directory. It's expected that
      most developers will want to set this environment variable to a place
      outside their source/build trees, to avoid having to download the data
      more than once.
      
      To add test data file:
      
        1) add a line to test/test.mk:
      
            LIBVPX_TEST_DATA-yes += foo-bar-file.y4m
      
        2) add its sha1sum to the test/test-data.sha1 file in the following
           format:
      
            528cc88c821e5f5b133c2b40f9c8e3f22eaacc4c  foo-bar-file.y4m
      
        3) upload the file to the website
      
            $ gsutil cp foo-bar-file.y4m gs://downloads.webmproject.org/test_data/libvpx
      
      This implementation will check the integrity of the test data
      automatically if the `sha1sum` executable is available.
      
      Change-Id: If6910fe304bb3f5cdcc5cb9e5f9afa5be74720d2
      00748632
  2. 20 Jun, 2012 4 commits
    • Paul Wilkins's avatar
      6fc1d9ef
    • John Koleszar's avatar
      Fix compilation with -werror · 6291dd4c
      John Koleszar authored
      Fix a last few warnings with multithread, arm, 32 bit
      
      Change-Id: Ic7c67616c370d0ff87562a232fb1e5df0702dc86
      6291dd4c
    • Paul Wilkins's avatar
      Fix segmentation updates with vp8_set_roimap() · 7c32cb52
      Paul Wilkins authored
      Changes relating to Issue 411
      
      Removed code that was clearing down the segmentation data each
      frame.
      
      Added range/parameter checking in vp8_set_roimap(); Return error
      if called when cyclic_refresh is enabled.
      
      Correct setup_features() so that it sets or clears the segment update
      flags as appropriate.
      
      Change-Id: Ib31ac53006640ddf1ba7b9ec8f8b952e3eff860a
      7c32cb52
    • Attila Nagy's avatar
      Enables building examples with Android NDK · 5daaa838
      Attila Nagy authored
      Soft enable runtime cpu detect for armv7-android target, so that it
      can be disabled and remove dependency on 'cpufeatures' lib.
      Change the arm_cpu_caps implementation selection such that 'no rtcd' takes
      precedence over system type.
      
      Switch to use -mtune instead of -mcpu. NDK was complaining about
      -mcpu=cortex-a8 conflicting with -march=armv7-a, not sure why.
      
      Add a linker flag to fix some cortex-a8 bug, as suggested by NDK Dev
      Guide.
      
      Examples:
      Configure for armv7+neon:
      
      ./configure --target=armv7-android-gcc \
                  --sdk-path=/path/to/android/ndk \
                  --disable-runtime-cpu-detect \
                  --enable-realtime-only \
                  --disable-unit-tests
      
      ...armv7 w/o neon:
      
      ./configure --target=armv7-android-gcc \
                  --sdk-path=/path/to/android/ndk \
                  --disable-runtime-cpu-detect \
                  --enable-realtime-only \
                  --disable-neon \
                  --cpu=cortex-a9 \
                  --disable-unit-tests
      
      Change-Id: I37e2c0592745208979deec38f7658378d4bd6cfa
      5daaa838
  3. 19 Jun, 2012 2 commits
  4. 16 Jun, 2012 1 commit
  5. 15 Jun, 2012 2 commits
    • Rob Bradford's avatar
      Fix pkg-config file to pull in libm · 576629ba
      Rob Bradford authored
      vpx uses symbols in libm and thus we need to provide an indication to
      the user of libvpx that if they want to link against libvpx they must
      also link against libm.
      
      Change-Id: I31d4068bf7f6f5b1fd222bcdf9e6a1a92fb6696f
      576629ba
    • John Koleszar's avatar
      Remove threading dependencies with --disable-multithread · 8df79e9d
      John Koleszar authored
      Avoid a pthreads dependency via pthread_once() when compiled with
      --disable-multithread.
      
      In addition, this synchronization is disabled for Win32 as well, even
      though we can be sure that the required primatives exist, so that the
      requirements on the application when built with --disable-multithread
      are consistent across platforms.
      
      Users using libvpx built with --disable-multithread in a multithreaded
      context should provide their own synchronization. Updated the
      documentation to vpx_codec_enc_init_ver() and vpx_codec_dec_init_ver()
      to note this requirement. Moved the RTCD initialization call to match
      this description, as previously it didn't happen until the first
      frame.
      
      Change-Id: Id576f6bce2758362188278d3085051c218a56d4a
      8df79e9d
  6. 13 Jun, 2012 1 commit
    • James Zern's avatar
      disable lagged encoding in one-pass · 7b0b6a2c
      James Zern authored
      This currently has no effect and can create an artificial lag in e.g.,
      realtime.
      
      Change-Id: Ia1c7c6dbe7c6fe82a944f087f1b0d1dbbc0aa1b6
      7b0b6a2c
  7. 11 Jun, 2012 6 commits
  8. 09 Jun, 2012 1 commit
  9. 07 Jun, 2012 1 commit
  10. 06 Jun, 2012 1 commit
    • Marco Paniconi's avatar
      Reset Q for key frame when spatial resizing occurs. · baedcedc
      Marco Paniconi authored
      The logic for spatial resizing is done after the Q is selected for the
      frame. This causes a problem that the Q we select for the (resized)
      key frame may be based on a different resolution than the frame we
      will encode.
      
      This fix is to ensure that, when resize is on, the selected Q is still
      based on the resolution of the frame to be encoded.
      
      Change-Id: Ia49a9eac5f64e48d1c00dfc7ed4ce26fe84d3fa1
      baedcedc
  11. 05 Jun, 2012 5 commits
  12. 04 Jun, 2012 3 commits
    • Johann's avatar
      Remove extra enum · 965d8686
      Johann authored
      VP8_REFFRAME is the same as vpx_ref_frame_type
      
      Change-Id: I63c2ddfb39f6ec87d1e5eb6a8852846464552b1b
      965d8686
    • Johann's avatar
      Remove redundant assignment · 2b10528a
      Johann authored
      clang complains about self-assignment
      
      Change-Id: Iead70eed0a960e84a4b167f67f05b05e2965b3b6
      2b10528a
    • Johann's avatar
      Explicitly discard fwrite/fread return values · c8a88a76
      Johann authored
      Using if(); triggers an empty body warning with clang
      
      Change-Id: I0fa2ee676400a974b40f8eaafca9ae668107eebb
      c8a88a76
  13. 01 Jun, 2012 1 commit
    • John Koleszar's avatar
      Fix MSVS builds for unit test changes · 7f63bfa6
      John Koleszar authored
      Update the Visual Studio builds to support the new monolithic unit
      test binary.
      
      Includes minor semi-cosmetic refactoring of solution.mk, as the
      %vpx.vcproj match is no longer appropriate given the test_libvpx
      target.
      
      Change-Id: I29e6e07c39e72b54a4b3eaca5b9b7877ef3fb134
      7f63bfa6
  14. 31 May, 2012 4 commits
  15. 30 May, 2012 7 commits
    • Jim Bankoski's avatar
      Merge "boolcoder_test " · 7fccab39
      Jim Bankoski authored
      7fccab39
    • Stefan Holmer's avatar
      Added another denoising threshold for finding DC shifts. · dd6134b4
      Stefan Holmer authored
      Compares the sum of differences between the input block and the averaged
      block. If they differ too much the block will not be filtered. Negligible
      perfomance hit.
      
      Change-Id: Ib1c31a265efd4d100b3abc4a1ea6675038c8ddde
      dd6134b4
    • Alpha Lam's avatar
      Make libvpx Chromium build friendly · fc2fc899
      Alpha Lam authored
      Add PRIVATE macro for adding private_extern directive for yasm
      to hide global symbols. This is only enabled if -DCHROMIUM is used
      with YASM.
      
      Also fixed a small problem with	rtcd_defs.sh to guard TEMPORAL_DENOISING.
      
      Change-Id: I9027fce3ebddcf20078293e4b86b396f21da7857
      fc2fc899
    • Jim Bankoski's avatar
      fix denoiser for temporal patterns and rd · f78e5a04
      Jim Bankoski authored
      This extends the denoiser to work for temporally scalable
      coding.
      
      I believe this also fixes a very rare but really bad bug in the original
      implementation.
      
      Change-Id: I8b3593a8c54b86eb76f785af1970935f7d56262a
      f78e5a04
    • Christian Duvivier's avatar
      Inline Intrinsic optimized Denoiser · 5715c39c
      Christian Duvivier authored
      Faster version of denoiser, cut cost by 1.7x for C path, by 3.3x for
      SSE2 path.
      
      Change-Id: I154786308550763bc0e3497e5fa5bfd1ce651beb
      5715c39c
    • Alpha Lam's avatar
      Fix windows build: obj_int_extract to extract numbrs from .rdata · d7f26e13
      Alpha Lam authored
      The change in assembly offset files to define values as const int broke
      Windows build, because the variables are stored in .rdata section instead
      of .data section.
      
      This CL changes the integer peeking from .data to .rdata.
      
      Change-Id: I87e465ddcc78d39ec29f3720ea7df0ab807d5512
      d7f26e13
    • Stefan Holmer's avatar
      Added another denoising threshold for finding DC shifts. · d8500344
      Stefan Holmer authored
      Compares the sum of differences between the input block and the averaged
      block. If they differ too much the block will not be filtered. Negligible
      perfomance hit.
      
      Change-Id: Ib1c31a265efd4d100b3abc4a1ea6675038c8ddde
      d8500344