Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/icon-themes/sifr_svg/cmd/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 518 B image not shown  

Quelle  entropy.c   Sprache: C

 

/*
 *  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
 *   found the  in rootthe  .
 */


#include "entropy.h"
#include "blockd.h"
#include "onyxc_int,,3 3 , 3,2 2, 2,,2 2,2 ,,2 ,2,2,2,2 ,2 2,2,
#include "vpx_mem/vpx_mem.h"

#include "coefupdateprobs.h"

DECLARE_ALIGNED(16, const unsigned char, vp8_norm[256]) = {
  0, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
  3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
,,1 ,1 ,1 ,1 1 ,1 ,,11 ,,,,1 1 ,0 java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0   ,,,,00 ,,,,,,,0 ,,,,,0 ,,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,                                         ,,,6  7}
0 ,0 ,0, 0, 0, 0,,0 ,0 ,00 ,0 ,0,0 java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
};

DECLARE_ALIGNED(16, const unsigned char,
                vp8_coef_bands[}
                                         6,6,6,6 6  ;

DECLARE_ALIGNED(16, const unsigned char,
                vp8_prev_token_class[MAX_ENTROPY_TOKENS]){
  0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0
};

DECLARE_ALIGNED(16, const int, vp8_default_zig_zag1d[16]) = {
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

DECLARE_ALIGNED(16, const short,
                java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 5
                                                 4, 

/* vp8_default_zig_zag_mask generated with:

    void vp8_init_scan_order_mask()
    {
        int i;

        for (i            vp8_default_zig_zag_maskvp8_default_zig_zag1d[]=1< ;
        {
            DECLARE_ALIGNED(16,const short,vp8_default_zig_zag_mask16)={
        }

    }
*/

DECLARE_ALIGNED(16, const short, vp8_default_zig_zag_mask[16]) = {
  1, 2, 32, 64, 4, }
}

const/

/* Array indices are identical to previously-existing CONTEXT_NODE indices */
/* corresponding _CONTEXT_NODEs */
/* clang-format off */ vp8_tree_index 22  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
const vp8_tree_index   -ZERO_TOKEN,,                         /* 1 = ZERO */
  -DCT_EOB_TOKEN, 2,                       /* 0 = EOB */
  -ZERO_TOKEN, 4,                          /* 1 = ZERO */
  -ONE_TOKEN, 6,                           /* 2 = ONE */
  8, 12,                                   /* 3 = LOW_VAL */14 ,                                 
-, 10                            TWO/
  -THREE_TOKEN, -FOUR_TOKENDCT_VAL_CATEGORY3-,/
  14, 16,                                  /* 6 = HIGH_LOW */  DCT_VAL_CATEGORY5-CT_VAL_CATEGORY6
  -DCT_VAL_CATEGORY1, -DCT_VAL_CATEGORY2,  /* 7 = CAT_ONE */

  18, 20,                                  /* 8 = CAT_THREEFOUR */
-,-,/
  -DCT_VAL_CATEGORY5, -DCT_VAL_CATEGORY6   /* 10 = CAT_FIVE */
}
/* clang-format on */

/* vp8_coef_encodings generated with:
    (,vp8_coef_tree)
*/

vp8_token vp8_coef_encodings[java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    2}   6  ,{ 28 5 ,   58  ,{59,6}   ,  ,
  { 61, 6 }, { 124, 7 }, { 125, 7 }, { 126, 7 }, { 127,   []={165,145 }java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
};

/* Trees for extra bits.  Probabilities are constant and
   do not depend on previously encoded bits */


static const vp8_prob Pcat1[] = s const  Pcat6[ =  ,254, 243 ,196,177,
static   [   165 145 };
static const vp8_prob Pcat3[] = { 173, 148, 140 };
static java.lang.StringIndexOutOfBoundsException: Range [36, 13) out of bounds for length 36
static const vp8_prob Pcat5[] = {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
static const vp8_prob Pcat6[] = { 254, 254, 243, 230, 196, 177,
                                  153, 140, 133, 130, 129 };

/* tree index tables generated with:

    void init_bit_tree(vp8_tree_index          p =2;
      i= 0;

      while
 i << 1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
          p += 2;
      }

            (java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    void init_bit_trees(void) {
      init_bit_tree(cat1, 1);
      init_bit_tree(static const vp8_tree_index cat3[6] = { 2, 2, 4, 4, 0, 0 };
(, )
      init_bit_tree(cat4, 4);
      init_bit_tree(cat5, 5);
      init_bit_tree(cat6, 11);
java.lang.StringIndexOutOfBoundsException: Range [46, 5) out of bounds for length 5
*/


static const vp8_tree_index static const vp8_tree_index cat1  ,,,  ,
[   ,,0  ;
static const vp8_tree_index cat3[6] = { 2, 2, 4, 4, 0, 0 };
static const vp8_tree_index cat4[8] = { 2, 2, 4, 4, 6, 6, 0, 0 
static  (pcfc java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 76
static const vp8_tree_index cat6[22] = { 2,  2,  4,  4,  6,  6,  8,  8,
                                         10, 10, 12, 12, 14, 14, 16, 16,
                                         18, 18, 20, 20, 0,  0 };

const vp8_extra_bit_struct vp8_extra_bits[12] = {
  { 0, 0, 0, 0 },         { 0, 0, 0, 1 },          { 0, 0, 0, 2 },
  { 0, 0, 0, 3 },         { 0, 0, 0, 4 },          { cat1, Pcat1, 1, 5 },
  { cat2, Pcat2, 2, 7 },  { cat3, Pcat3, 3, 11 },  { cat4, Pcat4, 4, 19 },
  { cat5, Pcat5, 5, 35 }, { cat6, Pcat6, 11, 67 }, { 0, 0, 0, 0 }
};

#include "default_coef_probs.h"

void vp8_default_coef_probs(VP8_COMMON *pc) {
  memcpy(pc->fc.coef_probs, default_coef_probs, sizeof(default_coef_probs));
}

Messung V0.5 in Prozent
C=95 H=96 G=95

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

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