/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
void vp8_intra4x4_predict(unsignedchar *above, unsignedchar *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsignedchar *dst, int dst_stride, unsignedchar top_left) { /* Power PC implementation uses "vec_vsx_ld" to read 16 bytes from Above (aka, Aboveb + 4). Play it safe by reserving enough stack
space here. Similary for "Left". */ #if HAVE_VSX unsignedchar Aboveb[20]; #else unsignedchar Aboveb[12]; #endif unsignedchar *Above = Aboveb + 4; #if HAVE_NEON // Neon intrinsics are unable to load 32 bits, or 4 8 bit values. Instead, it // over reads but does not use the extra 4 values. unsignedchar Left[8]; #if VPX_WITH_ASAN // Silence an 'uninitialized read' warning. Although uninitialized values are // indeed read, they are not used.
vp8_zero_array(Left, 8); #endif// VPX_WITH_ASAN #elif HAVE_VSX unsignedchar Left[16]; #else unsignedchar Left[4]; #endif// HAVE_NEON
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.