/* * 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.
*/
#include"./vp8_rtcd.h"
/**************************************************************************** * Notes: * * This implementation makes use of 16 bit fixed point verio of two multiply * constants: * 1. sqrt(2) * cos (pi/8) * 2. sqrt(2) * sin (pi/8) * Becuase the first constant is bigger than 1, to maintain the same 16 bit * fixed point precision as the second one, we use a trick of * x * a = x + x*(a-1) * so * x * sqrt(2) * cos (pi/8) = x + x * (sqrt(2) *cos(pi/8)-1).
**************************************************************************/ staticconstint cospi8sqrt2minus1 = 20091; staticconstint sinpi8sqrt2 = 35468;
void vp8_short_idct4x4llm_c(short *input, unsignedchar *pred_ptr, int pred_stride, unsignedchar *dst_ptr, int dst_stride) { int i; int r, c; int a1, b1, c1, d1; short output[16]; short *ip = input; short *op = output; int temp1, temp2; int shortpitch = 4;
for (i = 0; i < 4; ++i) {
a1 = ip[0] + ip[8];
b1 = ip[0] - ip[8];
void vp8_short_inv_walsh4x4_c(short *input, short *mb_dqcoeff) { short output[16]; int i; int a1, b1, c1, d1; int a2, b2, c2, d2; short *ip = input; short *op = output;
for (i = 0; i < 4; ++i) {
a1 = ip[0] + ip[12];
b1 = ip[4] + ip[8];
c1 = ip[4] - ip[8];
d1 = ip[0] - ip[12];
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.