Home
last modified time | relevance | path

Searched refs:canvas_height (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/libwebp/examples/
Danim_util.c42 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 …]
Dvwebp.c62 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()
Danim_diff.c90 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()
Danim_util.h39 uint32_t canvas_height; member
Danim_dump.c105 buffer.height = image.canvas_height; in main()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_util.c42 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 …]
Dvwebp.c62 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()
Danim_diff.c90 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()
Danim_util.h39 uint32_t canvas_height; member
Danim_dump.c105 buffer.height = image.canvas_height; in main()
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/
Danim_decode.c110 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 …]
Ddemux.c577 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/
Danim_decode.c118 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 …]
Ddemux.c588 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/
Dgstcacatv.c182 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()
Dgstcacatv.h43 gint canvas_height, canvas_width; member
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Danimdecoder_fuzzer.cc40 info.canvas_height)) { in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dwebp_dec.c286 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/
Dwebp_dec.c286 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/
Ddemux.h296 uint32_t canvas_height; member
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Ddemux.h296 uint32_t canvas_height; member
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c1479 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/
Danim_encode.c1483 int canvas_width, canvas_height; in OptimizeSingleFrame() local
1497 err = WebPMuxGetCanvasSize(mux, &canvas_width, &canvas_height); in OptimizeSingleFrame()