Skip to content
Commits on Mar 25, 2016
  1. Merge "Use arch-specific variables"

    Ying Wang committed with Gerrit Code Review Mar 25, 2016
  2. Use arch-specific variables

    Ying Wang committed Mar 25, 2016
    This fixes x86+arm multilib build.
    
    Bug: 27526885
    Change-Id: I06d11b33ed2fef027ff73dda9309b29d28dda6b6
Commits on Jan 26, 2016
  1. @danw

    Merge "Remove headers from LOCAL_SRC_FILES"

    danw committed with Gerrit Code Review Jan 26, 2016
Commits on Jan 25, 2016
  1. @danw

    Remove headers from LOCAL_SRC_FILES

    danw committed Jan 25, 2016
    The build system does not use headers in LOCAL_SRC_FILES. To prevent
    typos, it's becoming a warning to add something to LOCAL_SRC_FILES that
    is not used.
    
    Change-Id: Ib005369c88fc8fb93b512fd6492c2d19ee14d6ae
Commits on Jan 22, 2016
  1. @enh

    Merge "libjpeg: -Wno-unused-parameter."

    enh committed with Gerrit Code Review Jan 22, 2016
Commits on Jan 21, 2016
  1. @enh

    libjpeg: -Wno-unused-parameter.

    enh committed Jan 21, 2016
    Change-Id: Id9b260f6d189edca04093f04fbef8cf91a75efab
Commits on Dec 22, 2015
  1. @colincross

    Merge "libjpeg: export include dirs"

    colincross committed with Gerrit Code Review Dec 22, 2015
  2. @colincross

    libjpeg: export include dirs

    colincross committed Dec 22, 2015
    Export $(LOCAL_PATH) as an include dir to modules that depend on libjpeg
    so they can include jpeglib.h.
    
    Change-Id: I1c708ad587c073b97f382226bc34a22f24257d64
Commits on Nov 5, 2015
  1. Merge "Revert "Revert "JPEG decoding arm64 optimization"""

    John Reck committed with Gerrit Code Review Nov 5, 2015
Commits on Nov 4, 2015
  1. @ek9852

    Revert "Revert "JPEG decoding arm64 optimization""

    ek9852 committed Nov 4, 2015
    And fix clang build break on
    .arch armv8-a+fp+simd
    
    This reverts commit 0e087c4.
    
    Change-Id: I1447da5403c55a0079e46f052b18005b9bc5a438
Commits on Nov 3, 2015
  1. @enh

    Merge "Revert "JPEG decoding arm64 optimization""

    enh committed with Gerrit Code Review Nov 3, 2015
  2. @enh

    Revert "JPEG decoding arm64 optimization"

    enh committed Nov 3, 2015
    This reverts commit 1ace004.
    
    This change broke the AOSP N9 build:
    
      external/jpeg/jsimd_arm64_neon.S:33:1: error: unknown directive
      .arch armv8-a+fp+simd
      ^
    
    Change-Id: I8a75667268a52efd3a91cd1e9b74add565fae2be
  3. Merge "JPEG decoding arm64 optimization"

    John Reck committed with Gerrit Code Review Nov 3, 2015
Commits on Nov 2, 2015
  1. @ek9852

    JPEG decoding arm64 optimization

    ek9852 committed Oct 15, 2015
    Previously only arm 32 bits jpeg library are assembly optimzated.
    Porting from libjpeg-turbo commit-id:d7e6dd639d91ee8770d070c11087926c5d5daa0f
    for idct and color conversion assembly optimzation for arm64.
    Roughly 20% improvment in idct and 20% improvement for yuv->rgb conversion
    
    Change-Id: I65ac04915685f57e4b0b757ad8bc71c4948dc65d
Commits on Aug 27, 2015
  1. @chih-hung

    am 01ce4e0: (-s ours) resolved conflicts for merge of 0fa7bb8 to mnc-…

    chih-hung committed with Android Git Automerger Aug 27, 2015
    …dev-plus-aosp
    
    * commit '01ce4e0dfd73d2ec550e2efdb4fb228ca836083d':
