-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds bugfixes for a number of issues detected in bit_packing.cpp
- Loading branch information
Showing
16 changed files
with
600 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
########################################## | ||
# RGBA8888 # | ||
########################################## | ||
# Byte order of RGBA8888 is: | ||
# Low byte: A | ||
# Next increasing byte address: R | ||
# Next increasing byte address: G | ||
# Next increasing byte address: B | ||
########################################## | ||
|
||
{ | ||
"fourcc" : "", | ||
|
||
"licence" : { | ||
"type" : "no_licence" | ||
}, | ||
|
||
"origin" : "upper_left", | ||
|
||
"subsampling_mode" : { | ||
"macro_px_w" : 1, | ||
"macro_px_h" : 1 | ||
}, | ||
|
||
"planes" : [ | ||
{ | ||
"base_offset" : "0", | ||
"line_stride" : "image_w*32/8", | ||
"plane_size" : "line_stride*image_h", | ||
"block_stride" : 32, | ||
"interleave_pattern" : "NO_INTERLEAVING" | ||
} | ||
], | ||
|
||
"y_block" : { | ||
"block_w" : 1, | ||
"block_h" : 1, | ||
"samples" : [ | ||
{ | ||
"plane" : 0, | ||
"int_bits" : 8, | ||
"frac_bits" : 0, | ||
"offset" : 8 | ||
} | ||
] | ||
}, | ||
|
||
"u_block" : { | ||
"block_w" : 1, | ||
"block_h" : 1, | ||
"samples" : [ | ||
{ | ||
"plane" : 0, | ||
"int_bits" : 8, | ||
"frac_bits" : 0, | ||
"offset" : 16 | ||
} | ||
] | ||
}, | ||
|
||
"v_block" : { | ||
"block_w" : 1, | ||
"block_h" : 1, | ||
"samples" : [ | ||
{ | ||
"plane" : 0, | ||
"int_bits" : 8, | ||
"frac_bits" : 0, | ||
"offset" : 24 | ||
} | ||
] | ||
}, | ||
|
||
"a_block" : { | ||
"block_w" : 1, | ||
"block_h" : 1, | ||
"samples" : [ | ||
{ | ||
"plane" : 0, | ||
"int_bits" : 8, | ||
"frac_bits" : 0, | ||
"offset" : 0 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.