Differential D6342 Diff 20011 extern/draco/dracoenc/src/draco/compression/point_cloud/algorithms/float_points_tree_decoder.h
Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/dracoenc/src/draco/compression/point_cloud/algorithms/float_points_tree_decoder.h
| Context not available. | |||||
| // Decodes a point cloud from |buffer|. | // Decodes a point cloud from |buffer|. | ||||
| template <class OutputIteratorT> | template <class OutputIteratorT> | ||||
| bool DecodePointCloud(DecoderBuffer *buffer, OutputIteratorT &out); | bool DecodePointCloud(DecoderBuffer *buffer, OutputIteratorT &out); | ||||
| #ifndef DRACO_OLD_GCC | |||||
| template <class OutputIteratorT> | template <class OutputIteratorT> | ||||
| bool DecodePointCloud(DecoderBuffer *buffer, OutputIteratorT &&out); | bool DecodePointCloud(DecoderBuffer *buffer, OutputIteratorT &&out); | ||||
| #endif // DRACO_OLD_GCC | |||||
| // Initializes a DecoderBuffer from |data|, and calls function above. | // Initializes a DecoderBuffer from |data|, and calls function above. | ||||
| template <class OutputIteratorT> | template <class OutputIteratorT> | ||||
| bool DecodePointCloud(const char *data, size_t data_size, | bool DecodePointCloud(const char *data, size_t data_size, | ||||
| Context not available. | |||||
| uint32_t compression_level_; | uint32_t compression_level_; | ||||
| }; | }; | ||||
| #ifndef DRACO_OLD_GCC | |||||
| // TODO(vytyaz): Reenable once USD migrates from GCC 4.8 to a higher version | |||||
| // that can disambiguate calls to overloaded methods taking rvalue reference. | |||||
| template <class OutputIteratorT> | template <class OutputIteratorT> | ||||
| bool FloatPointsTreeDecoder::DecodePointCloud(DecoderBuffer *buffer, | bool FloatPointsTreeDecoder::DecodePointCloud(DecoderBuffer *buffer, | ||||
| OutputIteratorT &&out) { | OutputIteratorT &&out) { | ||||
| OutputIteratorT local = std::forward<OutputIteratorT>(out); | OutputIteratorT local = std::forward<OutputIteratorT>(out); | ||||
| return DecodePointCloud(buffer, local); | return DecodePointCloud(buffer, local); | ||||
| } | } | ||||
| #endif // DRACO_OLD_GCC | |||||
| template <class OutputIteratorT> | template <class OutputIteratorT> | ||||
| bool FloatPointsTreeDecoder::DecodePointCloud(DecoderBuffer *buffer, | bool FloatPointsTreeDecoder::DecodePointCloud(DecoderBuffer *buffer, | ||||
| Context not available. | |||||