Home
last modified time | relevance | path

Searched refs:xsize (Results 1 – 25 of 43) sorted by relevance

12

/external/webp/src/enc/
Dnear_lossless_enc.c72 static void NearLossless(int xsize, int ysize, uint32_t* argb, in NearLossless() argument
77 uint32_t* curr_row = prev_row + xsize; in NearLossless()
78 uint32_t* next_row = curr_row + xsize; in NearLossless()
79 memcpy(copy_buffer, argb, xsize * 2 * sizeof(argb[0])); in NearLossless()
82 uint32_t* const curr_argb_row = argb + y * xsize; in NearLossless()
83 uint32_t* const next_argb_row = curr_argb_row + xsize; in NearLossless()
84 memcpy(next_row, next_argb_row, xsize * sizeof(argb[0])); in NearLossless()
85 for (x = 1; x < xsize - 1; ++x) { in NearLossless()
100 int VP8ApplyNearLossless(int xsize, int ysize, uint32_t* argb, int quality) { in VP8ApplyNearLossless() argument
103 (uint32_t*)WebPSafeMalloc(xsize * 3, sizeof(*copy_buffer)); in VP8ApplyNearLossless()
[all …]
Dbackward_references_enc.c59 static int DistanceToPlaneCode(int xsize, int dist) { in DistanceToPlaneCode() argument
60 const int yoffset = dist / xsize; in DistanceToPlaneCode()
61 const int xoffset = dist - yoffset * xsize; in DistanceToPlaneCode()
64 } else if (xoffset > xsize - 8 && yoffset < 7) { in DistanceToPlaneCode()
65 return plane_to_code_lut[(yoffset + 1) * 16 + 8 + (xsize - xoffset)] + 1; in DistanceToPlaneCode()
233 static int GetWindowSizeForHashChain(int quality, int xsize) { in GetWindowSizeForHashChain() argument
235 : (quality > 50) ? (xsize << 8) in GetWindowSizeForHashChain()
236 : (quality > 25) ? (xsize << 6) in GetWindowSizeForHashChain()
237 : (xsize << 4); in GetWindowSizeForHashChain()
238 assert(xsize > 0); in GetWindowSizeForHashChain()
[all …]
Dpredictor_enc.c657 int quality, int xsize, int ysize, in GetBestColorTransformForTile() argument
664 const int all_x_max = GetMin(tile_x_offset + max_tile_size, xsize); in GetBestColorTransformForTile()
668 const uint32_t* const tile_argb = argb + tile_y_offset * xsize in GetBestColorTransformForTile()
673 GetBestGreenToRed(tile_argb, xsize, tile_width, tile_height, in GetBestColorTransformForTile()
675 GetBestGreenRedToBlue(tile_argb, xsize, tile_width, tile_height, in GetBestColorTransformForTile()
681 static void CopyTileWithColorTransform(int xsize, int ysize, in CopyTileWithColorTransform() argument
686 const int xscan = GetMin(max_tile_size, xsize - tile_x); in CopyTileWithColorTransform()
688 argb += tile_y * xsize + tile_x; in CopyTileWithColorTransform()
691 argb += xsize; in CopyTileWithColorTransform()
Dhistogram_enc.c466 int xsize, int histo_bits, const VP8LBackwardRefs* const backward_refs, in HistogramBuild() argument
469 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuild()
478 while (x >= xsize) { in HistogramBuild()
479 x -= xsize; in HistogramBuild()
923 int VP8LGetHistoImageSymbols(int xsize, int ysize, in VP8LGetHistoImageSymbols() argument
931 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
947 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
Dhistogram_enc.h101 int VP8LGetHistoImageSymbols(int xsize, int ysize,
Dvp8i_enc.h507 int VP8ApplyNearLossless(int xsize, int ysize, uint32_t* argb, int quality);
509 void VP8ApplyNearLosslessPredict(int xsize, int ysize, int pred_bits,
Dbackward_references_enc.h133 const uint32_t* const argb, int xsize, int ysize,
/external/python/cpython2/Modules/
Dimgfile.c90 int xsize, ysize, zsize; in imgfile_read() local
116 xsize = image->xsize; in imgfile_read()
125 if ( xsize > 8192 ) { in imgfile_read()
133 rv = PyString_FromStringAndSize((char *)NULL, xsize*ysize*zsize); in imgfile_read()
153 for(x=0; x<xsize; x++ ) in imgfile_read()
159 for(x=0; x<xsize; x++ ) in imgfile_read()
216 xscale(IMAGE *image, int xsize, int ysize, int zsize, in xscale() argument
225 filterzoom(xs_get, xs_put_c, xsize, ysize, in xscale()
229 filterzoom(xs_get, xs_put_0, xsize, ysize, in xscale()
232 filterzoom(xs_get, xs_put_12, xsize, ysize, in xscale()
[all …]
Dfmmodule.c98 info.xsize, in fh_getfontinfo()
/external/syslinux/utils/
Dlss16toppm44 ($magic, $xsize, $ysize, @colorset) = unpack("Vvvc48", $header);
82 print "$xsize $ysize\n";
89 while ( $x < $xsize ) {
105 $c = $xsize-$x if ( $c > $xsize-$x );
Dppmtolss16217 $xsize = get_numeric_token();
230 for ( $x = 0 ; $x < $xsize ; $x++ ) {
231 die "$0: Premature EOF at ($x,$y) of ($xsize,$ysize)\n"
304 print pack("Vvv", $magic, $xsize, $ysize);
373 for ( $x = 0 ; $x < $xsize ; $x++ ) {
390 $pixels = $xsize * $ysize;
/external/syslinux/memdisk/
Dpostprocess.pl33 $xsize = $sectors << 9;
39 if ( $size != $xsize ) {
41 print OUT "\0" x ($xsize-$size);
48 seek(OUT, $xsize, SEEK_SET);
/external/syslinux/com32/lib/sys/vesa/
Dbackground.c84 int xsize = __vesa_info.mi.h_res; in tile_image() local
94 for (x = 0 ; x < xsize ; x += width) { in tile_image()
95 xl = min(width, xsize-x); in tile_image()
101 dp += xsize; in tile_image()
102 sp += xsize; in tile_image()
107 drp += xsize*height; in tile_image()
296 uint16_t xsize; member
310 h->xsize <= __vesa_info.mi.h_res && in lss16_sig_cmp()
353 while (x < h->xsize) { in read_lss16_file()
393 count = min(count, h->xsize - x); in read_lss16_file()
/external/syslinux/core/mem/
Dmalloc.c133 size_t newsize, oldsize, xsize; in bios_realloc() local
165 xsize = oldsize; in bios_realloc()
180 xsize = ARENA_SIZE_GET(ah->a.attrs); in bios_realloc()
183 if (xsize >= newsize) { in bios_realloc()
185 if (xsize >= newsize + 2 * sizeof(struct arena_header)) { in bios_realloc()
189 ARENA_SIZE_SET(nah->a.attrs, xsize - newsize); in bios_realloc()
/external/syslinux/com32/lib/syslinux/video/
Dreportmode.c36 void syslinux_report_video_mode(uint16_t flags, uint16_t xsize, uint16_t ysize) in syslinux_report_video_mode() argument
41 using_vga(flags, xsize, ysize); in syslinux_report_video_mode()
/external/bison/m4/
Dxsize.m41 # xsize.m4 serial 5
9 dnl Prerequisites of lib/xsize.h.
/external/valgrind/exp-dhat/
Ddh_main.c211 SizeT xsize; member
248 api->xsize = 0; in intro_Block()
338 tl_assert(api->xsize == 0); in retire_Block()
342 api->xsize = bk->req_szB; in retire_Block()
343 if (0) VG_(printf)("api %p --> Exactly(%lu)\n", api, api->xsize); in retire_Block()
347 api->xsize * sizeof(UInt)); in retire_Block()
348 VG_(memset)(api->histo, 0, api->xsize * sizeof(UInt)); in retire_Block()
354 if (bk->req_szB != api->xsize) { in retire_Block()
356 api, api->xsize, bk->req_szB); in retire_Block()
358 api->xsize = 0; in retire_Block()
[all …]
/external/python/cpython2/RISCOS/Modules/
Ddrawfmodule.c244 int xsize,ysize,x,y; in DrawF_Text() local
252 (int*)&fill,(int*)&bg_hint,(int*)&style,&xsize,&ysize)) return NULL; in DrawF_Text()
267 dtext->xsize=xsize; in DrawF_Text()
274 box->x0=x;box->y0=y;box->x1=x+len*xsize;box->y1=y+ysize; in DrawF_Text()
282 int xsize,ysize,x,y; in DrawF_TText() local
294 (int*)&fill,(int*)&bg_hint,(int*)&style,&xsize,&ysize,&t1,&t2,&t3,&t4,&t5,&t6)) return NULL; in DrawF_TText()
316 dtext->xsize=xsize; in DrawF_TText()
323 box->x0=x;box->y0=y;box->x1=x+len*xsize;box->y1=y+ysize; in DrawF_TText()
/external/syslinux/com32/include/syslinux/
Dvideo.h40 void syslinux_report_video_mode(uint16_t flags, uint16_t xsize, uint16_t ysize);
/external/webp/src/dec/
Dvp8l_dec.c104 static int DecodeImageStream(int xsize, int ysize,
167 static WEBP_INLINE int PlaneCodeToDistance(int xsize, int plane_code) { in PlaneCodeToDistance() argument
174 const int dist = yoffset * xsize + xoffset; in PlaneCodeToDistance()
358 static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, in ReadHuffmanCodes() argument
375 const int huffman_xsize = VP8LSubSampleSize(xsize, huffman_precision); in ReadHuffmanCodes()
687 const uint32_t* const image, int xsize, int bits, int x, int y) { in GetMetaIndex() argument
689 return image[xsize * (y >> bits) + (x >> bits)]; in GetMetaIndex()
1231 static int ReadTransform(int* const xsize, int const* ysize, in ReadTransform() argument
1246 transform->xsize_ = *xsize; in ReadTransform()
1268 *xsize = VP8LSubSampleSize(transform->xsize_, bits); in ReadTransform()
[all …]
/external/svox/pico/tts/
Dcom_svox_picottsengine.cpp1011 size_t xsize; /* size of result */ in cnvIpaToXsampa() local
1020 xsize = (4 * ipaStringSize) + 8; /* assume more than double size */ in cnvIpaToXsampa()
1021 *outXsampaString = (char *) malloc( xsize );/* allocate return string */ in cnvIpaToXsampa()
1023 xsize = 0; /* clear final */ in cnvIpaToXsampa()
1030 xsize = strlen(*outXsampaString); /* get the final length */ in cnvIpaToXsampa()
1031 return xsize; in cnvIpaToXsampa()
/external/clang/test/Analysis/
Dcxx11-crashes.cpp37 const float ysize={0.015}, xsize={0.01}; in testFloatInitializer() local
/external/python/cpython2/Lib/test/
Dtest_types.py131 xsize, ysize, zsize = 238, 356, 4
132 if not (xsize*ysize*zsize == zsize*xsize*ysize == 338912):
/external/python/cpython2/Doc/library/
Dfm.rst94 ``(printermatched, fixed_width, xorig, yorig, xsize, ysize, height, nglyphs)``.
/external/bison/
DAndroid.mk100 lib/xsize.c \

12