Lines Matching full:cdf

31   // The spec computes the cdf value using the following formula (not writing  in PartitionCdfGatherHorizontalAlike()
33 // cdf = None - H + V - S + S - HTS + HTS - HBS + HBS - VLS; in PartitionCdfGatherHorizontalAlike()
35 // cdf += VRS - H4; in PartitionCdfGatherHorizontalAlike()
38 // cdf = None - H + V - VLS; in PartitionCdfGatherHorizontalAlike()
40 // cdf += VRS - H4; in PartitionCdfGatherHorizontalAlike()
42 uint16_t cdf = partition_cdf[kPartitionNone] - in PartitionCdfGatherHorizontalAlike() local
47 cdf += partition_cdf[kPartitionVerticalWithRightSplit] - in PartitionCdfGatherHorizontalAlike()
50 return cdf; in PartitionCdfGatherHorizontalAlike()
55 // The spec computes the cdf value using the following formula (not writing in PartitionCdfGatherVerticalAlike()
57 // cdf = H - V + V - S + HBS - VLS + VLS - VRS + S - HTS; in PartitionCdfGatherVerticalAlike()
59 // cdf += H4 - V4; in PartitionCdfGatherVerticalAlike()
63 // cdf = H + HBS - VRS - HTS; in PartitionCdfGatherVerticalAlike()
65 // cdf += H4; in PartitionCdfGatherVerticalAlike()
68 // cdf = H + HBS - HTS; in PartitionCdfGatherVerticalAlike()
70 // cdf += H4 - VRS; in PartitionCdfGatherVerticalAlike()
72 uint16_t cdf = partition_cdf[kPartitionHorizontal] + in PartitionCdfGatherVerticalAlike() local
76 cdf += partition_cdf[kPartitionHorizontal4] - in PartitionCdfGatherVerticalAlike()
79 return cdf; in PartitionCdfGatherVerticalAlike()
135 const uint16_t cdf = in ReadPartition() local
137 *partition = reader_.ReadSymbolWithoutCdfUpdate(cdf) ? kPartitionSplit in ReadPartition()
140 const uint16_t cdf = in ReadPartition() local
142 *partition = reader_.ReadSymbolWithoutCdfUpdate(cdf) ? kPartitionSplit in ReadPartition()