Home | History | Annotate | Download | only in dec

Lines Matching refs:alph_dec

844 static void AlphaApplyFilter(ALPHDecoder* const alph_dec,
847 if (alph_dec->filter_ != WEBP_FILTER_NONE) {
849 const uint8_t* prev_line = alph_dec->prev_line_;
850 assert(WebPUnfilters[alph_dec->filter_] != NULL);
852 WebPUnfilters[alph_dec->filter_](prev_line, out, out, stride);
856 alph_dec->prev_line_ = prev_line;
863 ALPHDecoder* const alph_dec = (ALPHDecoder*)dec->io_->opaque;
865 (alph_dec->filter_ == WEBP_FILTER_NONE ||
866 alph_dec->filter_ == WEBP_FILTER_HORIZONTAL) ? dec->io_->crop_top
873 uint8_t* out = alph_dec->output_ + width * first_row;
881 AlphaApplyFilter(alph_dec, first_row, last_row, out, width);
1553 ALPHDecoder* const alph_dec = (ALPHDecoder*)dec->io_->opaque;
1554 uint8_t* const output = alph_dec->output_;
1561 AlphaApplyFilter(alph_dec,
1571 int VP8LDecodeAlphaHeader(ALPHDecoder* const alph_dec,
1578 assert(alph_dec != NULL);
1580 dec->width_ = alph_dec->width_;
1581 dec->height_ = alph_dec->height_;
1582 dec->io_ = &alph_dec->io_;
1583 dec->io_->opaque = alph_dec;
1584 dec->io_->width = alph_dec->width_;
1585 dec->io_->height = alph_dec->height_;
1590 if (!DecodeImageStream(alph_dec->width_, alph_dec->height_, 1, dec, NULL)) {
1600 alph_dec->use_8b_decode_ = 1;
1604 alph_dec->use_8b_decode_ = 0;
1605 ok = AllocateInternalBuffers32b(dec, alph_dec->width_);
1611 alph_dec->vp8l_dec_ = dec;
1619 int VP8LDecodeAlphaImageStream(ALPHDecoder* const alph_dec, int last_row) {
1620 VP8LDecoder* const dec = alph_dec->vp8l_dec_;
1628 if (!alph_dec->use_8b_decode_) WebPInitAlphaProcessing();
1631 return alph_dec->use_8b_decode_ ?