/* * 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.
*/
// Block size used for force_integer_mv decisions #define FORCE_INT_MV_DECISION_BLOCK_SIZE 8
// store a block's hash info. // x and y are the position from the top left of the picture // hash_value2 is used to store the second hash value typedefstruct _block_hash {
int16_t x;
int16_t y;
uint32_t hash_value2;
} block_hash;
typedefstruct intrabc_hash_info { // buffer for hash value calculation of a block // used only in av1_get_block_hash_value() // [first hash/second hash] // [two buffers used ping-pong]
uint32_t *hash_value_buffer[2][2];
hash_table intrabc_hash_table;
CRC_CALCULATOR crc_calculator1;
CRC_CALCULATOR crc_calculator2; int g_crc_initialized;
} IntraBCHashInfo;
// check whether the block starts from (x_start, y_start) with the size of // block_size x block_size has the same color in all rows int av1_hash_is_horizontal_perfect(const YV12_BUFFER_CONFIG *picture, int block_size, int x_start, int y_start); // check whether the block starts from (x_start, y_start) with the size of // block_size x block_size has the same color in all columns int av1_hash_is_vertical_perfect(const YV12_BUFFER_CONFIG *picture, int block_size, int x_start, int y_start);
void av1_get_block_hash_value(IntraBCHashInfo *intrabc_hash_info, const uint8_t *y_src, int stride, int block_size,
uint32_t *hash_value1, uint32_t *hash_value2, int use_highbitdepth);
#ifdef __cplusplus
} // extern "C" #endif
#endif// AOM_AV1_ENCODER_HASH_MOTION_H_
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.