Home
last modified time | relevance | path

Searched refs:canvas_width_ (Results 1 – 6 of 6) sorted by relevance

/external/webp/src/demux/
Ddemux.c66 int canvas_width_, canvas_height_; member
422 dmux->canvas_width_ = frame->width_; in ParseSingleImage()
546 dmux->canvas_width_ = 1 + ReadLE24s(mem); in ParseVP8X()
548 if (dmux->canvas_width_ * (uint64_t)dmux->canvas_height_ >= MAX_IMAGE_AREA) { in ParseVP8X()
567 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidSimpleFormat()
599 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidExtendedFormat()
638 dmux->canvas_width_, dmux->canvas_height_)) { in IsValidExtendedFormat()
655 dmux->canvas_width_ = -1; in InitDemux()
682 dmux->canvas_width_ = frame->width_; in CreateRawImageDemuxer()
781 case WEBP_FF_CANVAS_WIDTH: return (uint32_t)dmux->canvas_width_; in WebPDemuxGetI()
/external/webp/src/mux/
Dmuxedit.c25 mux->canvas_width_ = 0; // just to be explicit in MuxInit()
369 mux->canvas_width_ = width; in WebPMuxSetCanvasSize()
519 if (mux->canvas_width_ != 0 || mux->canvas_height_ != 0) { in CreateVP8XChunk()
520 if (width > mux->canvas_width_ || height > mux->canvas_height_) { in CreateVP8XChunk()
523 width = mux->canvas_width_; in CreateVP8XChunk()
562 ((mux->canvas_width_ == 0 && mux->canvas_height_ == 0) || in MuxCleanup()
563 (frame->width_ == mux->canvas_width_ && in MuxCleanup()
Dmuxi.h70 int canvas_width_; member
Dmuxinternal.c511 if (mux->canvas_width_ > 0) { in MuxValidate()
512 if (images->width_ != mux->canvas_width_ || in MuxValidate()
Dmuxread.c278 mux->canvas_width_ = GetLE24(data + 12) + 1; in WebPMuxCreateInternal()
342 w = mux->canvas_width_; in MuxGetCanvasInfo()
Danim_encode.c49 const int canvas_width_; // Canvas width. member
257 *(int*)&enc->canvas_width_ = width; in WebPAnimEncoderNewInternal()
1371 if (frame->width != enc->canvas_width_ || in WebPAnimEncoderAdd()
1555 err = WebPMuxSetCanvasSize(mux, enc->canvas_width_, enc->canvas_height_); in WebPAnimEncoderAssemble()