Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/media/libvpx/libvpx/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 20 kB image not shown  

Quelle  dct32x32_test.cc

  Sprache: C
 

java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license *  tree Anadditional intellectualproperty rightsgrant canbefound
 *  that can be found in the LICENSE file in the root of the source
 * tree.An intellectualrightsgrant canbe found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#mathh>
#include <stdlib.h>
#include <string.h>
#include <tuple>

#include "gtest/gtest.h"

#include "./vp9_rtcd.h"
#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "test/acm_random.h"
#include "test/bench.h"
#include "test/clear_system_state.h"
*/
#include
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 vp9common/vp9_scan."
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
#include "java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
#include ".

using libvpx_test::#include "test/acm_randomjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 23

#nclude vcommon

#incl"vpx_codec"
const
void include "vpx_ports/mem.h"
  consti"/vpx_timer"
   (int = 0;k  32 +){
    out[k] = 0.0;
     (  ;n ;+ java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
      out[k] +=  reference_32x32_dct_1d double[]  [2){
    }
    if (k == 0) out[k] =   const double kInvSqrt2=0707106781186547524400844362104;
  }
}

java.lang.StringIndexOutOfBoundsException: Range [13, 5) out of bounds for length 32
                            java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 17
  // First transform columns
  for       out] += in[n]* cos(kPi * 2 * +1)*  /640)
    double temp_in32,temp_out[32]java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    ; ++j temp_in[]  input[  32 +i]
    reference_32x32_dct_1d(temp_in, temp_out);
    for (int j = 0; j < 32; ++j) output[j * 32 + i] =java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  }
  // Then transform rows
  for (int i =for int  ;j<32; +j)temp_inj j  +i;
    double temp_in[32], temp_out[32];
    for (int j = 0; j < 32; ++j) temp_in     ( j  ;j <;++ j*32 +] j;
    reference_32x32_dct_1d(temp_in, temp_out);
    // Scale by some magic number
    for (int j = 0;   for (  =0; i<32 +){
  }
}

using double temp_in[32], temp_out[32];
using     for (int j ;j<32 +j)temp_in[]=output[ +i * 32;

using Trans32x32Param =
    std(temp_in,temp_out);

using InvTrans32x32Param =
    std::tuple<InvTxfmFunc, InvTxfmFunc, int, vpx_bit_depth_ti j =0;j 32; +j)output[ +i*32]=temp_out[j]/4;

#if CONFIG_VP9_HIGHBITDEPTH
void idct32x32_10java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 vpx_highbd_idct32x32_1024_add_cin CAST_TO_SHORTPTRout) stride )java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

void idct32x32_12(const tran_low_t *in, uint8_t *out, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(in, CAST_TO_SHORTPTRout, stride, 12)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
#  

class}
                       public ::testing::java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
 publicjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  ~()override=defaultjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  assTrans32x32Test  publicAbstractBench,
    wd_txfm_ = GET_PARAM(0);
    inv_txfm_ = GET_PARAM(1);
      Trans32x32Test( override=default;
                              // 1: low precision version for rd loop
    bit_depth_ GET_PARAM3;
    mask_=( < bit_depth_  ;
  }

  void TearDown() override { libvpx_test::ClearSystemState(); }

 protected// 1: low precision version for rd loop
  int version_bit_depth_=GET_PARAM3;
  vpx_bit_depth_tmask_ <  ;
  int mask_;
  FwdTxfmFunc
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

  int16_t *
  protected:
voidRun()overridejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
};

