Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* |
michael@0 | 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
michael@0 | 3 | * |
michael@0 | 4 | * Use of this source code is governed by a BSD-style license |
michael@0 | 5 | * that can be found in the LICENSE file in the root of the source |
michael@0 | 6 | * tree. An additional intellectual property rights grant can be found |
michael@0 | 7 | * in the file PATENTS. All contributing project authors may |
michael@0 | 8 | * be found in the AUTHORS file in the root of the source tree. |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #ifndef SETUPINTRARECON_H |
michael@0 | 12 | #define SETUPINTRARECON_H |
michael@0 | 13 | |
michael@0 | 14 | #include "vpx_scale/yv12config.h" |
michael@0 | 15 | extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf); |
michael@0 | 16 | extern void vp8_setup_intra_recon_top_line(YV12_BUFFER_CONFIG *ybf); |
michael@0 | 17 | |
michael@0 | 18 | static |
michael@0 | 19 | void setup_intra_recon_left(unsigned char *y_buffer, |
michael@0 | 20 | unsigned char *u_buffer, |
michael@0 | 21 | unsigned char *v_buffer, |
michael@0 | 22 | int y_stride, |
michael@0 | 23 | int uv_stride) |
michael@0 | 24 | { |
michael@0 | 25 | int i; |
michael@0 | 26 | |
michael@0 | 27 | for (i = 0; i < 16; i++) |
michael@0 | 28 | y_buffer[y_stride *i] = (unsigned char) 129; |
michael@0 | 29 | |
michael@0 | 30 | for (i = 0; i < 8; i++) |
michael@0 | 31 | u_buffer[uv_stride *i] = (unsigned char) 129; |
michael@0 | 32 | |
michael@0 | 33 | for (i = 0; i < 8; i++) |
michael@0 | 34 | v_buffer[uv_stride *i] = (unsigned char) 129; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | #endif |