chromium/third_party/skia/modules/skottie/src/animator/KeyframeAnimator.cpp

/*
 * Copyright 2020 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "modules/skottie/src/animator/KeyframeAnimator.h"

#include "include/private/base/SkTo.h"
#include "modules/skottie/src/SkottieJson.h"
#include "src/utils/SkJSON.h"

#include <cstddef>

#define DUMP_KF_RECORDS

namespace skottie::internal {

KeyframeAnimator::~KeyframeAnimator() = default;

KeyframeAnimator::LERPInfo KeyframeAnimator::getLERPInfo(float t) const {}

KeyframeAnimator::KFSegment KeyframeAnimator::find_segment(float t) const {}

float KeyframeAnimator::compute_weight(const KFSegment &seg, float t) const {}

AnimatorBuilder::~AnimatorBuilder() = default;

bool AnimatorBuilder::parseKeyframes(const AnimationBuilder& abuilder,
                                     const skjson::ArrayValue& jkfs) {}

uint32_t AnimatorBuilder::parseMapping(const skjson::ObjectValue& jkf) {}

} // namespace skottie::internal