Home
last modified time | relevance | path

Searched refs:pixel_count (Results 1 - 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpgssubdec.c166 int pixel_count, line_count; in decode_rle() local
175 pixel_count = 0; in decode_rle()
193 if (run > 0 && pixel_count + run <= rect->w * rect->h) { in decode_rle()
194 memset(rect->data[0] + pixel_count, color, run); in decode_rle()
195 pixel_count += run; in decode_rle()
201 if (pixel_count % rect->w > 0) { in decode_rle()
203 pixel_count % rect->w, rect->w); in decode_rle()
212 if (pixel_count < rect->w * rect->h) { in decode_rle()
217 ff_dlog(avctx, "Pixel Count = %d, Area = %d\n", pixel_count, rect->w * rect->h); in decode_rle()
H A Dxan.c210 const uint8_t *pixel_buffer, int x, int y, int pixel_count) in xan_wc3_output_pixel_run()
224 while (pixel_count && index < s->frame_size) { in xan_wc3_output_pixel_run()
225 int count = FFMIN(pixel_count, width - current_x); in xan_wc3_output_pixel_run()
227 pixel_count -= count; in xan_wc3_output_pixel_run()
241 int pixel_count, int motion_x, in xan_wc3_copy_pixel_run()
266 if (prev_palette_plane == palette_plane && FFABS(motion_x + width*motion_y) < pixel_count) { in xan_wc3_copy_pixel_run()
271 while (pixel_count && in xan_wc3_copy_pixel_run()
274 int count = FFMIN3(pixel_count, width - curframe_x, in xan_wc3_copy_pixel_run()
279 pixel_count -= count; in xan_wc3_copy_pixel_run()
209 xan_wc3_output_pixel_run(XanContext *s, AVFrame *frame, const uint8_t *pixel_buffer, int x, int y, int pixel_count) xan_wc3_output_pixel_run() argument
239 xan_wc3_copy_pixel_run(XanContext *s, AVFrame *frame, int x, int y, int pixel_count, int motion_x, int motion_y) xan_wc3_copy_pixel_run() argument
H A Drpzaenc.c564 int pixel_count; in rpza_encode_stream() local
648 total_rgb, &pixel_count, avg_color, 1)) { in rpza_encode_stream()
669 total_rgb, &pixel_count, avg_color, 0)) { in rpza_encode_stream()
/third_party/astc-encoder/Source/
H A Dastcenccli_image_load_store.cpp383 * @param pixel_count The number of pixels in the scanline.
389 int pixel_count, in copy_scanline()
401 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
415 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
429 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
443 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
457 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
471 for (int i = 0; i < pixel_count; i++)\ in copy_scanline()
485 for (int i = 0; i < pixel_count; i++) \ in copy_scanline()
499 for (int i = 0; i < pixel_count; in copy_scanline()
386 copy_scanline( void* dst, const void* src, int pixel_count, scanline_transfer method ) copy_scanline() argument
[all...]
H A Dstb_image.h4910 stbi__uint32 i, pixel_count = s->img_x * s->img_y; in stbi__compute_transparency() local
4918 for (i=0; i < pixel_count; ++i) { in stbi__compute_transparency()
4923 for (i=0; i < pixel_count; ++i) { in stbi__compute_transparency()
4935 stbi__uint32 i, pixel_count = s->img_x * s->img_y; in stbi__compute_transparency16() local
4943 for (i = 0; i < pixel_count; ++i) { in stbi__compute_transparency16()
4948 for (i = 0; i < pixel_count; ++i) { in stbi__compute_transparency16()
4959 stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y; in stbi__expand_png_palette() local
4962 p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0); in stbi__expand_png_palette()
4969 for (i=0; i < pixel_count; ++i) { in stbi__expand_png_palette()
4977 for (i=0; i < pixel_count; in stbi__expand_png_palette()
5037 stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__de_iphone() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A 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/
H A 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()

Completed in 19 milliseconds