The r2 fixture swap landed in the sibling gate
Browse files at this commitb94f6a0153a0f24a45afca8f841bbb86946fb00cParent: 9f7b5d2- fix
- the r2 fixture swap landed in the sibling gate
1 changed file +14 -14
- crates/ec-av1/src/stream.rs +14 -14
crates/ec-av1/src/stream.rsmodified+14 -14
| @@ -6586,20 +6586,10 @@ mod tests { | |||
| 6586 | let vertical_split = attempt % 2 == 1; | 6586 | let vertical_split = attempt % 2 == 1; |
| 6587 | let cq = [58, 52, 45, 61][(attempt / 2 % 4) as usize]; | 6587 | let cq = [58, 52, 45, 61][(attempt / 2 % 4) as usize]; |
| 6588 | let sp = 8 + (attempt / 8) * 4; | 6588 | let sp = 8 + (attempt / 8) * 4; |
| 6589 | - // Half ramp, half deterministic pseudo-noise: the flat "200" | ||
| 6590 | - // half of r1's source made aomenc code the right-hand | ||
| 6591 | - // superblocks skip, so at 8 bit no >32 intra block ever | ||
| 6592 | - // appeared (probed cq 45/52/58/61/63 = 0 hits). The textured | ||
| 6593 | - // half forces intra above 32x32 in an inter frame at BOTH | ||
| 6594 | - // depths, so both arms carry the shape. | ||
| 6595 | let geq = if vertical_split { | 6589 | let geq = if vertical_split { |
| 6596 | - format!( | 6590 | + format!("if(lt(Y,64), 40+mod(floor((X+N*{sp})/32)*90,200), 200)") |
| 6597 | - "if(lt(Y,64), 40+mod(floor((X+N*{sp})/32)*90,200), mod((X*7+Y*13+N*97)*31,256))" | ||
| 6598 | - ) | ||
| 6599 | } else { | 6591 | } else { |
| 6600 | - format!( | 6592 | + format!("if(lt(X,64), 40+mod(floor((Y+N*{sp})/32)*90,200), 200)") |
| 6601 | - "if(lt(X,128), 40+mod(floor((Y+N*{sp})/32)*90,200), mod((X*7+Y*13+N*97)*31,256))" | ||
| 6602 | - ) | ||
| 6603 | }; | 6593 | }; |
| 6604 | let duration = frame_count as f64 / 25.0; | 6594 | let duration = frame_count as f64 / 25.0; |
| 6605 | let source = format!( | 6595 | let source = format!( |
| @@ -6786,10 +6776,20 @@ mod tests { | |||
| 6786 | let vertical_split = attempt % 2 == 1; | 6776 | let vertical_split = attempt % 2 == 1; |
| 6787 | let cq = [58, 52, 45, 61][(attempt / 2 % 4) as usize]; | 6777 | let cq = [58, 52, 45, 61][(attempt / 2 % 4) as usize]; |
| 6788 | let sp = 8 + (attempt / 8) * 4; | 6778 | let sp = 8 + (attempt / 8) * 4; |
| 6779 | + // Half ramp, half deterministic pseudo-noise: the flat "200" | ||
| 6780 | + // half of r1's source made aomenc code the right-hand | ||
| 6781 | + // superblocks skip, so at 8 bit no >32 intra block ever | ||
| 6782 | + // appeared (probed cq 45/52/58/61/63 = 0 hits). The textured | ||
| 6783 | + // half forces intra above 32x32 in an inter frame at BOTH | ||
| 6784 | + // depths, so both arms carry the shape. | ||
| 6789 | let geq = if vertical_split { | 6785 | let geq = if vertical_split { |
| 6790 | - format!("if(lt(Y,64), 40+mod(floor((X+N*{sp})/32)*90,200), 200)") | 6786 | + format!( |
| 6787 | + "if(lt(Y,64), 40+mod(floor((X+N*{sp})/32)*90,200), mod((X*7+Y*13+N*97)*31,256))" | ||
| 6788 | + ) | ||
| 6791 | } else { | 6789 | } else { |
| 6792 | - format!("if(lt(X,64), 40+mod(floor((Y+N*{sp})/32)*90,200), 200)") | 6790 | + format!( |
| 6791 | + "if(lt(X,128), 40+mod(floor((Y+N*{sp})/32)*90,200), mod((X*7+Y*13+N*97)*31,256))" | ||
| 6792 | + ) | ||
| 6793 | }; | 6793 | }; |
| 6794 | let duration = frame_count as f64 / 25.0; | 6794 | let duration = frame_count as f64 / 25.0; |
| 6795 | let source = format!( | 6795 | let source = format!( |