Home
last modified time | relevance | path

Searched refs:ysize (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/enc/
Dnear_lossless_enc.c74 static void NearLossless(int xsize, int ysize, const uint32_t* argb_src, in NearLossless() argument
85 for (y = 0; y < ysize; ++y, argb_src += stride, argb_dst += xsize) { in NearLossless()
86 if (y == 0 || y == ysize - 1) { in NearLossless()
114 const int ysize = picture->height; in VP8ApplyNearLossless() local
127 ysize < MIN_DIM_FOR_NEAR_LOSSLESS) || in VP8ApplyNearLossless()
128 ysize < 3) { in VP8ApplyNearLossless()
129 for (i = 0; i < ysize; ++i) { in VP8ApplyNearLossless()
137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
140 NearLossless(xsize, ysize, argb_dst, xsize, i, copy_buffer, argb_dst); in VP8ApplyNearLossless()
Dbackward_references_enc.c257 const uint32_t* const argb, int xsize, int ysize, in VP8LHashChainFill() argument
259 const int size = xsize * ysize; in VP8LHashChainFill()
442 static int BackwardReferencesRle(int xsize, int ysize, in BackwardReferencesRle() argument
445 const int pix_count = xsize * ysize; in BackwardReferencesRle()
485 static int BackwardReferencesLz77(int xsize, int ysize, in BackwardReferencesLz77() argument
494 const int pix_count = xsize * ysize; in BackwardReferencesLz77()
557 static int BackwardReferencesLz77Box(int xsize, int ysize, in BackwardReferencesLz77Box() argument
563 const int pix_count = xsize * ysize; in BackwardReferencesLz77Box()
570 (uint16_t*)WebPSafeMalloc(xsize * ysize, sizeof(*counts_ini)); in BackwardReferencesLz77Box()
702 return BackwardReferencesLz77(xsize, ysize, argb, cache_bits, hash_chain, in BackwardReferencesLz77Box()
[all …]
Dbackward_references_cost_enc.c564 int xsize, int ysize, const uint32_t* const argb, int cache_bits, in BackwardReferencesHashChainDistanceOnly() argument
570 const int pix_count = xsize * ysize; 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()
777 xsize, ysize, argb, cache_bits, hash_chain, refs_src, dist_array)) { in VP8LBackwardReferencesTraceBackwards()
Dhistogram_enc.h109 int VP8LGetHistoImageSymbols(int xsize, int ysize,
Dpredictor_enc.c679 int quality, int xsize, int ysize, in GetBestColorTransformForTile() argument
687 const int all_y_max = GetMin(tile_y_offset + max_tile_size, ysize); in GetBestColorTransformForTile()
703 static void CopyTileWithColorTransform(int xsize, int ysize, in CopyTileWithColorTransform() argument
709 int yscan = GetMin(max_tile_size, ysize - tile_y); in CopyTileWithColorTransform()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dnear_lossless_enc.c74 static void NearLossless(int xsize, int ysize, const uint32_t* argb_src, in NearLossless() argument
85 for (y = 0; y < ysize; ++y, argb_src += stride, argb_dst += xsize) { in NearLossless()
86 if (y == 0 || y == ysize - 1) { in NearLossless()
114 const int ysize = picture->height; in VP8ApplyNearLossless() local
127 ysize < MIN_DIM_FOR_NEAR_LOSSLESS) || in VP8ApplyNearLossless()
128 ysize < 3) { in VP8ApplyNearLossless()
129 for (i = 0; i < ysize; ++i) { in VP8ApplyNearLossless()
137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
140 NearLossless(xsize, ysize, argb_dst, xsize, i, copy_buffer, argb_dst); in VP8ApplyNearLossless()
Dbackward_references_enc.c226 const uint32_t* const argb, int xsize, int ysize, in VP8LHashChainFill() argument
228 const int size = xsize * ysize; in VP8LHashChainFill()
411 static int BackwardReferencesRle(int xsize, int ysize, in BackwardReferencesRle() argument
414 const int pix_count = xsize * ysize; in BackwardReferencesRle()
454 static int BackwardReferencesLz77(int xsize, int ysize, in BackwardReferencesLz77() argument
463 const int pix_count = xsize * ysize; in BackwardReferencesLz77()
526 static int BackwardReferencesLz77Box(int xsize, int ysize, in BackwardReferencesLz77Box() argument
532 const int pix_count = xsize * ysize; in BackwardReferencesLz77Box()
539 (uint16_t*)WebPSafeMalloc(xsize * ysize, sizeof(*counts_ini)); in BackwardReferencesLz77Box()
671 return BackwardReferencesLz77(xsize, ysize, argb, cache_bits, hash_chain, in BackwardReferencesLz77Box()
[all …]
Dbackward_references_cost_enc.c564 int xsize, int ysize, const uint32_t* const argb, int cache_bits, in BackwardReferencesHashChainDistanceOnly() argument
570 const int pix_count = xsize * ysize; 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()
777 xsize, ysize, argb, cache_bits, hash_chain, refs_src, dist_array)) { in VP8LBackwardReferencesTraceBackwards()
Dhistogram_enc.h109 int VP8LGetHistoImageSymbols(int xsize, int ysize,
Dpredictor_enc.c679 int quality, int xsize, int ysize, in GetBestColorTransformForTile() argument
687 const int all_y_max = GetMin(tile_y_offset + max_tile_size, ysize); in GetBestColorTransformForTile()
703 static void CopyTileWithColorTransform(int xsize, int ysize, in CopyTileWithColorTransform() argument
709 int yscan = GetMin(max_tile_size, ysize - tile_y); in CopyTileWithColorTransform()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c413 FT_UInt xsize, ysize; in pfr_load_bitmap_metrics() local
422 ysize = 0; in pfr_load_bitmap_metrics()
462 ysize = 0; in pfr_load_bitmap_metrics()
469 ysize = b & 0xF; in pfr_load_bitmap_metrics()
475 ysize = PFR_NEXT_BYTE( p ); in pfr_load_bitmap_metrics()
481 ysize = PFR_NEXT_USHORT( p ); in pfr_load_bitmap_metrics()
517 *aysize = ysize; 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 …]
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c413 FT_UInt xsize, ysize; in pfr_load_bitmap_metrics() local
422 ysize = 0; in pfr_load_bitmap_metrics()
462 ysize = 0; in pfr_load_bitmap_metrics()
469 ysize = b & 0xF; in pfr_load_bitmap_metrics()
475 ysize = PFR_NEXT_BYTE( p ); in pfr_load_bitmap_metrics()
481 ysize = PFR_NEXT_USHORT( p ); in pfr_load_bitmap_metrics()
517 *aysize = ysize; 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 …]
/third_party/freetype/src/pfr/
Dpfrsbit.c413 FT_UInt xsize, ysize; in pfr_load_bitmap_metrics() local
422 ysize = 0; in pfr_load_bitmap_metrics()
462 ysize = 0; in pfr_load_bitmap_metrics()
469 ysize = b & 0xF; in pfr_load_bitmap_metrics()
475 ysize = PFR_NEXT_BYTE( p ); in pfr_load_bitmap_metrics()
481 ysize = PFR_NEXT_USHORT( p ); in pfr_load_bitmap_metrics()
517 *aysize = ysize; 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 …]
/third_party/ffmpeg/libavformat/
Dimg2enc.c188 int ysize = par->width * par->height; in write_packet() local
191 ysize *= 2; in write_packet()
194 avio_write(pb[0], pkt->data , ysize); in write_packet()
195 avio_write(pb[1], pkt->data + ysize , usize); in write_packet()
196 avio_write(pb[2], pkt->data + ysize + usize, usize); in write_packet()
200 avio_write(pb[3], pkt->data + ysize + 2*usize, ysize); in write_packet()
/third_party/ffmpeg/doc/examples/
Ddecode_video.c38 static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize, in pgm_save() argument
45 fprintf(f, "P5\n%d %d\n%d\n", xsize, ysize, 255); in pgm_save()
46 for (i = 0; i < ysize; i++) in pgm_save()
/third_party/ffmpeg/libavcodec/
Dexr.c135 int ysize, xsize; member
644 wav_decode(ptr + j, td->xsize, pixel_half_size, td->ysize, in piz_uncompress()
646 ptr += td->xsize * td->ysize * pixel_half_size; in piz_uncompress()
652 for (i = 0; i < td->ysize; i++) { in piz_uncompress()
661 in = tmp + tmp_offset * td->xsize * td->ysize + i * td->xsize * pixel_half_size; in piz_uncompress()
687 … expected_len += (td->xsize * td->ysize * 3);/* PRX 24 store float in 24 bit instead of 32 */ in pxr24_uncompress()
689 expected_len += (td->xsize * td->ysize * 2); in pxr24_uncompress()
691 expected_len += (td->xsize * td->ysize * 4); in pxr24_uncompress()
704 for (i = 0; i < td->ysize; i++) in pxr24_uncompress()
826 nb_b44_block_h = td->ysize / 4; in b44_uncompress()
[all …]
Dtruemotion1.c92 uint16_t ysize; member
338 header.ysize = AV_RL16(&header_buffer[3]); in truemotion1_decode_header()
368 s->h = header.ysize; in truemotion1_decode_header()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DASTC_Decoder.cpp33 int xsize, int ysize, int zsize, in write_imageblock() argument
54 if(xi >= 0 && yi >= 0 && zi >= 0 && xi < xsize && yi < ysize && zi < zsize) in write_imageblock()
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c817 unsigned int ysize; in write_png() local
833 ysize = 1U; in write_png()
839 ysize = 256U; in write_png()
844 ysize = size; in write_png()
884 png_set_IHDR(png_ptr, info_ptr, size, ysize, bit_depth, color_type, in write_png()
964 for (y=0; y<ysize; ++y) in write_png()
/third_party/libpng/contrib/libtests/
Dmakepng.c817 unsigned int ysize; in write_png() local
833 ysize = 1U; in write_png()
839 ysize = 256U; in write_png()
844 ysize = size; in write_png()
884 png_set_IHDR(png_ptr, info_ptr, size, ysize, bit_depth, color_type, in write_png()
964 for (y=0; y<ysize; ++y) in write_png()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c817 unsigned int ysize; in write_png() local
833 ysize = 1U; in write_png()
839 ysize = 256U; in write_png()
844 ysize = size; in write_png()
884 png_set_IHDR(png_ptr, info_ptr, size, ysize, bit_depth, color_type, in write_png()
964 for (y=0; y<ysize; ++y) in write_png()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c104 static int DecodeImageStream(int xsize, int ysize,
358 static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, in ReadHuffmanCodes() argument
379 const int huffman_ysize = VP8LSubSampleSize(ysize, huffman_precision); in ReadHuffmanCodes()
400 if (num_htree_groups_max > 1000 || num_htree_groups_max > xsize * ysize) { in ReadHuffmanCodes()
1292 static int ReadTransform(int* const xsize, int const* ysize, in ReadTransform() argument
1308 transform->ysize_ = *ysize; in ReadTransform()
1414 static int DecodeImageStream(int xsize, int ysize, in DecodeImageStream() argument
1420 int transform_ysize = ysize; in DecodeImageStream()
Dframe_dec.c409 const int ysize = extra_y_rows * dec->cache_y_stride_; in FinishRow() local
413 uint8_t* const ydst = dec->cache_y_ - ysize + y_offset; in FinishRow()
488 memcpy(dec->cache_y_ - ysize, ydst + 16 * dec->cache_y_stride_, ysize); in FinishRow()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c104 static int DecodeImageStream(int xsize, int ysize,
358 static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, in ReadHuffmanCodes() argument
379 const int huffman_ysize = VP8LSubSampleSize(ysize, huffman_precision); in ReadHuffmanCodes()
400 if (num_htree_groups_max > 1000 || num_htree_groups_max > xsize * ysize) { in ReadHuffmanCodes()
1296 static int ReadTransform(int* const xsize, int const* ysize, in ReadTransform() argument
1312 transform->ysize_ = *ysize; in ReadTransform()
1418 static int DecodeImageStream(int xsize, int ysize, in DecodeImageStream() argument
1424 int transform_ysize = ysize; in DecodeImageStream()
Dframe_dec.c409 const int ysize = extra_y_rows * dec->cache_y_stride_; in FinishRow() local
413 uint8_t* const ydst = dec->cache_y_ - ysize + y_offset; in FinishRow()
488 memcpy(dec->cache_y_ - ysize, ydst + 16 * dec->cache_y_stride_, ysize); in FinishRow()

12