Lines Matching refs:mb
40 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; in SmoothSegmentMap() local
41 int majority_seg = mb->segment_; in SmoothSegmentMap()
43 cnt[mb[-w - 1].segment_]++; // top-left in SmoothSegmentMap()
44 cnt[mb[-w + 0].segment_]++; // top in SmoothSegmentMap()
45 cnt[mb[-w + 1].segment_]++; // top-right in SmoothSegmentMap()
46 cnt[mb[ - 1].segment_]++; // left in SmoothSegmentMap()
47 cnt[mb[ + 1].segment_]++; // right in SmoothSegmentMap()
48 cnt[mb[ w - 1].segment_]++; // bottom-left in SmoothSegmentMap()
49 cnt[mb[ w + 0].segment_]++; // bottom in SmoothSegmentMap()
50 cnt[mb[ w + 1].segment_]++; // bottom-right in SmoothSegmentMap()
62 VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; in SmoothSegmentMap() local
63 mb->segment_ = tmp[x + y * w]; in SmoothSegmentMap()
214 VP8MBInfo* const mb = &enc->mb_info_[n]; in AssignSegments() local
215 const int alpha = mb->alpha_; in AssignSegments()
216 mb->segment_ = map[alpha]; in AssignSegments()
217 mb->alpha_ = centers[map[alpha]]; // for the record. in AssignSegments()
395 static void DefaultMBInfo(VP8MBInfo* const mb) { in DefaultMBInfo() argument
396 mb->type_ = 1; // I16x16 in DefaultMBInfo()
397 mb->uv_mode_ = 0; in DefaultMBInfo()
398 mb->skip_ = 0; // not skipped in DefaultMBInfo()
399 mb->segment_ = 0; // default segment in DefaultMBInfo()
400 mb->alpha_ = 0; in DefaultMBInfo()