Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/draco/src/draco/animation/keyframe_animation_decoder.cc
- This file was moved from extern/draco/dracoenc/src/draco/animation/keyframe_animation_decoder.cc.
| Show All 15 Lines | |||||
| namespace draco { | namespace draco { | ||||
| Status KeyframeAnimationDecoder::Decode(const DecoderOptions &options, | Status KeyframeAnimationDecoder::Decode(const DecoderOptions &options, | ||||
| DecoderBuffer *in_buffer, | DecoderBuffer *in_buffer, | ||||
| KeyframeAnimation *animation) { | KeyframeAnimation *animation) { | ||||
| const auto status = PointCloudSequentialDecoder::Decode( | const auto status = PointCloudSequentialDecoder::Decode( | ||||
| options, in_buffer, static_cast<PointCloud *>(animation)); | options, in_buffer, static_cast<PointCloud *>(animation)); | ||||
| if (!status.ok()) | if (!status.ok()) { | ||||
| return status; | return status; | ||||
| } | |||||
| return OkStatus(); | return OkStatus(); | ||||
| } | } | ||||
| } // namespace draco | } // namespace draco | ||||