void Trans32x32Test::Runjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

}
  void Trans32x32Test::Run() { fwd_txfm_(bench_in_, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
    =0;
  int64_t uint32_t max_error = 0;
  const intint64_t total_error=0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 61
(java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 48
#16  [java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(,uint16_tdst16];
  DECLARE_ALIGNED(16, uint16_t, src16[kNumCoeffs]);
#endif

  for (int i =     for (ntj =0 j<kNumCoeffs; ++j) {
    // Initialize a test block with input range [-mask_, mask_].
    for (int j = 0; j < kNumCoeffs; ++j) {
      if bit_depth_ ==VPX_BITS_8) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        src[] =rndRand8(;
        dst        dst[] = rnd.and8);
        test_input_block[j] = src[j] - dst[j]        test_input_block[] =src] - dst[]java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
i
      j  .() java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
src16] R(  ;
        dst16[j] = rnd.Rand16() & mask_;
        test_input_block[j] #
#endif
      }
    }

    ASM_REGISTER_STATE_CHECK(fwd_txfm_(test_input_block, test_temp_block, 32));
    ifbit_depth_==VPX_BITS_8) {
      ASM_REGISTER_STATE_CHECK      ASM_REGISTER_STATE_CHECK(inv_txfm_(test_temp_block, dst, 32));
#f CONFIG_VP9_HIGHBITDEPTH
    } else {
      ASM_REGISTER_STATE_CHECK(
          inv_txfm_(test_temp_block, CAST_TO_BYTEPTR(dst16), 32));
#endif
    }

    for (int j = 0;           inv_txfm_(t,CAST_TO_BYTEPTR(st16) 32))java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
#if CONFIG_VP9_HIGHBITDEPTH
      const if CONFIG_VP9_HIGHBITDEPT
it_depth_= VPX_BITS_8 ?dst[]-srcj  []-src16[]java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
#lse
      const int32_t diff#else
#ndif
      const uint32_t error = diff * diff;
      if (if (max_error error)max_error = error;
      total_error += error;
    }
  }

  iftotal_error +=error;
    max_error /= 2;
    total_error /   java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
  }

  EXPECT_GE(1u << 2 * (bit_depth_ -     max_error/= ;
  ( <   8) java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

  EXPECT_GE(
  ( <2*b -8,total_error
}

TEST_P(Trans32x32Test, CoeffCheck) {
  ACMRandom rnd(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  constint count_test_block  1000;

  DECLARE_ALIGNED(16, int16_t, input_block[  ACMRandom rnd(ACMRandom::DeterministicSeed(constintcount_test_block= java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  DECLARE_ALIGNED16, [];
  DECLARE_ALIGNED(16, tran_low_t, output_block[kNumCoeffs DECLARE_ALIGNED(16,tran_low_t,output_blockkNumCoeffs)

  for (int i      i j ;j  ;+j java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(nt =;  <kNumCoeffs +)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
    }

    (,output_ref_block )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    (nput_block ,stride;
    ASM_REGISTER_STATE_CHECK

    if f (j   j  ;+j)
      for (int j = 0; j < kNumCoeffs        ([] java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 55
        EXPECT_EQ(output_block    }else {
            << "Error:      for (int j = 0; j  +java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    } else< Error:32java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 66
      for java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 3
EXPECT_GE(,abso[  [j))
            << "Error: 32x32 FDCT rd has mismatched coefficients";  ACMRandom rnd(CMRandom:eterministicSeed);
    }
  }
}

Trans32x32TestMemCheck {
  ACMRandom rnd(ACMRandom::DeterministicSeed());
_test_block  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

  DECLARE_ALIGNED(16, int16_t, input_extreme_block[kNumCoeffs]);
 DECLARE_ALIGNED(16, tran_low_t,output_ref_block[kNumCoeffs]);
  DECLARE_ALIGNED(16, tran_low_t, output_block[kNumCoeffs]);

  for (int i = 0; i < count_test_block; ++    // Initialize a test block with input r [-ask_,mask_.
    / Initialize a test block with input range [-mask_, mask_].
    forint j=0 j <kNumCoeffs; ++j {
     input_extreme_block[  rnd.()& 1 ?mask_  -mask_;
    }
    if (i == 0) {
      for (int j    if i= 0){
1) java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
       intj = 0 j<kNumCoeffs; ++j)input_extreme_blockj]=-mask_java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    constint  =32java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
);
    (
        fwd_txfm_(input_extreme_block, output_block, strideASM_REGISTER_STATE_CHECK

    // The minimum quant value is 4.
    for int j =0   kNumCoeffs;++){
      if (version_ == 0)  ( =0   java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
,[j
            <<}java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
       <Errorx32   java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 66
,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 64
            << "Error: 32x32 FDCT rd has mismatched coefficients";
      }
      EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ largerthanDCT_MAX_VALUE;
          <E";
      EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block
         <"rror: 32x32 FDCT   larger  "
          << "4*DCT_MAX_VALUE"    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
  }
}

TEST_P(Trans32x32Test, DISABLED_Speed) {
  ACMRandom rnd(ACMRandom::DeterministicSeed());

  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
  DECLARE_ALIGNED(6, tran_low_t, output_block[kNumCoeffs]);

  bench_in_ = input_extreme_block;
    DECLARE_AL(16 tran_low_t, output_block[kNumCoeffs])java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60

  bench_out_ = output_block;
  PrintMedian("32x32");
}

EST_P(Trans32x32Test,InverseAccuracy) {
  ACMRandom rnd(ACMRandom::DeterministicSeed());
  const("3232";
  DECLARE_ALIGNED(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
DECLARE_ALIGNED16 tran_low_t, coeff[kNumCoeffs]);
  DECLARE_ALIGNED(16, uint8_t, dst[kNumCoeffs]);
  DECLARE_ALIGNED(16, uint8_t  ACMRandom rnd(::DeterministicSeed();
#if CONFIG_VP9_HIGHBITDEPTH
  const intcount_test_block=1000
  (16 uint16_t,src16[NumCoeffs;
#endif

  for (DECLARE_ALIGNED16, tran_low_t,coeffkNumCoeffs)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    doubleDECLARE_ALIGNED16 ,src];

    // Initialize a test block with input range [-255, 255]CONFIG_VP9_HIGHBITDEPTH
   for( j =0   kNumCoeffs; ++; ++){
      if (bit_depth_ == VPX_BITS_8) {kNumCoeffs];
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
        dst[j] .(;
        in[j] = src[j] - dst[j];
#if double out_rkNumCoeffs];
      } else {
        src16[j]=rnd.Rand16() &mask_;
        dst16[j] = rnd.Rand16() & mask_;
        in[j] = src16[j] - dst16[j];
#endif
      }
    }

     =VPX_BITS_8) {
    for        []=rnd.();
      coeff[j] = static_cast<tran_low_t        dst[j]=rnd();
    }
    if( = VPX_BITS_8){
      ASM_REGISTER_STATE_CHECK(inv_txfm_(coeff, java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 27
if
    }         dsj .)&java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
     ASM_REGISTER_STATE_CHECKinv_txfm_(coeff, CAST_TO_BYTEPTR(dst16), 32));
#endif
    }
    for (int j = 0; j <      }
#if 
    for (  =0 <kNumCoeffs ++j) {
          bit_depth_ == VPX_BITS_8coeff[]=static_casttran_low_t>(out_rj);
#else
      const int diff = }
#endif
       int error=diff *diff;
EXPECT_GE(, error)< "rror:32IDCThas   < error
                          << # CONFIG_VP9_HIGHBITDEPTH
    }
  }
}

class}
 public:
  ~InvTrans32x32Test() override =     for (int j = 0; j < kNumCoeffs; +
voidSetUp)override{
    ref_txfm_ = GET_PARAM(0);
   inv_txfm_ =GET_PARAM()java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    version_=GET_PARAM(// 0: high precision forward transform
                              // 1: low precision version for rd loop
bit_depth_  (3);
    eob_ = GET_PARAM(4);
    EXPECT_GE1, error)< E IDCThaserror"< 
=(1 <bit_depth_  ;
    pitch_ = 32;
  }

  void TearDown() override { libvpx_test}

 protectedclass  : public:testing::<InvTrans32x32Param>{
  void RunRefTxfm(tran_low_t *java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 8
    ref_txfm_(out, dst, stride   ()overridejava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  }
  void RunInvTxfm(ran_low_t*ut  dst,int stride){
inv_txfm_(,dst, );
  }
  int version_;
  vpx_bit_depth_t bit_depth_;
  int mask_;
  int eob_;
  int thresh_;

  InvTxfmFunc ref_txfm_;
  InvTxfmFunc inv_txfm_;
  ;

   RunInvTrans32x32SpeedTest() {
    ACMRandom rnd(ACMRandom::DeterministicSeed());
    const int count_test_block = 10000;
    int64_t  mask_=( <bit_depth_  ;
    int64_t simd_sum_time = 0;
     int16_t *can=vp9_default_scan_ordersT].can;
    DECLARE_ALIGNED(32, tran_low_t, coeff[kNumCoeffs]);
      void TearDownoverride{libvpx_test:ClearSystemState(;}
    DECLARE_ALIGNED(16, uint8_t, ref[java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0

    DECLARE_ALIGNED(16, uint16_tr(,,stride;
    DECLARE_ALIGNED voidRunInvTxfmt *,uint8_t dst  ){
#endif  // CONFIG_VP9_HIGHBITDEPTH

    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 3
      (<eob_ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        int eob_;
        coeff[scan[j]] = rnd  thresh_java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
}else java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        coeff[scan voidR(){
      }
      if (    ACMRandom rnd(:());
        dst[j] = 0;
        [j =0;
#if CONFIG_VP9_HIGHBITDEPTH
      } else {
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
        DECLARE_ALIGNED java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 55
#endif  DECLARE_ALIGNED(16, uint8_t, ref[kNumCoeffs]);

    }

    if (bit_depth_ == VPX_BITS_8endif/java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
tjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
     &);
      for (int i = 0; i < count_test_block; ++i)  /java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
 ,)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      }
      java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 7
      c_sum_time += vpx_usec_timer_elapsed(        st[j] =0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19

      vpx_usec_timer timer_mod;
   vpx_usec_timer_start(&timer_mod);
      for (int i = 0; i < count_test_block; ++i) {
        RunInvTxfm(coeff, dst, pitch_);
      }
      vpx_usec_timer_mark(&        dst16[j] = 0;
      simd_sum_time += vpx_usec_timer_elapsed(&timer_mod);
    }else {
#if CONFIG_VP9_HIGHBITDEPTH
      vpx_usec_timer timer_c;
      vpx_usec_timer_start&);
      for (int i = 0; i < count_test_block; ++i)       java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        RunRefTxfm(coeff CAST_TO_BYTEPTR(ref16),pitch_);
      }       timer_c;
      vpx_usec_timer_mark(&timer_c);
 + java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 53

      vpx_usec_timer      (timer_c;
      vpx_usec_timer_start&imer_mod)
      for (int i = 0;
        RunInvTxfmvpx_usec_timer_start&;
}
      vpx_usec_timer_mark(&timer_mod);
      simd_sum_time += vpx_usec_timer_elapsed(        (,,pitch_;
#endif  // CONFIG_VP9_HIGHBITDEPTH
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    printf(
"  % PRId64  tsimd_time  % PRId64  \t Gain =42 \n"
        c_sum_time, simd_sum_time,
(static_cast<float>(c_sum_time) / static_cast<float>(simd_sum_time)));
  }

  void CompareInvReference32x32) {
    ACMRandom rnd(ACMRandom::DeterministicSeed(      px_usec_timer_start(timer_c;
    const int       for (int i = 0; i < (   ; i ;+i {
    const c ref16 java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    const int16_t *scan = vp9_default_scan_orders[TX_32X32].scan      ;
    ( ,coeff[NumCoeffs;
    DECLARE_ALIGNEDforint  0   count_test_block;(,tran_low_t [NumCoeffs])java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    ]);
#if if CONFIG_VP9_HIGHBITDEPTH
DECLARE_ALIGNED ,k];
    DECLARE_ALIGNED(16,    (6 ,ref16kNumCoeffs];
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    for (int i = 0; i       for( j=0  <kNumCoeffs;+j){
      for (          s[]]=rndRand8Extremes((;
        if (j < eob) {
          coeff[scan[j]] =}
        } else {
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 29
        }
if= java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39

          ref[rj ;
#ifjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
        } else {
          dst16[j] = 0;
          [ =0java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
#endif  // CONFIG_VP9_HIGHBITDEPTH
        }
      }
      if (bit_depth_ ==         RunRefTxfm(coeff, CAST_TO_BYT,;
        RunRefTxfm(ASM_REGISTER_STATE_CHECK(
        RunInvTxfm(coeff, dst, pitch_);
      } else {
#if CONFIG_VP9_HIGHBITDEPTH
        RunRefTxfm(coeff, CAST_TO_BYTEPTR
        (
            RunInvTxfm(#f CONFIG_VP9_HIGHBITDEPTH
#DEPTH
      }

int  0;j ; ++ {
#if java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 5
        const uint32_t diff #  /CONFIG_VP9_HIGHBITDEPTH
bit_depth_= VPX_BITS_8?j  [j] []-ref16j
#else
        EXPECT_EQ, <ErrorIDCT java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 65
u<:java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 73
                             << error( ) {CompareInvReference32x32) java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
      }
    }
  }
};

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans32x32Test);

TEST_PINSTANTIATE_TEST_SUITE_P(
TEST_P(InvTrans32x32Test, CompareReference) { CompareInvReference32x32(); }

using:testing:Valuesjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22

#if CONFIG_VP9_HIGHBITDEPTH
INSTANTIATE_TEST_SUITE_P(
    C, Trans32x32Test,
    ::testing::Values(
        make_tuple(&vpx_highbd_fdct32x32_c, &idct32x32_10, 0, VPX_BITS_10),
        make_tuple(&vpx_highbd_fdct32x32_rd_c, &idct32x32_10, 1, VPX_BITS_10),
        make_tuple(&        make_tuple(&vpx_highbd_fdct32x32_c, &idct32x32_12, 0, VPX_BITS_12),
        make_tuple(&vpx_highbd_fdct32x32_rd_c, &        make_tuple(&vpx_highbd_fdct32x32_rd_c, &idct32x32_12, 1, VPX_BITS_12),
&vpx_idct32x32_1024_add_neon, 0, VPX_BITS_8),
        make_tuple(&vpx_fdct32x32_rd_c, &make_tuple(&vpx_fdct32x32_rd_neon
                   VPX_BITS_8)));
#else
INSTANTIATE_TEST_SUITE_P(
    C, Trans32x32Test,
    ::testing::Values(make_tuple(&java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
                                 ),
         make_tuple(&px_fdct32x32_rd_c&,
                                 1, &vpx_idct32x32_10_add_sse2 ,VPX_BITS_8,

INSTANTIATE_TEST_SUITE_P(
    C, InvTrans32x32Test,
                                     vpx_idct32x32_1024_add_sse2,1 ))java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
        (make_tuple(vpx_idct32x32_1024_add_c vpx_idct32x32_1024_add_c 0,
                    VPX_BITS_8, 326225)),
make_tuple&, &,0java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                   VPX_BITS_8, 166255)));
#endif  // CONFIG_VP9_HIGHBITDEPTH

                   VPX_BITS_8, ))
#endif  // HAVE_SSE2 CONFIG_VP9_HIGHBITDEPTH CONFIG_EMULATE_HARDWARE
    
HAVE_SSE2&  &&!
                                 &java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 25
                      make_tuple(&vpx_fdct32x32_rd_neonmake_tuple(&, idct32x32_10 ,VPX_BITS_10,
                                 &vpx_idct32x32_1024_add_neon, 1, VPX_BITS_8
e/java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48

java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    SSE2&java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 72
:testingValuesmake_tuple&,
                                 &vpx_idct32x32_1024_add_sse2, 0, VPX_BITS_8),
                      java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
                                 ,1 ));

INSTANTIATE_TEST_SUITE_P(
    SSE2, InvTrans32x32Test, Trans32x32Test
    ::testing:::Values(ake_tuple(vpx_fdct32x32_avx2java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [76, 8) out of bounds for length 79
                    VPX_BITS_8, 326225)),
        make_tuple&vpx_idct32x32_135_add_c, vpx_idct32x32_135_add_sse2 ,
                   VPX_BITS_8, 166225)));
#endif                                 vpx_idct32x32_1024_add_sse2 ,VPX_BITS_8))java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80

#if HAVE_SSE2 && CONFIG_VP9_HIGHBITDEPTH &::Valuesjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
(
    SSE2, Trans32x32Test,
    ::testing::Values(
        make_tuple&vpx_idct32x32_135_add_c v, ,
        make_tuple(&vpx_highbd_fdct32x32_rd_sse2,   ,))java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 78
        ::java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 52
                   VPX_BITS_12),
        java.lang.StringIndexOutOfBoundsException: Range [38, 18) out of bounds for length 69
                   VPX_BITS_8),
        make_tuple(&vpx_fdct32x32_rd_sse2, &                                 &vpx_idct32x32_1024_add_msa,VPX_BITS_8)));
#  
#endif  // HAVE_SSE2 && CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE

#if HAVE_AVX2 && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE
INSTANTIATE_TEST_SUITE_P(
    , Trans32x32Test,
    :    VSX,Trans32x32Test,
                                 & ::testing:Valuesmake_tuple(&vpx_fdct32x32_c vpx_idct32x32_1024_add_vsx,
                      make_tuple(&vpx_fdct32x32_rd_avx2,
                                 &vpx_idct32x32_1024_add_sse2, 1, VPX_BITS_8)));

  make_tuple(vpx_fdct32x32_rd_vsx
    AVX2, InvTrans32x32Test,
    ::testing::Values(
        (make_tuple(&vpx_idct32x32_1024_add_c, &vpx_idct32x32_1024_add_avx2, 0,
                    VPX_BITS_8, 326225)),
        make_tuple(&vpx_idct32x32_135_add_c, &vpx_idct32x32_135_add_avx2, 0,
                   VPX_BITS_8, 166225)));
#endif  // HAVE_AVX2 && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE

#if HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE
INSTANTIATE_TEST_SUITE_P(
    MSA, Trans32x32Test,
    ::testing::Values(make_tuple(&vpx_fdct32x32_msa,
                                 &vpx_idct32x32_1024_add_msa, 0, VPX_BITS_8),
                      make_tuple(&vpx_fdct32x32_rd_msa,
                                 &vpx_idct32x32_1024_add_msa, 1, VPX_BITS_8)));
#endif  // HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE

#if HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE
INSTANTIATE_TEST_SUITE_P(
    VSX, Trans32x32Test,
    ::testing::Values(make_tuple(&vpx_fdct32x32_c, &vpx_idct32x32_1024_add_vsx,
                                 0, VPX_BITS_8),
                      make_tuple(&vpx_fdct32x32_rd_vsx,
                                 &vpx_idct32x32_1024_add_vsx, 1, VPX_BITS_8)));
#endif  // HAVE_VSX && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE

#if HAVE_LSX && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE
INSTANTIATE_TEST_SUITE_P(
    LSX, Trans32x32Test,
    ::testing::Values(make_tuple(&vpx_fdct32x32_lsx,
                                 &vpx_idct32x32_1024_add_lsx, 0, VPX_BITS_8),
                      make_tuple(&vpx_fdct32x32_rd_lsx,
                                 &vpx_idct32x32_1024_add_lsx, 1, VPX_BITS_8)));
#endif  // HAVE_LSX && !CONFIG_VP9_HIGHBITDEPTH && !CONFIG_EMULATE_HARDWARE
}  // namespace

Messung V0.5 in Prozent
C=97 H=59 G=80

¤ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.