tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

saliency_map.h (1031B)


      1 /*
      2 * Copyright (c) 2023, Alliance for Open Media. All rights reserved.
      3 *
      4 * This source code is subject to the terms of the BSD 2 Clause License and
      5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
      6 * was not distributed with this source code in the LICENSE file, you can
      7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
      8 * Media Patent License 1.0 was not distributed with this source code in the
      9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
     10 */
     11 
     12 #ifndef AOM_AV1_ENCODER_SALIENCY_MAP_H_
     13 #define AOM_AV1_ENCODER_SALIENCY_MAP_H_
     14 #include "av1/encoder/encoder.h"
     15 
     16 typedef struct saliency_feature_map {
     17  double *buf;  // stores values of the map in 1D array
     18  int height;
     19  int width;
     20 } saliency_feature_map;
     21 
     22 int av1_set_saliency_map(AV1_COMP *cpi);
     23 #if !CONFIG_REALTIME_ONLY
     24 double av1_setup_motion_ratio(AV1_COMP *cpi);
     25 #endif
     26 int av1_setup_sm_rdmult_scaling_factor(AV1_COMP *cpi, double motion_ratio);
     27 
     28 #endif  // AOM_AV1_ENCODER_SALIENCY_MAP_H_