Home | History | Annotate | Download | only in enc

Lines Matching defs:stats

1062   if (picture->stats != NULL) {
1063 WebPAuxStats* const stats = picture->stats;
1064 stats->lossless_features = 0;
1065 if (enc->use_predict_) stats->lossless_features |= 1;
1066 if (enc->use_cross_color_) stats->lossless_features |= 2;
1067 if (enc->use_subtract_green_) stats->lossless_features |= 4;
1068 if (enc->use_palette_) stats->lossless_features |= 8;
1069 stats->histogram_bits = enc->histo_bits_;
1070 stats->transform_bits = enc->transform_bits_;
1071 stats->cache_bits = enc->cache_bits_;
1072 stats->palette_size = enc->palette_size_;
1073 stats->lossless_size = (int)(VP8LBitWriterNumBytes(bw) - byte_position);
1110 // Reset stats (for pure lossless coding)
1111 if (picture->stats != NULL) {
1112 WebPAuxStats* const stats = picture->stats;
1113 memset(stats, 0, sizeof(*stats));
1114 stats->PSNR[0] = 99.f;
1115 stats->PSNR[1] = 99.f;
1116 stats->PSNR[2] = 99.f;
1117 stats->PSNR[3] = 99.f;
1118 stats->PSNR[4] = 99.f;
1150 if (picture->stats != NULL) {
1151 picture->stats->coded_size += (int)coded_size;
1152 picture->stats->lossless_size = (int)coded_size;