aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/jpeg-6b
Commit message (Collapse)AuthorAgeFilesLines
* Add SSE optmized IDCT in JPEG decoding emulatorAndrew Hsieh2012-08-284-1/+353
| | | | | | | Port from related CL: https://android-review.googlesource.com/#/c/38840 Change-Id: Iba7183c2760701a95e27355b91835285d63bf7bc
* Merge "Xcode 4.3 compatibility checkin"Jean-Baptiste Queru2012-05-041-0/+4
|\
| * Xcode 4.3 compatibility checkinAl Sutton2012-02-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The command line tools from Xcode 4.3 create an incorrect implicit definition for a couple of functions which causes compilation to fail due to the actual definition not matching the implicit one the compiler creates. This patch adds explicit definitions alongside the other forward function definitions for the functions which cause compilation to fail. [updated: initial commit had the file in the wrong location] Signed-off-by: Al Sutton <al@funkyandroid.com>
* | Enable multi-touch emulation with -gpu onVladimir Chtchetkine2012-04-112-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL implements a callback that gets invoked by OpenGLES emulator on it framebuffer updates. This allows transferring framebuffer changes to the supporting device. Proper implementation of this new callback also required changes to JPEG compression, addressing: 1. OpenGLES framebuffer format is RGBA8889, which required implementing line conversion for this format. 2. OpenGLES framebuffer is (or at least could be) bottom-up arranged. This requires changes to the compressor, so it compresses the FB starting from the bottom, so the resulting image is up-bottom. Change-Id: Icd4efbe4a251c838adfa3518decbfc43a7ef06c8
* | 64-bit emulatorAndrew Hsieh2012-03-131-1/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch to allow emulator searches for emulator64-${ARCH} first on 64-bit OS. If none is found, the original behavior which searchs for 32-bit emulator-${ARCH} is performed as usual. 64-bit emulator (which still emulates Android built in 32-bit) offers up to 20% speedup compared to its 32-bit counterpart. Details: android/main-emulator.c 1) search emulator64 based on the OS 2) dlopen lib64OpenglRender in 64-bit Makefile.* 1) Rules to build 64-bit executable emulator64-{x86,arm} and libraries emulator64-{libui,libqemu,target-i386,target-arm,libelff,common} 2) remove -Wa,-32 3) Changes prebuit toolchain path android-configure.h android/build/common.h 1) no longer force 32-bit build (because now prebuilts/tools/gcc-sdk/gcc can now handle 64-bit 2) set ANDROID_PREBUILTS to correctly locate ccache android/config/*/config-host.h 1) Detect HOST_X86_64 and HOST_X86_64/HOST_I386 Misc 64-bit porting clean-up 1) use %zx to print variable of type size_t in hex 2) use %zu to print variable of type size_t in dec 3) Initialize query_parm to NULL 4) use PRIu64 to replace PDUd64 5) use PRId64/PRIu64/PRIX64 to print 64-bit 6) drop PRUx64 because PRIx64 does the same 7) cast pointer arith to intptr_t before casting to int 8) fixed 1ULL<<63 Change-Id: Ife62a20063a6ec38d4a9b23977e840af1fce149a
* Enable RGB565 input color formatVladimir Chtchetkine2012-02-132-3/+69
| | | | | | | | | This change enables compression of RGB565 input to YCbCr (default) output format. Main intention for this change is to enable the emulator to directly compress RGB565 framebuffer without converting it into RGB888 prior to passing it to the compression routine. Change-Id: I86240a2481fd1904eb9b9140b18b372200a71093
* Include JPEG compression / decompression library into emulator buildVladimir Chtchetkine2012-02-01155-0/+60053
We are going to need JPEG compression for transferring emulator's framebuffers to the multi-touch supporting application running on an android device. The source for JPEG compressor has been copied over from external/jpeg To that I've added distrib/jpeg-6b/sources.make containing build instruction for JPEG compressor. That file gets included into Makefile.common to compile JPEG compressor sources along with the emulator sources. Change-Id: I7bfccb7a10f873f90edabab5d3b1b2ca4dd57449