Lines Matching defs:stats
1481 if (picture->stats != NULL) {
1482 WebPAuxStats* const stats = picture->stats;
1483 stats->lossless_features = 0;
1484 if (enc->use_predict_) stats->lossless_features |= 1;
1485 if (enc->use_cross_color_) stats->lossless_features |= 2;
1486 if (enc->use_subtract_green_) stats->lossless_features |= 4;
1487 if (enc->use_palette_) stats->lossless_features |= 8;
1488 stats->histogram_bits = enc->histo_bits_;
1489 stats->transform_bits = enc->transform_bits_;
1490 stats->cache_bits = enc->cache_bits_;
1491 stats->palette_size = enc->palette_size_;
1492 stats->lossless_size = (int)(VP8LBitWriterNumBytes(bw) - byte_position);
1493 stats->lossless_hdr_size = hdr_size;
1494 stats->lossless_data_size = data_size;
1536 // Reset stats (for pure lossless coding)
1537 if (picture->stats != NULL) {
1538 WebPAuxStats* const stats = picture->stats;
1539 memset(stats, 0, sizeof(*stats));
1540 stats->PSNR[0] = 99.f;
1541 stats->PSNR[1] = 99.f;
1542 stats->PSNR[2] = 99.f;
1543 stats->PSNR[3] = 99.f;
1544 stats->PSNR[4] = 99.f;
1576 if (picture->stats != NULL) {
1577 picture->stats->coded_size += (int)coded_size;
1578 picture->stats->lossless_size = (int)coded_size;