Home
last modified time | relevance | path

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

/external/webp/src/demux/
Ddemux.c66 int canvas_width_, canvas_height_; member
420 dmux->canvas_width_ = frame->width_; in ParseSingleImage()
544 dmux->canvas_width_ = 1 + ReadLE24s(mem); in ParseVP8X()
546 if (dmux->canvas_width_ * (uint64_t)dmux->canvas_height_ >= MAX_IMAGE_AREA) { in ParseVP8X()
565 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidSimpleFormat()
597 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidExtendedFormat()
636 dmux->canvas_width_, dmux->canvas_height_)) { in IsValidExtendedFormat()
653 dmux->canvas_width_ = -1; in InitDemux()
680 dmux->canvas_width_ = frame->width_; in CreateRawImageDemuxer()
779 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.h69 int canvas_width_; member
Dmuxread.c263 mux->canvas_width_ = GetLE24(data + 12) + 1; in WebPMuxCreateInternal()
324 w = mux->canvas_width_; in MuxGetCanvasInfo()
Danim_encode.c49 const int canvas_width_; // Canvas width. member
257 *(int*)&enc->canvas_width_ = width; in WebPAnimEncoderNewInternal()
1370 if (frame->width != enc->canvas_width_ || in WebPAnimEncoderAdd()
1553 err = WebPMuxSetCanvasSize(mux, enc->canvas_width_, enc->canvas_height_); in WebPAnimEncoderAssemble()