Lines Matching refs:height
58 const int height = pic->height;
61 for (y = 0; y < height; ++y) {
106 int width, int height, int argb_stride,
121 for (y = 0; y < height; ++y) {
165 if (!AnalyzeEntropy(pic->argb, pic->width, pic->height, pic->argb_stride,
474 int width, int height, int quality) {
484 if (!VP8LGetBackwardReferences(width, height, argb, quality, 0, 1, &refs)) {
521 int width, int height, int quality,
528 VP8LSubSampleSize(height, histogram_bits);
548 if (!VP8LGetBackwardReferences(width, height, argb, quality, cache_bits,
553 if (!VP8LGetHistoImageSymbols(width, height, &refs,
601 VP8LSubSampleSize(height, histogram_bits),
641 int width, int height,
651 for (i = 0; i < width * height; ++i) {
659 for (i = 0; i < width * height; ++i) {
673 VP8LSubtractGreenFromBlueAndRed(enc->argb_, width * height);
680 int width, int height, int quality,
684 const int transform_height = VP8LSubSampleSize(height, pred_bits);
686 VP8LResidualImage(width, height, pred_bits, enc->argb_, enc->argb_scratch_,
700 int width, int height, int quality,
704 const int transform_height = VP8LSubSampleSize(height, ccolor_transform_bits);
707 VP8LColorSpaceTransform(width, height, ccolor_transform_bits, step,
739 const int height = pic->height - 1;
740 assert(width < WEBP_MAX_DIMENSION && height < WEBP_MAX_DIMENSION);
743 VP8LWriteBits(bw, VP8L_IMAGE_SIZE_BITS, height);
790 int width, int height) {
793 const uint64_t image_size = width * height;
797 (uint64_t)VP8LSubSampleSize(height, enc->transform_bits_);
819 int width, int height, int xbits, uint8_t* row) {
835 for (y = 0; y < height; ++y) {
848 for (y = 0; y < height; ++y) {
880 const int height = pic->height;
894 err = AllocateTransformBuffer(enc, VP8LSubSampleSize(width, xbits), height);
902 palette, palette_size, width, height, xbits, row);
924 static int GetHistoBits(int method, int use_palette, int width, int height) {
930 VP8LSubSampleSize(height, histo_bits) *
946 enc->histo_bits_ = GetHistoBits(method, use_palette, pic->width, pic->height);
979 const int height = picture->height;
1008 err = AllocateTransformBuffer(enc, width, height);
1010 for (y = 0; y < height; ++y) {
1021 if (!EvalAndApplySubtractGreen(enc, enc->current_width_, height, bw)) {
1027 if (!ApplyPredictFilter(enc, enc->current_width_, height, quality, bw)) {
1034 if (!ApplyCrossColorFilter(enc, enc->current_width_, height, quality, bw)) {
1047 height, &enc->cache_bits_)) {
1056 if (!EncodeImageInternal(bw, enc->argb_, enc->current_width_, height,
1083 int width, height;
1099 height = picture->height;
1100 if (!VP8LBitWriterInit(&bw, (width * height) >> 1)) {
1157 const int mb_h = (height + 15) >> 4;