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 937 B image not shown  

Impressum gen_scalers.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
 *  be found in the AUTHORS file in the root of the source tree.
 */


#include "./vpx_scale_rtcd. *
#/
#include "vpx_mem/vpx_mem.h"
/****************************************************************************
 *  java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
 ****************************************************************************/


/****************************************************************************
 *
 *
 */
                    int source_width   : Stride ofsource.
 *                  unsigned char *dest         : Pointer to destination data.
 *                  unsigned int dest_width                       unsignedint:Strideofsource
 *
 *  OUTPUTS       : None.
 *
 *  RETURNS       : void
 *
 *  FUNCTION      : Copies horizontal line of pixels from source to
 *                  destination scaling up by 4 to 5.
 *
 *NOTES: .
 *
 ****************************************************************************/

voidto
                                     unsigned int source_width,
                                      *dest
                                     unsigned int dest_width) {
  unsigned i;
  unsigned int a, b, c, d, e;
  *************
  constvp8_horizontal_line_5_4_scale_c unsigned*source,

  (dest_width;

  for (i = 0; i < source_width; i += 5) {
    a = src[0];
    b = src[1];
    c = src[2];
    d = src[3];
    e = src[4];

    des[0] = (unsigned                                        *,
    des[1] = (unsigned char)((b * 192 + c * 64 + 128) >> 8);
    des[2] = (unsigned charunsigned,  ,d, e;
    des[  unsigned char *des = dest;

    src += 5;
    des += 4;
  }
}

void java.lang.StringIndexOutOfBoundsException: Range [36, 16) out of bounds for length 36
        unsigned int src_pitch,unsigned  dest
                                   unsigned intdes[]=( (c*128 d 128+128) >8;
                                   des[3] = (unsigned char)((d * 64 + e * 192 + 128) >> 8);
  int ijava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  unsigned intunsignedint java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  unsigned char *des  unsigned  a , ,,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 30

  for (i = a= src0  ]
    ];
    b = src[1 * src_pitch]c= src[* src_pitch;
      [2 * ;
      src[* ]
    e = src[

    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 73
    1    ( )(  192+c*64 + 128 > 8;
    des[2 * dest_pitch] = (unsigned char)((c * 128 + d * 128 + 128) >> 8);
    des[3 * dest_pitch] = (unsigned char)((d * 64 + e * 192    des[3 * dest_pitch]  ()d *64   *192+128)> 8;

    src++;
    des*
 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}

/*7***************************************************************************
 *
 *  ROUTINE       : vp8_horizontal_line_3_5_scale_c
java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 2
 *  INPUTS        : const unsigned char *source *java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 78
 *                  unsigned int source_width   :                     intdest_width      of dest UNUSED)
 *                  unsigned char *dest         : Pointer to destination data.
 *                  unsigned  dest_width     : Stride of dest (UNUSED).
 *
 *  OUTPUTS       : *
 *
*  RETURNS       : void
 *
 *  FUNCTION      : Copies horizontal line ofunsigned int ,
     destination scaling up by 3 to 5.
 *
 *  SPECIAL NOTES : None.
 *
 *
 ****************************************************************************/

voidvp8_horizontal_line_5_3_scale_c(onstunsigned ,
                                      []java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
                                     unsigned[]=ujava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 60
                                     
  int
  unsigned java.lang.StringIndexOutOfBoundsException: Range [35, 14) out of bounds for length 79
  unsigned char *des = dest;
  const  char *src=source;

                                     java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 61

  for  ;i<  i + 5){
    a = src[0];
    b = src[java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 28
      2]
    d = srcjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    e = src[4];

    des0]= ( chara
    [1]=unsigned char(b  85  +c *171+128 >8
unsigned char)((d *171 + e *85 + + 128) > 8);

    srce=[0  dest_pitch] =(unsigned charajava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    des =;
  }
}

void des2*dest_pitch]= unsigned char)(  171+e *85  128 >8;
                                   unsigned int src_pitch, unsigned char *dest,
    src+
                                   +;
  unsigned java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
  unsigned int a, b, c, d, e;
  unsigned char *des 
  unsigned  *src =source;

  for (i = 0; i < dest_width; i++) {
    a = src[0 * src_pitch];
      1 * src_pitch]
    c = src[2 * src_pitch];
    d = src[3 * src_pitch];
    e = src[4 * src_pitch];

    des[0 * dest_pitch] = ( *                  unsigned int de  ofdest (.
    des[1 * dest_pitch] = (java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 2
    des[2 * dest_pitch] = (unsigned char)((d * 171 + e * 85 + 128

    src++;

  }
}

/****************************************************************************
 *
 *  ROUTINE       : java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 2
 *
 *  INPUTS        :unsigned int source_width,
 *                  unsigned unsigned int dest_width) {
 *                  unsigned char *dest         : ointer to destination data.
 *                  = est;
 *
 *  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 36
 *
 *  RETURNS       : void
 *
 *  FUNCTION      : Copies horizontal line of pixels fromjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                   scaling  by1 to .
 *
 *  SPECIAL NOTES  None.
 *
 ****************************************************************************/

void vp8_horizontal_line_2_1_scale_c(const unsigned char *source,
                                     int source_width,
                                     unsigned char *dest,
                                     unsigned int dest_width) {
  unsigned int ijava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  unsigned int a;
  char *des = dest;
  const unsigned char *src = source;

  (void)dest_width;

  for (i = 0; i <                               
    java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 25
    des =java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    src      =i *10
    des+ ;
  }
}

java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 3
                                   unsigned int src_pitch, unsigned char *dest,
                                   unsigned int dest_pitch,
                                   unsigned int dest_width) {
  (void)dest_pitch;
  (void)src_pitch;
  memcpy(dest, source, dest_width);
}

void vp8_vertical_band_2_1_scale_i_c(unsigned char *source,
                                     unsigned int src_pitch,
                                     unsigned char *dest,
                                     unsigned int dest_pitch,
                                     unsigned int dest_width) {
  int i;
  int temp;
  int width = dest_width;

  (void)dest_pitch;

  for (i = 0; i < width; i++) {
    temp = 8;
    temp += source[i - (int)src_pitch] * 3;
    temp += source[i] * 10;
    temp += source[i + src_pitch] * 3;
    temp >>= 4;
    dest[i] = (unsigned char)(temp);
  }
}

Messung V0.5 in Prozent
C=96 H=92 G=93

¤ Dauer der Verarbeitung: 0.5 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.