Home | History | Annotate | Download | only in encoder

Lines Matching defs:partition

532 // 3 - vbp_threshold_8x8. vbp_threshold_8x8 (to split to 4x4 partition) is
866 partition;
870 partition = partition_lookup[bsl][prev_part[start_pos]];
871 subsize = get_subsize(bsize, partition);
876 switch (partition) {
1038 PARTITION_TYPE partition;
1045 partition = partition_lookup[bsl][mi->sb_type];
1046 subsize = get_subsize(bsize, partition);
1050 switch (partition) {
1089 PARTITION_TYPE partition;
1095 partition = partition_lookup[bsl][mi->sb_type];
1096 subsize = get_subsize(bsize, partition);
1100 switch (partition) {
1251 // Always use 4x4 partition for key frame.
1277 // For SVC on top spatial layer: use/scale the partition from
1290 // If source_sad is low copy the partition without computing the y_sad.
1409 // If the y_sad is very small, take 64x64 as partition and exit.
1429 // If the y_sad is small enough, copy the partition of the superblock in the
1431 // Stop the copy every cpi->max_copied_frame to refresh the partition.
1537 // Fill the rest of the variance tree by summing split partition values.
2133 PARTITION_TYPE partition;
2146 partition = partition_lookup[bsl][subsize];
2148 td->counts->partition[ctx][partition]++;
2150 switch (partition) {
2186 default: assert(0 && "Invalid partition type."); break;
2189 if (partition != PARTITION_SPLIT || bsize == BLOCK_8X8)
2193 // Check to see if the given partition size is allowed for a specified number
2195 // If not then return the largest allowed partition size
2230 // to the same block partition size.
2233 // allowable partition.
2248 // Apply the requested partition size to the SB64 if it is all "in image"
2333 // TODO(yunqingwang): If d16[j].var is very large, use 8x8 partition
2340 // Use 32x32 partition
2365 // Use 64x64 partition
2472 PARTITION_TYPE partition;
2487 partition = partition_lookup[bsl][subsize];
2489 td->counts->partition[ctx][partition]++;
2491 switch (partition) {
2523 default: assert(0 && "Invalid partition type."); break;
2526 if (partition != PARTITION_SPLIT || bsize == BLOCK_8X8)
2544 PARTITION_TYPE partition = PARTITION_NONE;
2564 partition = partition_lookup[bsl][bs_type];
2565 subsize = get_subsize(bsize, partition);
2567 pc_tree->partitioning = partition;
2579 if (partition == PARTITION_SPLIT && subsize > BLOCK_8X8) {
2591 // If partition is not none try none unless each of the 4 splits are split
2593 if (partition != PARTITION_NONE && !splits_below &&
2610 pc_tree->partitioning = partition;
2614 switch (partition) {
2697 last_part_rdc.rate += cpi->partition_cost[pl][partition];
2704 partition != PARTITION_SPLIT && bsize > BLOCK_8X8 &&
2715 // Split partition.
2761 if (bsize >= BLOCK_8X8) pc_tree->partitioning = partition;
2800 // partition and find the min and max values for sb_type.
2835 // Look at neighboring blocks and set a min and max partition size based on
2860 // Find the min and max partition used in previous frame at this location
2866 // Find the min and max partition sizes used in the left SB64
2872 // Find the min and max partition sizes used in the above SB64.
2879 // Adjust observed min and max for "relaxed" auto partition case.
2900 // partition is allowed by selecting the next smaller square size as
2911 // TODO(jingning) refactor functions setting partition search range
3021 // Calculate the score used in machine-learning based partition search early
3089 // TODO(jingning,jimbankoski,rbultje): properly skip partition types that are
3114 // Override skipping rectangular partition operations for edge blocks
3142 // Adjust dist breakout threshold according to the partition size.
3168 // Determine partition types in search according to the speed features.
3271 // If all y, u, v transform blocks in this partition are skippable,
3272 // and the dist & rate are within the thresholds, the partition search
3273 // is terminated for current branch of the partition search tree.
3282 // Currently, the machine-learning based partition search early
3359 // the starting point of motion search in the following partition type check.
3404 // Rate and distortion based partition search termination clause.
3413 // skip rectangular partition test when larger block size
3616 // If required set upper and lower partition size limits
3765 PARTITION_TYPE partition = pc_tree->partitioning;
3766 BLOCK_SIZE subsize = get_subsize(bsize, partition);
3772 switch (partition) {
3851 // Override skipping rectangular partition operations for edge blocks
3874 // Determine partition types in search according to the speed features.
3963 // skip rectangular partition test when larger block size
4091 PARTITION_TYPE partition;
4101 partition = partition_lookup[bsl][subsize];
4108 } else if (bsize == BLOCK_32X32 && partition != PARTITION_NONE &&
4114 } else if (bsize == BLOCK_16X16 && partition != PARTITION_NONE) {
4120 switch (partition) {
4206 default: assert(0 && "Invalid partition type."); break;
4225 PARTITION_TYPE partition;
4231 partition = partition_lookup[bsl][subsize];
4235 td->counts->partition[ctx][partition]++;
4238 switch (partition) {
4316 default: assert(0 && "Invalid partition type."); break;
4319 if (partition != PARTITION_SPLIT || bsize == BLOCK_8X8)
4398 // Set the partition type of the 64X64 block
4424 // nonrd_pick_partition does not support 4x4 partition, so avoid it
4441 // 4x4 partition. Since 4x4 is used on key frame, use this switch