Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Issue 6523019: Enable LZMA compression in bmpbklk_utility. (Closed)

Created:
9 years, 10 months ago by Tom Wai-Hong Tam
Modified:
9 years, 5 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Enable LZMA compression in bmpbklk_utility. LZMA has better compression ratio and is also supported in u-boot already. ARM BIOS will use LZMA to compress BMP files. BUG=chromium-os:11017 TEST=manual $ make $ make runbmptests Change-Id: I6b791e3284b65eb3085b0de548bd241eab2ee598 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=ee2bc91

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix reviewers suggested #

Patch Set 3 : rename LZMA to LZMA1 #

Patch Set 4 : Remove unnecessary code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -9 lines) Patch
M firmware/include/bmpblk_header.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/bitmaps/TestBmpBlock.py View 1 chunk +12 lines, -4 lines 0 comments Download
M utility/Makefile View 2 chunks +2 lines, -2 lines 0 comments Download
M utility/bmpblk_util.c View 1 2 3 4 chunks +56 lines, -1 line 0 comments Download
M utility/bmpblk_utility.cc View 1 2 3 3 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Tom Wai-Hong Tam
9 years, 10 months ago (2011-02-15 07:14:32 UTC) #1
Hung-Te
Did you tested that u-boot kernel really boots and displayed such LZMA'ed pictures correctly? Please ...
9 years, 10 months ago (2011-02-15 07:55:10 UTC) #2
Bill Richardson
LGTM, after responding to Hung-Te's comments.
9 years, 10 months ago (2011-02-15 23:07:58 UTC) #3
Bill Richardson
But watch out for http://code.google.com/p/chromium-os/issues/detail?id=12158
9 years, 10 months ago (2011-02-15 23:23:22 UTC) #4
Tom Wai-Hong Tam
I spent some time to try if u-boot can decode the lzma format. It is ...
9 years, 10 months ago (2011-02-16 10:58:03 UTC) #5
Hung-Te
On 2011/02/16 10:58:03, Tom Wai-Hong Tam wrote: > u-boot only supports a legacy file header, ...
9 years, 10 months ago (2011-02-16 11:46:16 UTC) #6
Bill Richardson
UEFI supports only one compression scheme, known as the "UEFI Compression Algorithm". It is not ...
9 years, 10 months ago (2011-02-16 16:55:29 UTC) #7
Tom Wai-Hong Tam
It was my mistake. I didn't assign enough memory in u-boot and resulted failed. I ...
9 years, 10 months ago (2011-02-17 04:49:34 UTC) #8
Hung-Te
On 2011/02/17 04:49:34, Tom Wai-Hong Tam wrote: > It is the case of compressing. Oops, ...
9 years, 10 months ago (2011-02-17 04:54:14 UTC) #9
Hung-Te
9 years, 10 months ago (2011-02-17 05:00:03 UTC) #10
On 2011/02/16 16:55:29, Bill Richardson wrote:
> UEFI supports only one compression scheme, 
> known as the "UEFI Compression Algorithm". 
> It is not LZMA, but is "a combination of the LZ77 algorithm and
> Huffman Coding."

   That's true for the original EDK. However for H2C, I rememeber
   they defined special GUIDs and named as "LZMA", and also in
   the Makefiles they called a filter program with "LZMA" in its name.
   The source also has "LZMADecode" in CustomizedDecompress.

Powered by Google App Engine
This is Rietveld 408576698