media/libvpx/vp8/common/arm/reconintra_arm.c

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /*
     2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     3  *
     4  *  Use of this source code is governed by a BSD-style license
     5  *  that can be found in the LICENSE file in the root of the source
     6  *  tree. An additional intellectual property rights grant can be found
     7  *  in the file PATENTS.  All contributing project authors may
     8  *  be found in the AUTHORS file in the root of the source tree.
     9  */
    12 #include "vpx_config.h"
    13 #include "vp8_rtcd.h"
    14 #include "vp8/common/blockd.h"
    15 #include "vpx_mem/vpx_mem.h"
    17 #if HAVE_NEON
    18 extern void vp8_build_intra_predictors_mby_neon_func(
    19     unsigned char *y_buffer,
    20     unsigned char *ypred_ptr,
    21     int y_stride,
    22     int mode,
    23     int Up,
    24     int Left);
    26 void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x)
    27 {
    28     unsigned char *y_buffer = x->dst.y_buffer;
    29     unsigned char *ypred_ptr = x->predictor;
    30     int y_stride = x->dst.y_stride;
    31     int mode = x->mode_info_context->mbmi.mode;
    32     int Up = x->up_available;
    33     int Left = x->left_available;
    35     vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left);
    36 }
    38 extern void vp8_build_intra_predictors_mby_s_neon_func(
    39     unsigned char *y_buffer,
    40     unsigned char *ypred_ptr,
    41     int y_stride,
    42     int mode,
    43     int Up,
    44     int Left);
    46 void vp8_build_intra_predictors_mby_s_neon(MACROBLOCKD *x)
    47 {
    48     unsigned char *y_buffer = x->dst.y_buffer;
    49     unsigned char *ypred_ptr = x->predictor;
    50     int y_stride = x->dst.y_stride;
    51     int mode = x->mode_info_context->mbmi.mode;
    52     int Up = x->up_available;
    53     int Left = x->left_available;
    55     vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left);
    56 }
    58 #endif

mercurial