Commit 59ed255d authored by David Flynn's avatar David Flynn
Browse files

attr: remove unused raht_binary_level_threshold

parent 5abf6659
...@@ -30,7 +30,6 @@ categories: ...@@ -30,7 +30,6 @@ categories:
# attribute coding -- reflectance # attribute coding -- reflectance
- -
- !conditional '${has_refl}' - !conditional '${has_refl}'
- rahtLeafDecimationDepth: 0
- qp: - qp:
r01: 52 r01: 52
r02: 46 r02: 46
...@@ -45,7 +44,6 @@ categories: ...@@ -45,7 +44,6 @@ categories:
# attribute coding -- colour # attribute coding -- colour
- -
- !conditional '${has_colour}' - !conditional '${has_colour}'
- rahtLeafDecimationDepth: 0
- qp: - qp:
r01: 52 r01: 52
r02: 46 r02: 46
......
...@@ -35,7 +35,6 @@ categories: ...@@ -35,7 +35,6 @@ categories:
# attribute coding -- reflectance # attribute coding -- reflectance
- -
- !conditional '${has_refl}' - !conditional '${has_refl}'
- rahtLeafDecimationDepth: 0
- qp: - qp:
r01: 52 r01: 52
r02: 46 r02: 46
...@@ -50,7 +49,6 @@ categories: ...@@ -50,7 +49,6 @@ categories:
# attribute coding -- colour # attribute coding -- colour
- -
- !conditional '${has_colour}' - !conditional '${has_colour}'
- rahtLeafDecimationDepth: 0
- qp: - qp:
r01: 52 r01: 52
r02: 46 r02: 46
......
...@@ -32,7 +32,6 @@ categories: ...@@ -32,7 +32,6 @@ categories:
# attribute coding -- colour # attribute coding -- colour
- -
- !conditional '${has_colour}' - !conditional '${has_colour}'
- rahtLeafDecimationDepth: 0
- qp: - qp:
r01: 52 r01: 52
r02: 46 r02: 46
......
...@@ -229,11 +229,6 @@ Coding method to use for the current attribute: ...@@ -229,11 +229,6 @@ Coding method to use for the current attribute:
| 1 | Region Adaptive Hierarchical Transform (RAHT) | | 1 | Region Adaptive Hierarchical Transform (RAHT) |
| 2 | Hierarchical neighbourhood prediction as lifting transform | | 2 | Hierarchical neighbourhood prediction as lifting transform |
### `--rahtLeafDecimationDepth=INT-VALUE`
Sets coefficients to zero in the bottom n levels of the RAHT tree.
This option provides a means to perform chroma-subsampling. Applies
when `attribute=colour` only.
### `--rahtDepth=INT-VALUE` ### `--rahtDepth=INT-VALUE`
Number of bits for Morton representation of RAHT co-ordinate Number of bits for Morton representation of RAHT co-ordinate
components. components.
......
...@@ -400,11 +400,6 @@ ParseParameters(int argc, char* argv[], Parameters& params) ...@@ -400,11 +400,6 @@ ParseParameters(int argc, char* argv[], Parameters& params)
" 1: Region Adaptive Hierarchical Transform (RAHT)\n" " 1: Region Adaptive Hierarchical Transform (RAHT)\n"
" 2: Hierarichical neighbourhood prediction as lifting transform") " 2: Hierarichical neighbourhood prediction as lifting transform")
("rahtLeafDecimationDepth",
params_attr.aps.raht_binary_level_threshold, 3,
"Sets coefficients to zero in the bottom n levels of RAHT tree. "
"Used for chroma-subsampling in attribute=color only.")
("rahtDepth", ("rahtDepth",
params_attr.aps.raht_depth, 21, params_attr.aps.raht_depth, 21,
"Number of bits for morton representation of an RAHT co-ordinate" "Number of bits for morton representation of an RAHT co-ordinate"
......
...@@ -266,7 +266,6 @@ struct AttributeParameterSet { ...@@ -266,7 +266,6 @@ struct AttributeParameterSet {
//--- raht parameters //--- raht parameters
int raht_depth; int raht_depth;
int raht_binary_level_threshold;
}; };
//============================================================================ //============================================================================
......
...@@ -288,7 +288,6 @@ write(const AttributeParameterSet& aps) ...@@ -288,7 +288,6 @@ write(const AttributeParameterSet& aps)
if (aps.attr_encoding == AttributeEncoding::kRAHTransform) { if (aps.attr_encoding == AttributeEncoding::kRAHTransform) {
bs.writeUe(aps.raht_depth); bs.writeUe(aps.raht_depth);
bs.writeUe(aps.raht_binary_level_threshold);
} }
bool aps_extension_flag = false; bool aps_extension_flag = false;
...@@ -339,7 +338,6 @@ parseAps(const PayloadBuffer& buf) ...@@ -339,7 +338,6 @@ parseAps(const PayloadBuffer& buf)
if (aps.attr_encoding == AttributeEncoding::kRAHTransform) { if (aps.attr_encoding == AttributeEncoding::kRAHTransform) {
bs.readUe(&aps.raht_depth); bs.readUe(&aps.raht_depth);
bs.readUe(&aps.raht_binary_level_threshold);
} }
bool aps_extension_flag = bs.read(); bool aps_extension_flag = bs.read();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment