Home
last modified time | relevance | path

Searched refs:canvas_height_ (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxedit.c26 mux->canvas_height_ = 0; in MuxInit()
368 mux->canvas_height_ = height; in WebPMuxSetCanvasSize()
517 if (mux->canvas_width_ != 0 || mux->canvas_height_ != 0) { in CreateVP8XChunk()
518 if (width > mux->canvas_width_ || height > mux->canvas_height_) { in CreateVP8XChunk()
522 height = mux->canvas_height_; in CreateVP8XChunk()
560 ((mux->canvas_width_ == 0 && mux->canvas_height_ == 0) || in MuxCleanup()
562 frame->height_ == mux->canvas_height_))) { in MuxCleanup()
H A Dmuxi.h71 int canvas_height_; member
H A Dmuxread.c276 mux->canvas_height_ = GetLE24(data + 15) + 1; in WebPMuxCreateInternal()
340 h = mux->canvas_height_; in MuxGetCanvasInfo()
H A Danim_encode.c50 const int canvas_height_; // Canvas height. member
255 *(int*)&enc->canvas_height_ = height; in WebPAnimEncoderNewInternal()
1376 frame->height != enc->canvas_height_) { in WebPAnimEncoderAdd()
1559 err = WebPMuxSetCanvasSize(mux, enc->canvas_width_, enc->canvas_height_); in WebPAnimEncoderAssemble()
H A Dmuxinternal.c513 images->height_ != mux->canvas_height_) { in MuxValidate()
/third_party/skia/third_party/externals/libwebp/examples/
H A Dwebpinfo.c105 int canvas_height_; member
685 webp_info->canvas_height_ = 1 + ReadLE24(&data); in ProcessVP8XChunk()
694 webp_info->canvas_width_, webp_info->canvas_height_); in ProcessVP8XChunk()
699 if (webp_info->canvas_height_ > MAX_CANVAS_SIZE) { in ProcessVP8XChunk()
702 if ((uint64_t)webp_info->canvas_width_ * webp_info->canvas_height_ > in ProcessVP8XChunk()
776 (uint64_t)offset_y + height > (uint64_t)webp_info->canvas_height_) { in ProcessANMFChunk()
840 webp_info->canvas_height_ != features.height) { in ProcessImageChunk()
846 webp_info->canvas_height_ = features.height; in ProcessImageChunk()
847 if (webp_info->canvas_width_ < 1 || webp_info->canvas_height_ < 1 || in ProcessImageChunk()
849 webp_info->canvas_height_ > MAX_CANVAS_SIZ in ProcessImageChunk()
[all...]
/third_party/skia/third_party/externals/libwebp/src/demux/
H A Ddemux.c66 int canvas_width_, canvas_height_; member
432 dmux->canvas_height_ = frame->height_; in ParseSingleImage()
558 dmux->canvas_height_ = 1 + ReadLE24s(mem); in ParseVP8X()
559 if (dmux->canvas_width_ * (uint64_t)dmux->canvas_height_ >= MAX_IMAGE_AREA) { in ParseVP8X()
578 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidSimpleFormat()
610 if (dmux->canvas_width_ <= 0 || dmux->canvas_height_ <= 0) return 0; in IsValidExtendedFormat()
649 dmux->canvas_width_, dmux->canvas_height_)) { in IsValidExtendedFormat()
667 dmux->canvas_height_ = -1; in InitDemux()
694 dmux->canvas_height_ = frame->height_; in CreateRawImageDemuxer()
793 case WEBP_FF_CANVAS_HEIGHT: return (uint32_t)dmux->canvas_height_; in WebPDemuxGetI()
[all...]

Completed in 10 milliseconds