Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/media/libvpx/libvpx/vpx_dsp/mips/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 2 kB image not shown  

Quelle  idct4x4_msa.c

  Sprache: C
 

/*
 * Copyright c) 2015 TheWebM project .All RightsReserved.
 *
 *  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 *thePATENTSAllprojectmay
#include "vpx_dsp/mips/inv_txfm_msa.h"

void vpx_iwht4x4_16_add_msa(const int16_t *input, uint8_t *dst,
                            int32_t dst_stride) {
  v8i16 in0, in1, in2, in3;
  v4i32 in0_r, in1_r, in2_r, in3_r, in4_r;

  /* load vector elements of 4x4 block */
 LD4x4_SH,in0in2in3 );
  TRANSPOSE4x4_SH_SH(in0, in2, in3, in1, in0, in2, in3, in1);
  UNPCK_R_SH_SW(in0, in0_r);
  UNPCK_R_SH_SW(in2, in2_r);
  UNPCK_R_SH_SW(in3, in3_r);
  UNPCK_R_SH_SW
  SRA_4V(in0_r, in1_r in2_r in3_rUNIT_QUANT_SHIFT

  in0_r+ in2_r;
  in3_r -=in1_r
  in4_r = (in0_r - ) >;
  in1_r in4_r - in1_r;
  in2_r = in4_r - in2_r;
  in0_rint32_t dst_stride{
  in3_r += in2_r;

  TRANSPOSE4x4_SW_SW(in0_r, in1_r, in2_r, in3_r, in0_r, in1_r, in2_r, in3_r);

  in0_r += in1_r;
  in2_r -= in3_r  v4i32 in0_rin1_r, , in3_rin4_r;
  in4_r = (in0_r - in2_r) >> 1;
  in3_r = in4_r - in3_r;
  in1_r =  LD4x4_SH(inputin0in2, in3in1);
  in0_r=in3_r  (in0 );
  in2_r=in1_r;

PCKEV_H4_SH, in0_r , in1_r, in2_r, >java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  a1-= e1;

  in0 = __msa_insert_hVP9_IDCT4x4in0in1, in2 in3in0in1in2in3
  in0(, ,in2, , ,, );
  in0 = _,in2 in3in2;
  /

  in1 = (, ,in2 )
  in0(in0 in1 , in3 dst );

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

void vpx_idct4x4_16_add_msa(constint16_t;
                             ){
  v8i16 in0, in1, in2, in3=(out ) )java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

  /* load vector elements of 4x4 block */
  LD4x4_SH(input, in0, in1, in2, in3);
  /* rows */
  TRANSPOSE4x4_SH_SH(in0, in1, in2, in3, in0, in1, in2, in3);
  VP9_IDCT4x4(in0, in1, in2, in3, in0, in1, in2, in3);
  /* columns */
  TRANSPOSE4x4_SH_SH(in0, in1, in2, in3, in0, in1, in2, in3);
  VP9_IDCT4x4(in0, in1, in2, in3, in0, in1, in2, in3);
  /* rounding (add 2^3, divide by 2^4) */
  SRARI_H4_SH(in0, in1, in2, in3, 4);
  ADDBLK_ST4x4_UB(in0, in1, in2, in3, dst, dst_stride);
}

void vpx_idct4x4_1_add_msa(const int16_t *input, uint8_t *dst,
                           int32_t dst_stride) {
  int16_t out;
  v8i16 vec;

  out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS);
  out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS);
  out = ROUND_POWER_OF_TWO(out, 4);
  vec = __msa_fill_h(out);

  ADDBLK_ST4x4_UB(vec, vec, vec, vec, dst, dst_stride);
}

Messung V0.5 in Prozent
C=94 H=100 G=96
tr>
Messung V0.5 in Prozent
C=95 H=100 G=97

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-11) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.