chromium/third_party/libaom/source/libaom/av1/encoder/pustats.h

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#ifndef AOM_AV1_ENCODER_PUSTATS_H_
#define AOM_AV1_ENCODER_PUSTATS_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "av1/encoder/ml.h"

#define NUM_FEATURES_PUSTATS
#define NUM_HIDDEN_LAYERS
#define HIDDEN_LAYERS_0_NODES
#define HIDDEN_LAYERS_1_NODES
#define LOGITS_NODES

static const float
    av1_pustats_rate_hiddenlayer_0_kernel[NUM_FEATURES_PUSTATS *
                                          HIDDEN_LAYERS_0_NODES] =;

static const float
    av1_pustats_rate_hiddenlayer_0_bias[HIDDEN_LAYERS_0_NODES] =;

static const float
    av1_pustats_rate_hiddenlayer_1_kernel[HIDDEN_LAYERS_0_NODES *
                                          HIDDEN_LAYERS_1_NODES] =;

static const float
    av1_pustats_rate_hiddenlayer_1_bias[HIDDEN_LAYERS_1_NODES] =;

static const float
    av1_pustats_rate_logits_kernel[HIDDEN_LAYERS_1_NODES * LOGITS_NODES] =;

static const float av1_pustats_rate_logits_bias[LOGITS_NODES] =;

static const NN_CONFIG av1_pustats_rate_nnconfig =;

static const float
    av1_pustats_dist_hiddenlayer_0_kernel[NUM_FEATURES_PUSTATS *
                                          HIDDEN_LAYERS_0_NODES] =;

static const float
    av1_pustats_dist_hiddenlayer_0_bias[HIDDEN_LAYERS_0_NODES] =;

static const float
    av1_pustats_dist_hiddenlayer_1_kernel[HIDDEN_LAYERS_0_NODES *
                                          HIDDEN_LAYERS_1_NODES] =;

static const float
    av1_pustats_dist_hiddenlayer_1_bias[HIDDEN_LAYERS_1_NODES] =;

static const float
    av1_pustats_dist_logits_kernel[HIDDEN_LAYERS_1_NODES * LOGITS_NODES] =;

static const float av1_pustats_dist_logits_bias[LOGITS_NODES] =;

static const NN_CONFIG av1_pustats_dist_nnconfig =;

#undef NUM_HIDDEN_LAYERS
#undef HIDDEN_LAYERS_0_NODES
#undef HIDDEN_LAYERS_1_NODES
#undef LOGITS_NODES

#ifdef __cplusplus
}  // extern "C"
#endif

#endif  // AOM_AV1_ENCODER_PUSTATS_H_