From 9d04026855c75a4cb7df7811e071e2ea4704d264 Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Fri, 13 Oct 2017 10:07:33 -0700 Subject: [PATCH] Cleanup pred schemes for 2.2 - Removed unused prediction mode from constrained multi. - Removed unused prediction mode from geometric normal. - Changed num_orientations from I32 to varUI32 in tex coords. - Removed unused center_value from normal octahedron. --- docs/spec/prediction.decoder.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/docs/spec/prediction.decoder.md b/docs/spec/prediction.decoder.md index 5483c6f..2ea4e15 100644 --- a/docs/spec/prediction.decoder.md +++ b/docs/spec/prediction.decoder.md @@ -64,7 +64,6 @@ void ParseWrapTransformData() { ~~~~~ void ParseNormalOctahedronCanonicalizedTransformData() { pred_trasnform_normal_max_q_val[curr_att_dec][curr_att] I32 - temp I32 } ~~~~~ {:.draco-syntax} @@ -97,16 +96,6 @@ void ParsePredictionRansData() { {:.draco-syntax} -### ParseConstrainedMultiMode() - -~~~~~ -void ParseConstrainedMultiMode() { - temp UI8 -} -~~~~~ -{:.draco-syntax} - - ### ParseConstrainedMultiNumFlags() ~~~~~ @@ -121,7 +110,6 @@ void ParseConstrainedMultiNumFlags() { ~~~~~ void DecodePredictionData_ConstrainedMulti() { - ParseConstrainedMultiMode(); for (i = 0; i < kMaxNumParallelograms; ++i) { ParseConstrainedMultiNumFlags(); if (constrained_multi_num_flags > 0) { @@ -144,7 +132,7 @@ void DecodePredictionData_ConstrainedMulti() { ~~~~~ void ParseTexCoordsNumOrientations() { - tex_coords_num_orientations I32 + tex_coords_num_orientations varUI32 } ~~~~~ {:.draco-syntax} @@ -171,21 +159,10 @@ void DecodePredictionData_TexCoords() { {:.draco-syntax} -### ParseGeometricNormalPredictionMode() - -~~~~~ -void ParseGeometricNormalPredictionMode() { - temp UI8 -} -~~~~~ -{:.draco-syntax} - - ### DecodePredictionData_GeometricNormal() ~~~~~ void DecodePredictionData_GeometricNormal() { - ParseGeometricNormalPredictionMode(); ParsePredictionRansData(); RansInitDecoder(ans_decoder_, data.data() + pos, prediction_rans_data_size, L_RANS_BASE);