Commits on Aug 19, 2015
  1. @chih-hung

    resolved conflicts for merge of 0fa7bb8 to mnc-dev-plus-aosp

    chih-hung committed Aug 19, 2015
    Change-Id: I5aee0816a8ab0d531df88bffd70c6c91e07ebdfb
  2. @chih-hung

    resolved conflicts for merge of 0fa7bb8 to mnc-dr-dev-plus-aosp

    chih-hung committed Aug 19, 2015
    Change-Id: I89a7d96e8c3267799c7616da89448061f1839b00
  3. @chih-hung

    Merge "Use unified syntax to compile with both llvm and gas."

    chih-hung committed with Gerrit Code Review Aug 19, 2015
Commits on Aug 18, 2015
  1. @chih-hung

    Use unified syntax to compile with both llvm and gas.

    chih-hung committed Aug 18, 2015
    * Remove useless stab debug info directive .func/.endfunc,
      which are not recognized by clang/llvm integrated assembler.
    * Replace orreqs with orrseq.
    * Use full syntax of ldrd.
    * New assembler output code is identical to old gas output.
    
    Change-Id: I5144e75a8459ce9630477513d4b4570f624257a0
Commits on Jun 10, 2015
  1. @hasinoff

    Fix build break for unbundled apps

    hasinoff committed Jun 10, 2015
    Change-Id: I72f09e303c77873dbc77417b06b71339392dd015
  2. @mattsarett

    libjpeg should always use jmemnobs

    mattsarett committed Apr 23, 2015
    When using jmem-android with libjpeg, the client has the option
    to provide a value for maximum memory usage (or use a default
    value) during the decode.  When this value for maximum memory usage
    would be exceeded, jmem-android backs data arrays with temp files
    to stay below the memory limit.  The CL that defines this memory
    limit is at:
    https://skia.googlesource.com/skia/+/2295c6332512833760060d803cf6ad19a28adc51
    However, it is unclear why the current limit was chosen.
    
    Unfortunately, these temp files are not guaranteed to have unique
    names, leading to bugs where multiple arrays are backed up to the
    same file.  The original purpose of this CL was to fix this bug.
    
    However, attempting to fix this bug has led to a variety of
    additional questions.
    
    The creation of temp files is tricky in this type of library.
    Concerns about the creation of temp files include security,
    performance of writing to disk, and difficulty of finding the
    right directory to use from a library that could be used by an
    arbitrary process.
    
    Additionally, there have already been complaints about jmem-android
    from the users of the Java API.  b/2791339 explains that writing
    to disk is extremely slow, and it causes users of the decoder to
    need WRITE_EXTERNAL_STORAGE permission in order to decode.
    
    This led to the creation of jmem-ashmem.c as the memory
    implementation for libjpeg to be used by apps.  This acts in the
    same way as jmem-android up until the arbitrary maximum memory
    usage value is reached.  At this point, jmem-ashmem uses ashmem
    to back up the data arrays instead of temp files.
    
    We first considered using jmem-ashmem all the time, since it was
    introduced as a faster alternative to jmem-android that does not
    require extra permissions and does not have known bugs.
    
    However, thinking further about jmem-ashmem, we feel that it is
    not a good alternative.  It is quite odd to solve the problem
    of being "out of memory" (having reached the memory limit) by
    choosing to allocate more memory.
    
    It seems more intuitive to simply allocate memory on the heap
    until we run out or the process is killed.
    
    Using jmemnobs.c follows exactly this approach.  It has no memory
    limit and will allocate memory until it runs out or is killed.
    
    Another alternative would be to modify jmem-android to simply
    error exit once we reach a maximum memory limit.  This would
    make behavior more predicatble, but may prevent us from decoding
    images that could possibly be decoded.  This would also bring up
    the question of how we choose this maximum memory limit.
    
    BUG:20541233
    
    Change-Id: Iae944ac8588769c3e24f25f64de847e58cc2ad2e
Commits on Feb 20, 2015
  1. @LeonScroggins

    am c261b80: am d22d8e0: am 1933272: am 31b3a82: am 0e1c7ef: Fix bugs …

    LeonScroggins committed with Android Git Automerger Feb 20, 2015
    …in jmem-ashmem.
    
    * commit 'c261b80971b2d214f2801e434f15e181cda01c5b':
      Fix bugs in jmem-ashmem.
  2. @LeonScroggins

    am d22d8e0: am 1933272: am 31b3a82: am 0e1c7ef: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Feb 20, 2015
    * commit 'd22d8e03f6bec40d22d1baad36884bd6dd11dc5e':
      Fix bugs in jmem-ashmem.
  3. @LeonScroggins

    am 1933272: am 31b3a82: am 0e1c7ef: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Feb 20, 2015
    * commit '193327270691afde273fe6befd88aa6942862373':
      Fix bugs in jmem-ashmem.
  4. @LeonScroggins

    am 31b3a82: am 0e1c7ef: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Feb 20, 2015
    * commit '31b3a825a1934d9635e4b674dda9025465d35b69':
      Fix bugs in jmem-ashmem.
  5. @LeonScroggins

    am 0e1c7ef: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Feb 20, 2015
    * commit '0e1c7ef17722081497e0ae6757d02e649454646a':
      Fix bugs in jmem-ashmem.
Commits on Feb 19, 2015
  1. @LeonScroggins

    Fix bugs in jmem-ashmem.

    LeonScroggins committed Jan 15, 2015
    If ashmem_set_prot_region fails, close the previously opened file.
    
    If mmap fails, close the file and return -1.
    
    BUG:18894965
    Change-Id: I936b5c7395480249b1457e7dee566da6141fb023
    (cherry picked from commit 3773c6e)
    (cherry picked from commit a9ccf6f)
Commits on Jan 22, 2015
  1. @LeonScroggins

    am 1dae686: am a9ccf6f: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Jan 22, 2015
    * commit '1dae686531927208eca3dc4f99e117ff28aeba97':
      Fix bugs in jmem-ashmem.
  2. @LeonScroggins

    am a9ccf6f: Fix bugs in jmem-ashmem.

    LeonScroggins committed with Android Git Automerger Jan 22, 2015
    * commit 'a9ccf6f358d544eedc9432ca81da3d3c76b0e65a':
      Fix bugs in jmem-ashmem.
Commits on Jan 16, 2015
  1. @LeonScroggins

    Fix bugs in jmem-ashmem.

    LeonScroggins committed Jan 15, 2015
    If ashmem_set_prot_region fails, close the previously opened file.
    
    If mmap fails, close the file and return -1.
    
    BUG:18894965
    Change-Id: I936b5c7395480249b1457e7dee566da6141fb023
    (cherry picked from commit 3773c6e)
Commits on Jan 15, 2015
  1. @LeonScroggins

    Fix bugs in jmem-ashmem.

    LeonScroggins committed Jan 15, 2015
    If ashmem_set_prot_region fails, close the previously opened file.
    
    If mmap fails, close the file and return -1.
    
    BUG:18894965
    Change-Id: I936b5c7395480249b1457e7dee566da6141fb023
Commits on Dec 4, 2014
  1. @enh

    am 50906c2: Merge "libjpeg should #define __ARM_HAVE_NEON."

    enh committed with Android Git Automerger Dec 4, 2014
    * commit '50906c2278f3dbd5bedf968deefe0697f5ef7aae':
      libjpeg should #define __ARM_HAVE_NEON.
  2. @enh

    Merge "libjpeg should #define __ARM_HAVE_NEON."

    enh committed with Gerrit Code Review Dec 4, 2014
  3. @enh

    libjpeg should #define __ARM_HAVE_NEON.

    enh committed Dec 3, 2014
    Bug: 18556103
    Change-Id: Ifcedc68c4625b07a1bb494085842003f35bacdd4
Commits on Oct 26, 2014
  1. @chih-hung

    am 57cc16e: am a66efb5: Merge "Add -no-integrated-as at local level."

    chih-hung committed with Android Git Automerger Oct 26, 2014
    * commit '57cc16e38e6461da4317c285eec61c3265e516bf':
Something went wrong with that request. Please try again.