Home
last modified time | relevance | path

Searched refs:canvas_width (Results 1 – 11 of 11) sorted by relevance

/external/webp/src/demux/
Danim_decode.c109 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 …]
Ddemux.c582 int canvas_width, int canvas_height) { in CheckFrameBounds() argument
587 if (frame->width_ != canvas_width || frame->height_ != canvas_height) { in CheckFrameBounds()
592 if (frame->width_ + frame->x_offset_ > canvas_width) return 0; in CheckFrameBounds()
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DRuntimeShaderActivity.java96 private void renderFrame(Canvas canvas, double t, int canvas_width, int canvas_height) { in renderFrame() argument
103 .setUniform("u_w", canvas_width) in renderFrame()
107 canvas.drawRect(0, 0, canvas_width, canvas_height, p); in renderFrame()
DAnimationActivity.java66 private void renderFrame(Canvas canvas, double t, int canvas_width, int canvas_height) { in renderFrame() argument
76 float x = (float)(java.lang.Math.cos(t * kSpeed) + 1) * canvas_width/2; in renderFrame()
/external/ImageMagick/coders/
Dwebp.c247 canvas_width, in ReadSingleWEBPImage() local
266 canvas_width=image->columns; in ReadSingleWEBPImage()
275 canvas_width=0; in ReadSingleWEBPImage()
285 image->columns=canvas_width; in ReadSingleWEBPImage()
411 canvas_width, in ReadAnimatedWEBPImage() local
427 canvas_width=image->columns; in ReadAnimatedWEBPImage()
473 image->page.width=canvas_width; in ReadAnimatedWEBPImage()
/external/webp/src/dec/
Dwebp_dec.c285 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()
/external/webp/include/webp/
Ddemux.h295 uint32_t canvas_width; member
/external/webp/src/webp/
Ddemux.h295 uint32_t canvas_width; member
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dobject_tracker.h145 virtual void Draw(const int canvas_width, const int canvas_height,
Dobject_tracker.cc383 void ObjectTracker::Draw(const int canvas_width, const int canvas_height, in Draw() argument
391 glOrthof(0.0f, canvas_width, 0.0f, canvas_height, 0.0f, 1.0f); in Draw()
/external/webp/src/mux/
Danim_encode.c1479 int canvas_width, canvas_height; in OptimizeSingleFrame() local
1493 err = WebPMuxGetCanvasSize(mux, &canvas_width, &canvas_height); in OptimizeSingleFrame()