Home
last modified time | relevance | path

Searched refs:pixel_count (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dxan.c209 const uint8_t *pixel_buffer, int x, int y, int pixel_count) in xan_wc3_output_pixel_run() argument
223 while (pixel_count && index < s->frame_size) { in xan_wc3_output_pixel_run()
224 int count = FFMIN(pixel_count, width - current_x); in xan_wc3_output_pixel_run()
226 pixel_count -= count; in xan_wc3_output_pixel_run()
240 int pixel_count, int motion_x, in xan_wc3_copy_pixel_run() argument
265 if (prev_palette_plane == palette_plane && FFABS(motion_x + width*motion_y) < pixel_count) { in xan_wc3_copy_pixel_run()
270 while (pixel_count && in xan_wc3_copy_pixel_run()
273 int count = FFMIN3(pixel_count, width - curframe_x, in xan_wc3_copy_pixel_run()
278 pixel_count -= count; in xan_wc3_copy_pixel_run()
Dpgssubdec.c165 int pixel_count, line_count; in decode_rle() local
174 pixel_count = 0; in decode_rle()
192 if (run > 0 && pixel_count + run <= rect->w * rect->h) { in decode_rle()
193 memset(rect->data[0] + pixel_count, color, run); in decode_rle()
194 pixel_count += run; in decode_rle()
200 if (pixel_count % rect->w > 0) { in decode_rle()
202 pixel_count % rect->w, rect->w); in decode_rle()
211 if (pixel_count < rect->w * rect->h) { in decode_rle()
216 ff_dlog(avctx, "Pixel Count = %d, Area = %d\n", pixel_count, rect->w * rect->h); in decode_rle()
Drpzaenc.c563 int pixel_count; in rpza_encode_stream() local
647 total_rgb, &pixel_count, avg_color, 1)) { in rpza_encode_stream()
668 total_rgb, &pixel_count, avg_color, 0)) { in rpza_encode_stream()
/third_party/cups-filters/
Dohos_pdftoraster.patch62 unsigned int pixel_count;
95 - pixel_count=im.width()*im.height();
101 + pixel_count=header.cupsWidth * header.cupsHeight;
103 cupsImageRGBToWhite(newdata,graydata,pixel_count);
113 - pixel_count=im.width()*im.height();
117 + // pixel_count=im.width()*im.height();
122 + pixel_count=header.cupsWidth * header.cupsHeight;
/third_party/astc-encoder/Source/
Dastcenccli_image_load_store.cpp296 int pixel_count, in copy_scanline() argument
308 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
322 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
336 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
350 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
364 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
378 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
392 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
406 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
420 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
[all …]
Dstb_image.h4847 stbi__uint32 i, pixel_count = s->img_x * s->img_y; in stbi__compute_transparency() local
4855 for (i=0; i < pixel_count; ++i) { in stbi__compute_transparency()
4860 for (i=0; i < pixel_count; ++i) { in stbi__compute_transparency()
4872 stbi__uint32 i, pixel_count = s->img_x * s->img_y; in stbi__compute_transparency16() local
4880 for (i = 0; i < pixel_count; ++i) { in stbi__compute_transparency16()
4885 for (i = 0; i < pixel_count; ++i) { in stbi__compute_transparency16()
4896 stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y; in stbi__expand_png_palette() local
4899 p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0); in stbi__expand_png_palette()
4906 for (i=0; i < pixel_count; ++i) { in stbi__expand_png_palette()
4914 for (i=0; i < pixel_count; ++i) { in stbi__expand_png_palette()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dframe_enc.c581 const uint64_t pixel_count = nb_mbs * 384; in OneStatPass() local
609 s->value = GetPSNR(distortion, pixel_count); in OneStatPass()
785 const uint64_t pixel_count = enc->mb_w_ * enc->mb_h_ * 384; in VP8EncTokenLoop() local
850 stats.value = GetPSNR(distortion, pixel_count); in VP8EncTokenLoop()
/third_party/cups-filters/filter/
Dpdftoraster.cxx1568 unsigned int pixel_count; in writePageImage() local
1590 pixel_count=im.width()*im.height(); in writePageImage()
1592 cupsImageRGBToWhite(newdata,graydata,pixel_count); in writePageImage()
1608 pixel_count=im.width()*im.height(); in writePageImage()