/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() 191 if (fwrite(row, canvas_width * kNumChannels, 1, f) != 1) { in DumpFrame() 195 row += canvas_width * kNumChannels; in DumpFrame() 238 image->canvas_width = anim_info.canvas_width; in ReadAnimatedWebP() [all …]
|
D | vwebp.c | 62 int canvas_width, canvas_height; member 96 prev->width = kParams.canvas_width; in ClearPreviousFrame() 342 window_x = window_x * kParams.viewport_width / kParams.canvas_width; in DrawBackgroundScissored() 344 frame_w = frame_w * kParams.viewport_width / kParams.canvas_width; in DrawBackgroundScissored() 363 glPixelZoom((GLfloat)(+1. / kParams.canvas_width * kParams.viewport_width), in HandleDisplay() 365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay() 421 int width = kParams.canvas_width; in StartDisplay() 568 kParams.canvas_width = WebPDemuxGetI(kParams.dmux, WEBP_FF_CANVAS_WIDTH); in main() 571 printf("Canvas: %d x %d\n", kParams.canvas_width, kParams.canvas_height); in main()
|
D | anim_diff.c | 89 should_merge_frames = FramesAreSimilar(rgba1, rgba2, img->canvas_width, in MinimizeAnimationFrames() 93 FramesAreEqual(rgba1, rgba2, img->canvas_width, img->canvas_height); in MinimizeAnimationFrames() 139 ok = CompareValues(img1->canvas_width, img2->canvas_width, in CompareAnimatedImagePair() 177 GetDiffAndPSNR(rgba1, rgba2, img1->canvas_width, img1->canvas_height, in CompareAnimatedImagePair()
|
D | anim_util.h | 38 uint32_t canvas_width; member
|
D | anim_dump.c | 104 buffer.width = image.canvas_width; 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() 191 if (fwrite(row, canvas_width * kNumChannels, 1, f) != 1) { in DumpFrame() 195 row += canvas_width * kNumChannels; in DumpFrame() 238 image->canvas_width = anim_info.canvas_width; in ReadAnimatedWebP() [all …]
|
D | vwebp.c | 62 int canvas_width, canvas_height; member 96 prev->width = kParams.canvas_width; in ClearPreviousFrame() 342 window_x = window_x * kParams.viewport_width / kParams.canvas_width; in DrawBackgroundScissored() 344 frame_w = frame_w * kParams.viewport_width / kParams.canvas_width; in DrawBackgroundScissored() 363 glPixelZoom((GLfloat)(+1. / kParams.canvas_width * kParams.viewport_width), in HandleDisplay() 365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay() 421 int width = kParams.canvas_width; in StartDisplay() 568 kParams.canvas_width = WebPDemuxGetI(kParams.dmux, WEBP_FF_CANVAS_WIDTH); in main() 571 printf("Canvas: %d x %d\n", kParams.canvas_width, kParams.canvas_height); in main()
|
D | anim_diff.c | 89 should_merge_frames = FramesAreSimilar(rgba1, rgba2, img->canvas_width, in MinimizeAnimationFrames() 93 FramesAreEqual(rgba1, rgba2, img->canvas_width, img->canvas_height); in MinimizeAnimationFrames() 139 ok = CompareValues(img1->canvas_width, img2->canvas_width, in CompareAnimatedImagePair() 177 GetDiffAndPSNR(rgba1, rgba2, img1->canvas_width, img1->canvas_height, in CompareAnimatedImagePair()
|
D | anim_util.h | 38 uint32_t canvas_width; member
|
D | anim_dump.c | 104 buffer.width = image.canvas_width; in main()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 109 dec->info_.canvas_width = WebPDemuxGetI(dec->demux_, WEBP_FF_CANVAS_WIDTH); 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() 138 static int IsFullFrame(int width, int height, int canvas_width, in IsFullFrame() argument 140 return (width == canvas_width && height == canvas_height); in IsFullFrame() 144 static int ZeroFillCanvas(uint8_t* buf, uint32_t canvas_width, 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() 188 (IsFullFrame(prev->width, prev->height, canvas_width, 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() 587 if (frame->width_ + frame->x_offset_ > canvas_width) return 0; in CheckFrameBounds()
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 117 dec->info_.canvas_width = WebPDemuxGetI(dec->demux_, WEBP_FF_CANVAS_WIDTH); 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() 146 static int IsFullFrame(int width, int height, int canvas_width, in IsFullFrame() argument 148 return (width == canvas_width && height == canvas_height); in IsFullFrame() 152 static int ZeroFillCanvas(uint8_t* buf, uint32_t canvas_width, 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() 196 (IsFullFrame(prev->width, prev->height, canvas_width, 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() 598 if (frame->width_ + frame->x_offset_ > canvas_width) return 0; in CheckFrameBounds()
|
/third_party/gstreamer/gstplugins_good/ext/libcaca/ |
D | gstcacatv.c | 181 caca_set_canvas_size (cacatv->canvas, cacatv->canvas_width, in gst_cacatv_setcaps() 218 cacatv->canvas_width * caca_get_font_width (cacatv->font); in gst_cacatv_transform_caps() 314 cacatv->canvas_width = GST_CACA_DEFAULT_SCREEN_WIDTH; in gst_cacatv_init() 317 caca_create_canvas (cacatv->canvas_width, cacatv->canvas_height); in gst_cacatv_init() 348 cacatv->canvas_width = g_value_get_int (value); in gst_cacatv_set_property() 381 g_value_set_int (value, cacatv->canvas_width); 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 | 39 if (!ImgIoUtilCheckSizeArgumentsOverflow(info.canvas_width * 4, in LLVMFuzzerTestOneInput()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | webp_dec.c | 285 int canvas_width = 0; in ParseHeadersInternal() local 315 &canvas_width, &canvas_height, &flags); in ParseHeadersInternal() 329 image_width = canvas_width; 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 | 285 int canvas_width = 0; in ParseHeadersInternal() local 315 &canvas_width, &canvas_height, &flags); in ParseHeadersInternal() 329 image_width = canvas_width; 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 | 295 uint32_t canvas_width; member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/ |
D | demux.h | 295 uint32_t canvas_width; 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()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_demo.cpp | 6070 const float canvas_width = IM_MAX(min_widget_width, rad * 2.0f); local 6071 const float offset_x = floorf(canvas_width * 0.5f); 6076 ImGui::Dummy(ImVec2(canvas_width, RAD_MAX * 2));
|
/third_party/skia/third_party/externals/libwebp/ |
D | ChangeLog | 867 3c49178f prevent 32b overflow for very large canvas_width / height 974 cfdda7c6 Merge "prevent 32b overflow for very large canvas_width / height" 981 1c364400 prevent 32b overflow for very large canvas_width / height
|