/third_party/skia/third_party/externals/libwebp/examples/ |
D | anim_util.c | 42 int canvas_width, int canvas_height) { in IsFullFrame() argument 43 return (width == canvas_width && height == canvas_height); in IsFullFrame() 56 (uint64_t)image->canvas_width * kNumChannels * image->canvas_height; in AllocateFrames() 96 uint32_t canvas_width, uint32_t canvas_height) { in ZeroFillCanvas() argument 97 memset(rgba, 0, canvas_width * kNumChannels * canvas_height); in ZeroFillCanvas() 153 int canvas_width, int canvas_height) { in DumpFrame() argument 185 canvas_width, canvas_height) < 0) { in DumpFrame() 190 for (y = 0; y < canvas_height; ++y) { in DumpFrame() 239 image->canvas_height = anim_info.canvas_height; in ReadAnimatedWebP() 263 image->canvas_width * kNumChannels * image->canvas_height); in ReadAnimatedWebP() [all …]
|
D | vwebp.c | 62 int canvas_width, canvas_height; member 97 prev->height = kParams.canvas_height; in ClearPreviousFrame() 343 window_y = window_y * kParams.viewport_height / kParams.canvas_height; in DrawBackgroundScissored() 345 frame_h = frame_h * kParams.viewport_height / kParams.canvas_height; in DrawBackgroundScissored() 364 (GLfloat)(-1. / kParams.canvas_height * kParams.viewport_height)); in HandleDisplay() 366 yoff = (GLfloat)(2. * curr->y_offset / kParams.canvas_height); in HandleDisplay() 422 int height = kParams.canvas_height; in StartDisplay() 569 kParams.canvas_height = WebPDemuxGetI(kParams.dmux, WEBP_FF_CANVAS_HEIGHT); in main() 571 printf("Canvas: %d x %d\n", kParams.canvas_width, kParams.canvas_height); in main()
|
D | anim_diff.c | 90 img->canvas_height, max_diff); in MinimizeAnimationFrames() 93 FramesAreEqual(rgba1, rgba2, img->canvas_width, img->canvas_height); in MinimizeAnimationFrames() 141 ok = CompareValues(img1->canvas_height, img2->canvas_height, in CompareAnimatedImagePair() 177 GetDiffAndPSNR(rgba1, rgba2, img1->canvas_width, img1->canvas_height, in CompareAnimatedImagePair()
|
D | anim_util.h | 39 uint32_t canvas_height; member
|
D | anim_dump.c | 105 buffer.height = image.canvas_height; in main()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | anim_util.c | 42 int canvas_width, int canvas_height) { in IsFullFrame() argument 43 return (width == canvas_width && height == canvas_height); in IsFullFrame() 56 (uint64_t)image->canvas_width * kNumChannels * image->canvas_height; in AllocateFrames() 96 uint32_t canvas_width, uint32_t canvas_height) { in ZeroFillCanvas() argument 97 memset(rgba, 0, canvas_width * kNumChannels * canvas_height); in ZeroFillCanvas() 153 int canvas_width, int canvas_height) { in DumpFrame() argument 185 canvas_width, canvas_height) < 0) { in DumpFrame() 190 for (y = 0; y < canvas_height; ++y) { in DumpFrame() 239 image->canvas_height = anim_info.canvas_height; in ReadAnimatedWebP() 263 image->canvas_width * kNumChannels * image->canvas_height); in ReadAnimatedWebP() [all …]
|
D | vwebp.c | 62 int canvas_width, canvas_height; member 97 prev->height = kParams.canvas_height; in ClearPreviousFrame() 343 window_y = window_y * kParams.viewport_height / kParams.canvas_height; in DrawBackgroundScissored() 345 frame_h = frame_h * kParams.viewport_height / kParams.canvas_height; in DrawBackgroundScissored() 364 (GLfloat)(-1. / kParams.canvas_height * kParams.viewport_height)); in HandleDisplay() 366 yoff = (GLfloat)(2. * curr->y_offset / kParams.canvas_height); in HandleDisplay() 422 int height = kParams.canvas_height; in StartDisplay() 569 kParams.canvas_height = WebPDemuxGetI(kParams.dmux, WEBP_FF_CANVAS_HEIGHT); in main() 571 printf("Canvas: %d x %d\n", kParams.canvas_width, kParams.canvas_height); in main()
|
D | anim_diff.c | 90 img->canvas_height, max_diff); in MinimizeAnimationFrames() 93 FramesAreEqual(rgba1, rgba2, img->canvas_width, img->canvas_height); in MinimizeAnimationFrames() 141 ok = CompareValues(img1->canvas_height, img2->canvas_height, in CompareAnimatedImagePair() 177 GetDiffAndPSNR(rgba1, rgba2, img1->canvas_width, img1->canvas_height, in CompareAnimatedImagePair()
|
D | anim_util.h | 39 uint32_t canvas_height; member
|
D | anim_dump.c | 105 buffer.height = image.canvas_height; in main()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 110 dec->info_.canvas_height = WebPDemuxGetI(dec->demux_, WEBP_FF_CANVAS_HEIGHT); in WebPAnimDecoderNewInternal() 117 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal() 120 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal() 139 int canvas_height) { in IsFullFrame() argument 140 return (width == canvas_width && height == canvas_height); in IsFullFrame() 145 uint32_t canvas_height) { in ZeroFillCanvas() argument 147 (uint64_t)canvas_width * canvas_height * NUM_CHANNELS * sizeof(*buf); in ZeroFillCanvas() 179 int canvas_width, int canvas_height) { in IsKeyFrame() argument 184 canvas_width, canvas_height)) { in IsKeyFrame() 189 canvas_height) || in IsKeyFrame() [all …]
|
D | demux.c | 577 int canvas_width, int canvas_height) { in CheckFrameBounds() argument 582 if (frame->width_ != canvas_width || frame->height_ != canvas_height) { in CheckFrameBounds() 588 if (frame->height_ + frame->y_offset_ > canvas_height) return 0; in CheckFrameBounds()
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 118 dec->info_.canvas_height = WebPDemuxGetI(dec->demux_, WEBP_FF_CANVAS_HEIGHT); in WebPAnimDecoderNewInternal() 125 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal() 128 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal() 147 int canvas_height) { in IsFullFrame() argument 148 return (width == canvas_width && height == canvas_height); in IsFullFrame() 153 uint32_t canvas_height) { in ZeroFillCanvas() argument 155 (uint64_t)canvas_width * canvas_height * NUM_CHANNELS * sizeof(*buf); in ZeroFillCanvas() 187 int canvas_width, int canvas_height) { in IsKeyFrame() argument 192 canvas_width, canvas_height)) { in IsKeyFrame() 197 canvas_height) || in IsKeyFrame() [all …]
|
D | demux.c | 588 int canvas_width, int canvas_height) { in CheckFrameBounds() argument 593 if (frame->width_ != canvas_width || frame->height_ != canvas_height) { in CheckFrameBounds() 599 if (frame->height_ + frame->y_offset_ > canvas_height) return 0; in CheckFrameBounds()
|
/third_party/gstreamer/gstplugins_good/ext/libcaca/ |
D | gstcacatv.c | 182 cacatv->canvas_height); in gst_cacatv_setcaps() 220 cacatv->canvas_height * caca_get_font_height (cacatv->font); in gst_cacatv_transform_caps() 315 cacatv->canvas_height = GST_CACA_DEFAULT_SCREEN_HEIGHT; in gst_cacatv_init() 317 caca_create_canvas (cacatv->canvas_width, cacatv->canvas_height); in gst_cacatv_init() 354 cacatv->canvas_height = g_value_get_int (value); in gst_cacatv_set_property() 385 g_value_set_int (value, cacatv->canvas_height); in gst_cacatv_get_property()
|
D | gstcacatv.h | 43 gint canvas_height, canvas_width; member
|
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/ |
D | animdecoder_fuzzer.cc | 40 info.canvas_height)) { in LLVMFuzzerTestOneInput()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | webp_dec.c | 286 int canvas_height = 0; in ParseHeadersInternal() local 315 &canvas_width, &canvas_height, &flags); in ParseHeadersInternal() 330 image_height = canvas_height; in ParseHeadersInternal() 388 if (canvas_width != image_width || canvas_height != image_height) { in ParseHeadersInternal()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | webp_dec.c | 286 int canvas_height = 0; in ParseHeadersInternal() local 315 &canvas_width, &canvas_height, &flags); in ParseHeadersInternal() 330 image_height = canvas_height; in ParseHeadersInternal() 388 if (canvas_width != image_width || canvas_height != image_height) { in ParseHeadersInternal()
|
/third_party/skia/third_party/externals/libwebp/src/webp/ |
D | demux.h | 296 uint32_t canvas_height; member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/ |
D | demux.h | 296 uint32_t canvas_height; member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | anim_encode.c | 1479 int canvas_width, canvas_height; in OptimizeSingleFrame() local 1493 err = WebPMuxGetCanvasSize(mux, &canvas_width, &canvas_height); in OptimizeSingleFrame()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | anim_encode.c | 1483 int canvas_width, canvas_height; in OptimizeSingleFrame() local 1497 err = WebPMuxGetCanvasSize(mux, &canvas_width, &canvas_height); in OptimizeSingleFrame()
|