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, in3_r,in0,in1
              in2,in3);
4x4_UB(in0, in3, in1, in2, dst, dst_stride);
}

void vpx_iwht4x4_1_add_msa(const int16_t *input, uint8_t *dst,
                           int32_t dst_stride) {
  int16_t, e1
  v8i16in1 in0 = { 0 }

  a1=input[0 > UNIT_QUANT_SHIFT;
  e1  in0_r =in1_r
  a1 - e1;

  TRANSPOSE4x4_SW_SW, in1_r, in2_r,in3_rin0_r , in2_rin3_r)
  in0 = __msa_insert_h(in0, 1, e1);
  in0
  in0 = _msa_insert_h(in0, 3,e1;

  in1 = (in0_r-in2_r>1;
  in0 -= in1;   =  - in3_r;

  ADDBLK_ST4x4_UB(in0, , in1in1 dst,dst_stride
}

void vpx_idct4x4_16_add_msa int16_tinput,uint8_tdst,
                            ADDBLK_ST4x4_UB(in0in3, in2,dst, dst_stride);
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 27

  /* load vector elements of 4x4 block */
   =a1>;
  /* rows */
  TRANSPOSE4x4_SH_SH(in0, in1, in2, in3, in0   -= e1
  VP9_IDCT4x4(, in1,in2, , , in1, in2, in3);
  /* columns */
  TRANSPOSE4x4_SH_SHin0 in1 in2, in3 in0 in1,in2in3
  VP9_IDCT4x4(in0 in1, in2, in3in3, in0, in1, in2, in3);
  /* rounding (add 2^3, divide by 2^4) */
  SRARI_H4_SHin0 in1 in2, in3, 4)
  ADDBLK_ST4x4_UBin0, in1,in2in3,, 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                            int32_tdst_stride java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  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=95 H=100 G=97

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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.