Differential D9642 Diff 31697 extern/draco/draco/src/draco/compression/attributes/sequential_attribute_decoders_controller.h
Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/draco/src/draco/compression/attributes/sequential_attribute_decoders_controller.h
- This file was moved from extern/draco/dracoenc/src/draco/compression/attributes/sequential_attribute_decoders_controller.h.
| Show All 31 Lines | public: | ||||
| explicit SequentialAttributeDecodersController( | explicit SequentialAttributeDecodersController( | ||||
| std::unique_ptr<PointsSequencer> sequencer); | std::unique_ptr<PointsSequencer> sequencer); | ||||
| bool DecodeAttributesDecoderData(DecoderBuffer *buffer) override; | bool DecodeAttributesDecoderData(DecoderBuffer *buffer) override; | ||||
| bool DecodeAttributes(DecoderBuffer *buffer) override; | bool DecodeAttributes(DecoderBuffer *buffer) override; | ||||
| const PointAttribute *GetPortableAttribute( | const PointAttribute *GetPortableAttribute( | ||||
| int32_t point_attribute_id) override { | int32_t point_attribute_id) override { | ||||
| const int32_t loc_id = GetLocalIdForPointAttribute(point_attribute_id); | const int32_t loc_id = GetLocalIdForPointAttribute(point_attribute_id); | ||||
| if (loc_id < 0) | if (loc_id < 0) { | ||||
| return nullptr; | return nullptr; | ||||
| } | |||||
| return sequential_decoders_[loc_id]->GetPortableAttribute(); | return sequential_decoders_[loc_id]->GetPortableAttribute(); | ||||
| } | } | ||||
| protected: | protected: | ||||
| bool DecodePortableAttributes(DecoderBuffer *in_buffer) override; | bool DecodePortableAttributes(DecoderBuffer *in_buffer) override; | ||||
| bool DecodeDataNeededByPortableTransforms(DecoderBuffer *in_buffer) override; | bool DecodeDataNeededByPortableTransforms(DecoderBuffer *in_buffer) override; | ||||
| bool TransformAttributesToOriginalFormat() override; | bool TransformAttributesToOriginalFormat() override; | ||||
| virtual std::unique_ptr<SequentialAttributeDecoder> CreateSequentialDecoder( | virtual std::unique_ptr<SequentialAttributeDecoder> CreateSequentialDecoder( | ||||
| Show All 11 Lines | |||||