/external/webp/src/enc/ |
D | near_lossless_enc.c | 74 static void NearLossless(int xsize, int ysize, const uint32_t* argb_src, in NearLossless() argument 80 uint32_t* curr_row = prev_row + xsize; in NearLossless() 81 uint32_t* next_row = curr_row + xsize; in NearLossless() 82 memcpy(curr_row, argb_src, xsize * sizeof(argb_src[0])); in NearLossless() 83 memcpy(next_row, argb_src + stride, xsize * sizeof(argb_src[0])); in NearLossless() 85 for (y = 0; y < ysize; ++y, argb_src += stride, argb_dst += xsize) { in NearLossless() 87 memcpy(argb_dst, argb_src, xsize * sizeof(argb_src[0])); in NearLossless() 89 memcpy(next_row, argb_src + stride, xsize * sizeof(argb_src[0])); in NearLossless() 91 argb_dst[xsize - 1] = argb_src[xsize - 1]; in NearLossless() 92 for (x = 1; x < xsize - 1; ++x) { in NearLossless() [all …]
|
D | backward_references_enc.c | 48 extern int VP8LDistanceToPlaneCode(int xsize, int dist); 49 int VP8LDistanceToPlaneCode(int xsize, int dist) { in VP8LDistanceToPlaneCode() argument 50 const int yoffset = dist / xsize; in VP8LDistanceToPlaneCode() 51 const int xoffset = dist - yoffset * xsize; in VP8LDistanceToPlaneCode() 54 } else if (xoffset > xsize - 8 && yoffset < 7) { in VP8LDistanceToPlaneCode() 55 return plane_to_code_lut[(yoffset + 1) * 16 + 8 + (xsize - xoffset)] + 1; in VP8LDistanceToPlaneCode() 211 static int GetWindowSizeForHashChain(int quality, int xsize) { in GetWindowSizeForHashChain() argument 213 : (quality > 50) ? (xsize << 8) in GetWindowSizeForHashChain() 214 : (quality > 25) ? (xsize << 6) in GetWindowSizeForHashChain() 215 : (xsize << 4); in GetWindowSizeForHashChain() [all …]
|
D | backward_references_cost_enc.c | 28 extern int VP8LDistanceToPlaneCode(int xsize, int dist); 61 static int CostModelBuild(CostModel* const m, int xsize, int cache_bits, in CostModelBuild() argument 73 xsize); in CostModelBuild() 564 int xsize, int ysize, const uint32_t* const argb, int cache_bits, in BackwardReferencesHashChainDistanceOnly() argument 570 const int pix_count = xsize * ysize; in BackwardReferencesHashChainDistanceOnly() 594 if (!CostModelBuild(cost_model, xsize, cache_bits, refs)) { in BackwardReferencesHashChainDistanceOnly() 622 const int code = VP8LDistanceToPlaneCode(xsize, offset); in BackwardReferencesHashChainDistanceOnly() 758 int xsize, int ysize, const uint32_t* const argb, int cache_bits, 761 int VP8LBackwardReferencesTraceBackwards(int xsize, int ysize, in VP8LBackwardReferencesTraceBackwards() argument 768 const int dist_array_size = xsize * ysize; in VP8LBackwardReferencesTraceBackwards() [all …]
|
D | predictor_enc.c | 679 int quality, int xsize, int ysize, in GetBestColorTransformForTile() argument 686 const int all_x_max = GetMin(tile_x_offset + max_tile_size, xsize); in GetBestColorTransformForTile() 690 const uint32_t* const tile_argb = argb + tile_y_offset * xsize in GetBestColorTransformForTile() 695 GetBestGreenToRed(tile_argb, xsize, tile_width, tile_height, in GetBestColorTransformForTile() 697 GetBestGreenRedToBlue(tile_argb, xsize, tile_width, tile_height, in GetBestColorTransformForTile() 703 static void CopyTileWithColorTransform(int xsize, int ysize, in CopyTileWithColorTransform() argument 708 const int xscan = GetMin(max_tile_size, xsize - tile_x); in CopyTileWithColorTransform() 710 argb += tile_y * xsize + tile_x; in CopyTileWithColorTransform() 713 argb += xsize; in CopyTileWithColorTransform()
|
D | histogram_enc.c | 558 int xsize, int histo_bits, const VP8LBackwardRefs* const backward_refs, in HistogramBuild() argument 561 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuild() 571 while (x >= xsize) { in HistogramBuild() 572 x -= xsize; in HistogramBuild() 1170 int VP8LGetHistoImageSymbols(int xsize, int ysize, in VP8LGetHistoImageSymbols() argument 1178 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols() 1195 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
|
D | histogram_enc.h | 109 int VP8LGetHistoImageSymbols(int xsize, int ysize,
|
/external/python/cpython2/Modules/ |
D | imgfile.c | 90 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 …]
|
/external/u-boot/common/ |
D | lcd_simplefb.c | 20 int xsize, ysize; in lcd_dt_simplefb_configure_node() local 35 xsize = uc_priv->xsize; in lcd_dt_simplefb_configure_node() 40 xsize = lcd_get_pixel_width(); in lcd_dt_simplefb_configure_node() 56 return fdt_setup_simplefb_node(blob, off, fb_base, xsize, ysize, in lcd_dt_simplefb_configure_node() 57 xsize * (1 << bpix) / 8, name); in lcd_dt_simplefb_configure_node()
|
/external/freetype/src/pfr/ |
D | pfrsbit.c | 413 FT_UInt xsize, ysize; in pfr_load_bitmap_metrics() local 421 xsize = 0; in pfr_load_bitmap_metrics() 461 xsize = 0; in pfr_load_bitmap_metrics() 468 xsize = ( b >> 4 ) & 0xF; in pfr_load_bitmap_metrics() 474 xsize = PFR_NEXT_BYTE( p ); in pfr_load_bitmap_metrics() 480 xsize = PFR_NEXT_USHORT( p ); in pfr_load_bitmap_metrics() 516 *axsize = xsize; in pfr_load_bitmap_metrics() 657 FT_UInt xsize = 0, ysize = 0, format = 0; in pfr_slot_load_bitmap() local 684 &xsize, &ysize, in pfr_slot_load_bitmap() 713 if ( ( (FT_ULong)xsize * ysize + 7 ) / 8 > gps_size ) in pfr_slot_load_bitmap() [all …]
|
/external/libaom/libaom/third_party/fastfeat/ |
D | fast.c | 6 xy* fast9_detect_nonmax(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corne… in fast9_detect_nonmax() argument 13 corners = fast9_detect(im, xsize, ysize, stride, b, &num_corners); in fast9_detect_nonmax()
|
D | fast.h | 10 xy* fast9_detect(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corners); 14 xy* fast9_detect_nonmax(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corne…
|
D | README.libvpx | 17 xy* fastX_detect_nonmax(const unsigned char * data, int xsize, int ysize, int stride, int threshold… 31 is the same as xsize.
|
/external/python/cpython2/RISCOS/Modules/ |
D | drawfmodule.c | 244 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/u-boot/drivers/video/ |
D | simplefb.c | 42 uc_priv->xsize = fdtdec_get_uint(blob, node, "width", 0); in simple_video_probe() 47 debug("%s: %dx%d@%s\n", __func__, uc_priv->xsize, uc_priv->ysize, format); in simple_video_probe()
|
D | console_normal.c | 20 int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize; in console_normal_set_row() 143 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_normal_probe()
|
D | console_rotate.c | 150 int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize; in console_set_row_2() 221 (vid_priv->xsize - VID_TO_PIXEL(x_frac) - in console_putc_xy_2() 410 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_probe_2() 425 vc_priv->rows = vid_priv->xsize / VIDEO_FONT_HEIGHT; in console_probe_1_3()
|
D | video-uclass.c | 173 return priv->xsize; in video_get_xsize() 216 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
|
D | bcm2835.c | 40 uc_priv->xsize = w; in bcm2835_video_probe()
|
D | video_bmp.c | 202 unsigned long pwidth = priv->xsize; in video_bmp_display() 253 video_splash_align_axis(&x, priv->xsize, width); in video_bmp_display()
|
/external/u-boot/drivers/video/sunxi/ |
D | sunxi_de2.c | 220 uc_priv->xsize = timing.hactive.typ; in sunxi_de2_init() 223 debug("fb=%lx, size=%d %d\n", fbbase, uc_priv->xsize, uc_priv->ysize); in sunxi_de2_init() 397 de2_priv->xsize, de2_priv->ysize, in sunxi_simplefb_setup() 398 VNBYTES(de2_priv->bpix) * de2_priv->xsize, in sunxi_simplefb_setup()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/ |
D | v60-vsel1.ll | 8 define void @fast9_detect_coarse(i8* nocapture readnone %img, i32 %xsize, i32 %stride, i32 %barrier… 12 %sub = add i32 %1, %xsize 29 %9 = add i32 %rem, %xsize
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 104 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 382 const int huffman_xsize = VP8LSubSampleSize(xsize, huffman_precision); in ReadHuffmanCodes() 404 if (num_htree_groups_max > 1000 || num_htree_groups_max > xsize * ysize) { in ReadHuffmanCodes() 742 const uint32_t* const image, int xsize, int bits, int x, int y) { in GetMetaIndex() argument 744 return image[xsize * (y >> bits) + (x >> bits)]; in GetMetaIndex() 1295 static int ReadTransform(int* const xsize, int const* ysize, in ReadTransform() argument 1310 transform->xsize_ = *xsize; in ReadTransform() [all …]
|
/external/clang/test/Analysis/ |
D | cxx11-crashes.cpp | 37 const float ysize={0.015}, xsize={0.01}; in testFloatInitializer() local
|
/external/u-boot/drivers/pci/ |
D | pci_rom.c | 332 uc_priv->xsize = vesa->x_resolution; in vbe_setup_video_priv() 377 printf("Video: %dx%dx%d\n", uc_priv->xsize, uc_priv->ysize, in vbe_setup_video()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | svd_test.cc | 125 Array2D<float> GenerateRandomMatrix(int xsize, int ysize) { in GenerateRandomMatrix() argument 126 Array2D<float> result{xsize, ysize, 0.0}; in GenerateRandomMatrix()
|