Differential D6342 Diff 20011 extern/draco/dracoenc/src/draco/compression/attributes/sequential_attribute_decoders_controller.cc
Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/dracoenc/src/draco/compression/attributes/sequential_attribute_decoders_controller.cc
| Context not available. | |||||
| // limitations under the License. | // limitations under the License. | ||||
| // | // | ||||
| #include "draco/compression/attributes/sequential_attribute_decoders_controller.h" | #include "draco/compression/attributes/sequential_attribute_decoders_controller.h" | ||||
| #ifdef DRACO_NORMAL_ENCODING_SUPPORTED | |||||
| #include "draco/compression/attributes/sequential_normal_attribute_decoder.h" | #include "draco/compression/attributes/sequential_normal_attribute_decoder.h" | ||||
| #endif | |||||
| #include "draco/compression/attributes/sequential_quantization_attribute_decoder.h" | #include "draco/compression/attributes/sequential_quantization_attribute_decoder.h" | ||||
| #include "draco/compression/config/compression_shared.h" | #include "draco/compression/config/compression_shared.h" | ||||
| Context not available. | |||||
| case SEQUENTIAL_ATTRIBUTE_ENCODER_QUANTIZATION: | case SEQUENTIAL_ATTRIBUTE_ENCODER_QUANTIZATION: | ||||
| return std::unique_ptr<SequentialAttributeDecoder>( | return std::unique_ptr<SequentialAttributeDecoder>( | ||||
| new SequentialQuantizationAttributeDecoder()); | new SequentialQuantizationAttributeDecoder()); | ||||
| #ifdef DRACO_NORMAL_ENCODING_SUPPORTED | |||||
| case SEQUENTIAL_ATTRIBUTE_ENCODER_NORMALS: | case SEQUENTIAL_ATTRIBUTE_ENCODER_NORMALS: | ||||
| return std::unique_ptr<SequentialNormalAttributeDecoder>( | return std::unique_ptr<SequentialNormalAttributeDecoder>( | ||||
| new SequentialNormalAttributeDecoder()); | new SequentialNormalAttributeDecoder()); | ||||
| #endif | |||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| Context not available. | |||||