Merge branch 'lane-pyr5' (9d330425): a third pyramid level (hidden mid ARF at -8) for GOPs longer than 1.5 mini-GOPs; the 48-frame census
Browse files at this commit16 changed files +714 -26
- crates/ec-av1/src/encoder.rs +153 -26
- lanes/census-longgop.md +119 -0
- lanes/pyr5.sweep.txt +41 -0
- lanes/pyr5/ctl.log +26 -0
- lanes/pyr5/g16mid.log +26 -0
- lanes/pyr5/g16mid8.log +26 -0
- lanes/pyr5/g4mid8.log +26 -0
- lanes/pyr5/leaf20.log +26 -0
- lanes/pyr5/longfinal.log +26 -0
- lanes/pyr5/mid16.log +26 -0
- lanes/pyr5/mid4.log +26 -0
- lanes/pyr5/mid8.log +26 -0
- lanes/pyr5/s12ctl.log +40 -0
- lanes/pyr5/s12final.log +40 -0
- lanes/pyr5/s12mid4.log +40 -0
- lanes/pyr5/short12.log +47 -0
crates/ec-av1/src/encoder.rsmodified+153 -26
| @@ -379,6 +379,15 @@ pub struct Pyramid { | |||
| 379 | /// Added to `base_q_idx` for each shown leaf — positive, since nothing | 379 | /// Added to `base_q_idx` for each shown leaf — positive, since nothing |
| 380 | /// predicts off a leaf but the next leaf. | 380 | /// predicts off a leaf but the next leaf. |
| 381 | pub leaf_q_offset: i16, | 381 | pub leaf_q_offset: i16, |
| 382 | + /// THE THIRD LEVEL, or `None` for the two-level pyramid: the offset a | ||
| 383 | + /// second hidden frame, at the middle of the mini-GOP, is coded at | ||
| 384 | + /// (between [`Pyramid::arf_q_offset`] and [`Pyramid::leaf_q_offset`], so | ||
| 385 | + /// the group reads key -> top ARF -> mid ARF -> leaves). The leaves | ||
| 386 | + /// before it name it as their `ALTREF_FRAME` and the leaves after it | ||
| 387 | + /// start their chain from it, which halves every leaf's distance to its | ||
| 388 | + /// nearest good reference. Ignored by a group of fewer than four | ||
| 389 | + /// pictures, where there is no leaf on both sides of a midpoint. | ||
| 390 | + pub mid_q_offset: Option<i16>, | ||
| 382 | } | 391 | } |
| 383 | 392 | ||
| 384 | /// How many pictures the mini-GOP now being collected takes, given how many | 393 | /// How many pictures the mini-GOP now being collected takes, given how many |
| @@ -416,7 +425,8 @@ fn absorb_tail() -> bool { | |||
| 416 | 425 | ||
| 417 | impl Pyramid { | 426 | impl Pyramid { |
| 418 | /// The pyramid a run asks for through the environment: | 427 | /// The pyramid a run asks for through the environment: |
| 419 | - /// `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]`, with | 428 | + /// `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>[:<mid>]]`, |
| 429 | + /// where `<mid>` is the third level's offset or `off` for none, with | ||
| 420 | /// `0` (or anything that is not a mini-GOP of at least 2, e.g. `flat`) | 430 | /// `0` (or anything that is not a mini-GOP of at least 2, e.g. `flat`) |
| 421 | /// meaning the flat one-picture-one-frame path. UNSET is | 431 | /// meaning the flat one-picture-one-frame path. UNSET is |
| 422 | /// [`Pyramid::default`]: the pyramid is what | 432 | /// [`Pyramid::default`]: the pyramid is what |
| @@ -437,6 +447,14 @@ impl Pyramid { | |||
| 437 | mini_gop, | 447 | mini_gop, |
| 438 | arf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.arf_q_offset), | 448 | arf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.arf_q_offset), |
| 439 | leaf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.leaf_q_offset), | 449 | leaf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.leaf_q_offset), |
| 450 | + // A fourth field is the mid-level offset; the literal `off` asks | ||
| 451 | + // for the two-level pyramid at the same shape (the A/B arm the | ||
| 452 | + // sweep needs), and no field at all keeps the default's. | ||
| 453 | + mid_q_offset: match f.next() { | ||
| 454 | + None => d.mid_q_offset, | ||
| 455 | + Some("off") => None, | ||
| 456 | + Some(v) => v.parse().ok().or(d.mid_q_offset), | ||
| 457 | + }, | ||
| 440 | }) | 458 | }) |
| 441 | } | 459 | } |
| 442 | } | 460 | } |
| @@ -666,11 +684,36 @@ impl Default for Pyramid { | |||
| 666 | /// columns better than `16:-24:16` ever was, film B vs rav1e 3.0 short), | 684 | /// columns better than `16:-24:16` ever was, film B vs rav1e 3.0 short), |
| 667 | /// while 47 inter pictures still take 8 x 5 + 7 -- the long-GOP table | 685 | /// while 47 inter pictures still take 8 x 5 + 7 -- the long-GOP table |
| 668 | /// above is coded byte for byte as it was measured. | 686 | /// above is coded byte for byte as it was measured. |
| 687 | + /// THE THIRD LEVEL (lane-pyr5, `lanes/pyr5.sweep.txt`), swept on the | ||
| 688 | + /// long-GOP gate against a control arm on this very head: | ||
| 689 | + /// | ||
| 690 | + /// | mini_gop:arf:leaf:mid | film A vs libaom / rav1e | film B vs libaom / rav1e | | ||
| 691 | + /// |---|---|---| | ||
| 692 | + /// | 8:-32:16 (control, 2-level) | +55.2 / +12.8 | +151.3 / +47.4 | | ||
| 693 | + /// | 8:-32:16:-4 | +51.8 / +11.4 | +146.2 / +45.4 | | ||
| 694 | + /// | **8:-32:16:-8** | **+52.1 / +11.7** | **+145.3 / +45.0** | | ||
| 695 | + /// | 8:-32:16:-16 | +53.4 / +13.0 | +146.0 / +46.1 | | ||
| 696 | + /// | 8:-32:20:-8 | +52.4 / +11.5 | +148.0 / +46.1 | | ||
| 697 | + /// | 16:-32:16:-8 | +55.0 / +12.3 | +146.0 / +44.3 | | ||
| 698 | + /// | 16:-32:16:-16 | +54.6 / +12.1 | +148.7 / +46.0 | | ||
| 699 | + /// | 4:-32:16:-8 | +61.7 / +20.4 | +147.5 / +51.3 | | ||
| 700 | + /// | ||
| 701 | + /// `-4` and `-8` are within a point of each other and split the two | ||
| 702 | + /// films; `-8` ships because film B is the wider gap. A mini-GOP of 4 | ||
| 703 | + /// with a mid level -- rav1e's own shape at speed 6 -- is far worse here, | ||
| 704 | + /// so the third level is worth more than a shorter group, and the census | ||
| 705 | + /// (`lanes/census-longgop.md`) says why: at 8 pictures our leaves are | ||
| 706 | + /// already cheap and the bytes sit in the ARFs. | ||
| 707 | + /// | ||
| 708 | + /// The 12-frame gate keeps its numbers exactly (+43.9 / +15.6 and +68.4 / | ||
| 709 | + /// +38.2, byte-identical streams): a GOP that is one single mini-GOP does | ||
| 710 | + /// not code the third level at all (see `drain_pending`). | ||
| 669 | fn default() -> Self { | 711 | fn default() -> Self { |
| 670 | Self { | 712 | Self { |
| 671 | mini_gop: 8, | 713 | mini_gop: 8, |
| 672 | arf_q_offset: -32, | 714 | arf_q_offset: -32, |
| 673 | leaf_q_offset: 16, | 715 | leaf_q_offset: 16, |
| 716 | + mid_q_offset: MID_DEFAULT, | ||
| 674 | } | 717 | } |
| 675 | } | 718 | } |
| 676 | } | 719 | } |
| @@ -702,6 +745,17 @@ const ANCHOR_SLOTS: [u8; 2] = [3, 4]; | |||
| 702 | /// The slot the leaf chain refreshes and reads as `LAST_FRAME`. | 745 | /// The slot the leaf chain refreshes and reads as `LAST_FRAME`. |
| 703 | const LEAF_SLOT: u8 = 0; | 746 | const LEAF_SLOT: u8 = 0; |
| 704 | 747 | ||
| 748 | +/// The slot the mid-level hidden frame of a three-level group refreshes | ||
| 749 | +/// ([`Pyramid::mid_q_offset`]): free of the two anchors (3, 4), of the leaf | ||
| 750 | +/// chain (0) and of `GOLDEN_SLOT` (1), so all four levels are live at once. | ||
| 751 | +const MID_SLOT: u8 = 2; | ||
| 752 | + | ||
| 753 | +/// [`Pyramid::default`]'s third level (`None` = the two-level pyramid), the | ||
| 754 | +/// long-GOP sweep's winner (`lanes/pyr5.sweep.txt`): every one of the four | ||
| 755 | +/// long-GOP columns improves against the two-level shape, film B (the wider | ||
| 756 | +/// gap) by 6.0 / 2.4 BD points. | ||
| 757 | +const MID_DEFAULT: Option<i16> = Some(-8); | ||
| 758 | + | ||
| 705 | /// The AV1 software encoder: [`EncoderConfig`] in, one [`Packet`] out per | 759 | /// The AV1 software encoder: [`EncoderConfig`] in, one [`Packet`] out per |
| 706 | /// [`Av1Encoder::encode`] call — or, with a [`Pyramid`] configured, a | 760 | /// [`Av1Encoder::encode`] call — or, with a [`Pyramid`] configured, a |
| 707 | /// coding-order burst of them per [`Av1Encoder::encode_frames`] call plus a | 761 | /// coding-order burst of them per [`Av1Encoder::encode_frames`] call plus a |
| @@ -1273,14 +1327,14 @@ impl Av1Encoder { | |||
| 1273 | altref_slot: u8, | 1327 | altref_slot: u8, |
| 1274 | show_frame: bool, | 1328 | show_frame: bool, |
| 1275 | level: Level, | 1329 | level: Level, |
| 1330 | + // The quantizer offset comes from the CALLER, not from `level`: a | ||
| 1331 | + // three-level group codes two `Level::Arf` frames (the group's top | ||
| 1332 | + // ARF and the mid one) at different offsets, and they share the | ||
| 1333 | + // rate-control slot but not the offset. | ||
| 1334 | + offset: i16, | ||
| 1276 | ) -> Result<Packet> { | 1335 | ) -> Result<Packet> { |
| 1277 | let render = (self.config.width, self.config.height); | 1336 | let render = (self.config.width, self.config.height); |
| 1278 | let order_hint = (order & 0x7f) as u32; | 1337 | let order_hint = (order & 0x7f) as u32; |
| 1279 | - let pyramid = self.pyramid.expect("pyramid mode"); | ||
| 1280 | - let offset = match level { | ||
| 1281 | - Level::Arf => pyramid.arf_q_offset, | ||
| 1282 | - _ => pyramid.leaf_q_offset, | ||
| 1283 | - }; | ||
| 1284 | let base = self | 1338 | let base = self |
| 1285 | .rate_loop | 1339 | .rate_loop |
| 1286 | .as_ref() | 1340 | .as_ref() |
| @@ -1385,6 +1439,7 @@ impl Av1Encoder { | |||
| 1385 | let anchor_slot = ANCHOR_SLOTS[self.anchor]; | 1439 | let anchor_slot = ANCHOR_SLOTS[self.anchor]; |
| 1386 | let next_anchor_slot = ANCHOR_SLOTS[1 - self.anchor]; | 1440 | let next_anchor_slot = ANCHOR_SLOTS[1 - self.anchor]; |
| 1387 | let (arf_order, arf_picture) = group.last().cloned().expect("non-empty"); | 1441 | let (arf_order, arf_picture) = group.last().cloned().expect("non-empty"); |
| 1442 | + let pyramid = self.pyramid.expect("pyramid mode"); | ||
| 1388 | if group.len() == 1 { | 1443 | if group.len() == 1 { |
| 1389 | // Nothing to predict backward, so no hidden frame: one shown leaf | 1444 | // Nothing to predict backward, so no hidden frame: one shown leaf |
| 1390 | // that also becomes the next group's anchor. | 1445 | // that also becomes the next group's anchor. |
| @@ -1396,10 +1451,12 @@ impl Av1Encoder { | |||
| 1396 | GOLDEN_SLOT, | 1451 | GOLDEN_SLOT, |
| 1397 | true, | 1452 | true, |
| 1398 | Level::Leaf, | 1453 | Level::Leaf, |
| 1454 | + pyramid.leaf_q_offset, | ||
| 1399 | )?); | 1455 | )?); |
| 1400 | self.anchor = 1 - self.anchor; | 1456 | self.anchor = 1 - self.anchor; |
| 1401 | return Ok(packets); | 1457 | return Ok(packets); |
| 1402 | } | 1458 | } |
| 1459 | + // The group's top level: the last picture, hidden, off the anchor. | ||
| 1403 | packets.push(self.encode_pyramid_inter( | 1460 | packets.push(self.encode_pyramid_inter( |
| 1404 | arf_order, | 1461 | arf_order, |
| 1405 | &arf_picture, | 1462 | &arf_picture, |
| @@ -1408,17 +1465,39 @@ impl Av1Encoder { | |||
| 1408 | GOLDEN_SLOT, | 1465 | GOLDEN_SLOT, |
| 1409 | false, | 1466 | false, |
| 1410 | Level::Arf, | 1467 | Level::Arf, |
| 1468 | + pyramid.arf_q_offset, | ||
| 1411 | )?); | 1469 | )?); |
| 1412 | - for (i, (order, picture)) in group[..group.len() - 1].iter().enumerate() { | 1470 | + let leaves = group.len() - 1; |
| 1413 | - let last_slot = if i == 0 { anchor_slot } else { LEAF_SLOT }; | 1471 | + // THE THIRD LEVEL: a second hidden frame at the middle of the leaf |
| 1472 | + // run, coded off the anchor with the top ARF as its own backward | ||
| 1473 | + // reference. It needs a leaf on both sides of it, so a group of | ||
| 1474 | + // three or fewer stays two-level. | ||
| 1475 | + // | ||
| 1476 | + // AND IT NEEDS A RUN LONG ENOUGH TO AMORTISE IT: a GOP that is one | ||
| 1477 | + // single mini-GOP (`group_target` absorbs a tail, so a 12-picture GOP | ||
| 1478 | + // under `mini_gop` 8 is ONE group of 11) pays for the second hidden | ||
| 1479 | + // frame out of eleven pictures and reads +2.8 BD points worse against | ||
| 1480 | + // libaom on film B at every mid offset measured (-4: +71.1, -8: | ||
| 1481 | + // +71.2, against the two-level +68.4), while the 48-picture GOP -- six | ||
| 1482 | + // groups sharing the same machinery -- is 6.0 points BETTER. So the | ||
| 1483 | + // third level is switched on by the RUN's length, not by the group's: | ||
| 1484 | + // the same GOP-length dependence `group_target` itself was built for. | ||
| 1485 | + let long_run = self.config.gop > pyramid.mini_gop + pyramid.mini_gop / 2; | ||
| 1486 | + let mid = pyramid.mid_q_offset.filter(|_| leaves >= 3 && long_run).map(|offset| { | ||
| 1487 | + let at = (leaves - 1) / 2; | ||
| 1488 | + (at, offset) | ||
| 1489 | + }); | ||
| 1490 | + if let Some((at, offset)) = mid { | ||
| 1491 | + let (order, picture) = group[at].clone(); | ||
| 1414 | packets.push(self.encode_pyramid_inter( | 1492 | packets.push(self.encode_pyramid_inter( |
| 1415 | - *order, | 1493 | + order, |
| 1416 | - picture, | 1494 | + &picture, |
| 1417 | - last_slot, | 1495 | + anchor_slot, |
| 1418 | - LEAF_SLOT, | 1496 | + MID_SLOT, |
| 1419 | next_anchor_slot, | 1497 | next_anchor_slot, |
| 1420 | - true, | 1498 | + false, |
| 1421 | - Level::Leaf, | 1499 | + Level::Arf, |
| 1500 | + offset, | ||
| 1422 | )?); | 1501 | )?); |
| 1423 | } | 1502 | } |
| 1424 | let (seq, _) = crate::encode::key_frame_headers( | 1503 | let (seq, _) = crate::encode::key_frame_headers( |
| @@ -1426,12 +1505,45 @@ impl Av1Encoder { | |||
| 1426 | self.config.height, | 1505 | self.config.height, |
| 1427 | self.config.base_q_idx, | 1506 | self.config.base_q_idx, |
| 1428 | )?; | 1507 | )?; |
| 1429 | - let mut data = crate::obu::temporal_delimiter(); | 1508 | + let show_existing = |encoder: &mut Self, slot: u8, order: u64| -> Result<Packet> { |
| 1430 | - data.extend_from_slice(&crate::frame::show_existing_frame_obu( | 1509 | + let mut data = crate::obu::temporal_delimiter(); |
| 1431 | - &seq, | 1510 | + data.extend_from_slice(&crate::frame::show_existing_frame_obu(&seq, slot)?); |
| 1432 | - next_anchor_slot, | 1511 | + Ok(encoder.packet(data, false, order, Level::ShowExisting)) |
| 1433 | - )?); | 1512 | + }; |
| 1434 | - packets.push(self.packet(data, false, arf_order, Level::ShowExisting)); | 1513 | + // The leaves, in display order, so every `show_existing_frame` lands |
| 1514 | + // in its own display position. A leaf before the mid frame names it | ||
| 1515 | + // as `ALTREF_FRAME` (the nearer backward reference); the first leaf | ||
| 1516 | + // after it starts its chain FROM it. | ||
| 1517 | + for (i, (order, picture)) in group[..leaves].iter().enumerate() { | ||
| 1518 | + if let Some((at, _)) = mid { | ||
| 1519 | + if i == at { | ||
| 1520 | + let packet = show_existing(self, MID_SLOT, *order)?; | ||
| 1521 | + packets.push(packet); | ||
| 1522 | + continue; | ||
| 1523 | + } | ||
| 1524 | + } | ||
| 1525 | + let last_slot = match (i, mid) { | ||
| 1526 | + (0, _) => anchor_slot, | ||
| 1527 | + (i, Some((at, _))) if i == at + 1 => MID_SLOT, | ||
| 1528 | + _ => LEAF_SLOT, | ||
| 1529 | + }; | ||
| 1530 | + let altref_slot = match mid { | ||
| 1531 | + Some((at, _)) if i < at => MID_SLOT, | ||
| 1532 | + _ => next_anchor_slot, | ||
| 1533 | + }; | ||
| 1534 | + packets.push(self.encode_pyramid_inter( | ||
| 1535 | + *order, | ||
| 1536 | + picture, | ||
| 1537 | + last_slot, | ||
| 1538 | + LEAF_SLOT, | ||
| 1539 | + altref_slot, | ||
| 1540 | + true, | ||
| 1541 | + Level::Leaf, | ||
| 1542 | + pyramid.leaf_q_offset, | ||
| 1543 | + )?); | ||
| 1544 | + } | ||
| 1545 | + let packet = show_existing(self, next_anchor_slot, arf_order)?; | ||
| 1546 | + packets.push(packet); | ||
| 1435 | self.anchor = 1 - self.anchor; | 1547 | self.anchor = 1 - self.anchor; |
| 1436 | Ok(packets) | 1548 | Ok(packets) |
| 1437 | } | 1549 | } |
| @@ -2248,6 +2360,25 @@ mod tests { | |||
| 2248 | #[test] | 2360 | #[test] |
| 2249 | fn a_pyramid_stream_decodes_in_display_order_through_both_decoders() { | 2361 | fn a_pyramid_stream_decodes_in_display_order_through_both_decoders() { |
| 2250 | let _knobs = crate::speed::knob_read(); | 2362 | let _knobs = crate::speed::knob_read(); |
| 2363 | + pyramid_round_trip(Pyramid { mini_gop: 4, mid_q_offset: None, ..Pyramid::default() }, 2); | ||
| 2364 | + } | ||
| 2365 | + | ||
| 2366 | + /// The same round trip over a THREE-level group (`mid_q_offset`): each | ||
| 2367 | + /// mini-GOP now codes two hidden frames -- the top ARF at the group's | ||
| 2368 | + /// last picture and the mid ARF at the middle of the leaf run -- and | ||
| 2369 | + /// re-outputs both with `show_existing_frame`, so a mid frame emitted in | ||
| 2370 | + /// the wrong display position, or twice, fails the display-order compare | ||
| 2371 | + /// against ffmpeg exactly as a top ARF does. | ||
| 2372 | + #[test] | ||
| 2373 | + fn a_three_level_pyramid_stream_decodes_in_display_order() { | ||
| 2374 | + let _knobs = crate::speed::knob_read(); | ||
| 2375 | + pyramid_round_trip( | ||
| 2376 | + Pyramid { mini_gop: 8, mid_q_offset: Some(-8), ..Pyramid::default() }, | ||
| 2377 | + 2, | ||
| 2378 | + ); | ||
| 2379 | + } | ||
| 2380 | + | ||
| 2381 | + fn pyramid_round_trip(pyramid: Pyramid, hidden: usize) { | ||
| 2251 | let (width, height) = (128usize, 128usize); | 2382 | let (width, height) = (128usize, 128usize); |
| 2252 | let config = EncoderConfig { | 2383 | let config = EncoderConfig { |
| 2253 | width, | 2384 | width, |
| @@ -2258,10 +2389,6 @@ mod tests { | |||
| 2258 | tile_cols_log2: 0, | 2389 | tile_cols_log2: 0, |
| 2259 | tile_rows_log2: 0, | 2390 | tile_rows_log2: 0, |
| 2260 | }; | 2391 | }; |
| 2261 | - let pyramid = Pyramid { | ||
| 2262 | - mini_gop: 4, | ||
| 2263 | - ..Pyramid::default() | ||
| 2264 | - }; | ||
| 2265 | // The content gate ([`Av1Encoder::encode_frames`]) would drop a | 2392 | // The content gate ([`Av1Encoder::encode_frames`]) would drop a |
| 2266 | // screen-content stream to the flat path, and a synthetic test card | 2393 | // screen-content stream to the flat path, and a synthetic test card |
| 2267 | // is exactly the few-colour picture the detector fires on: this gate | 2394 | // is exactly the few-colour picture the detector fires on: this gate |
| @@ -2288,7 +2415,7 @@ mod tests { | |||
| 2288 | assert_eq!(sorted, (0..9).collect::<Vec<u64>>(), "one packet per picture"); | 2415 | assert_eq!(sorted, (0..9).collect::<Vec<u64>>(), "one packet per picture"); |
| 2289 | assert_ne!(coded, sorted, "the pyramid never reordered anything"); | 2416 | assert_ne!(coded, sorted, "the pyramid never reordered anything"); |
| 2290 | let shown = packets.iter().filter(|p| p.level == Level::ShowExisting).count(); | 2417 | let shown = packets.iter().filter(|p| p.level == Level::ShowExisting).count(); |
| 2291 | - assert_eq!(shown, 2, "one show_existing_frame per closed mini-GOP"); | 2418 | + assert_eq!(shown, hidden, "one show_existing_frame per hidden frame"); |
| 2292 | for (i, p) in packets.iter().enumerate() { | 2419 | for (i, p) in packets.iter().enumerate() { |
| 2293 | assert_eq!(p.dts, i as u64, "packet {i}: dts is the coding position"); | 2420 | assert_eq!(p.dts, i as u64, "packet {i}: dts is the coding position"); |
| 2294 | } | 2421 | } |
| @@ -2300,7 +2427,7 @@ mod tests { | |||
| 2300 | hist(Level::Leaf), | 2427 | hist(Level::Leaf), |
| 2301 | hist(Level::ShowExisting), | 2428 | hist(Level::ShowExisting), |
| 2302 | ); | 2429 | ); |
| 2303 | - assert_eq!(hist(Level::Arf), 2, "two hidden frames"); | 2430 | + assert_eq!(hist(Level::Arf), hidden, "hidden frames"); |
| 2304 | let refs = crate::encode::take_ref_frame_hits(); | 2431 | let refs = crate::encode::take_ref_frame_hits(); |
| 2305 | eprintln!( | 2432 | eprintln!( |
| 2306 | "blocks per reference: LAST {} GOLDEN {} ALTREF {}", | 2433 | "blocks per reference: LAST {} GOLDEN {} ALTREF {}", |
lanes/census-longgop.mdadded+119 -0
| @@ -0,0 +1,119 @@ | |||
| 1 | +# Long-GOP census: 48 pictures, gop 48, ours vs rav1e vs libaom | ||
| 2 | + | ||
| 3 | +The 48-frame recipe of `encode::tests::bd_rate_film_long_gop` (film rows only, | ||
| 4 | +`-g 48`, one tile, threads 1, 4:2:0 8-bit), censused frame by frame with | ||
| 5 | +`EC_AV1_BITCENSUS=1` + `examples/syntax_census.rs`: every number below is read | ||
| 6 | +back out of the STREAM by our own decoder, so all three encoders are measured | ||
| 7 | +by the same reader. Clips: film A = 1920x768 crop at 00:35:00 of the 1080p | ||
| 8 | +film, film B = 1920x1024 crop at 00:40:00 of the 2160p HDR film, the BD gate's | ||
| 9 | +own crops -- our streams reproduce the gate's byte counts exactly (film B | ||
| 10 | +76,541 B, film A 195,531 B at q150), so this is the gate's own material. | ||
| 11 | + | ||
| 12 | +## Matched points | ||
| 13 | + | ||
| 14 | +PSNR-Y is the census tool's own, over the 48 DISPLAYED pictures in display | ||
| 15 | +order (hidden frames and `show_existing_frame` make coded order a different | ||
| 16 | +sequence). Reference points were re-encoded at intermediate quantizers until | ||
| 17 | +they landed inside 0.3 dB of ours. | ||
| 18 | + | ||
| 19 | +| clip | ours (2-level, q150) | reference | delta PSNR | bytes ours | bytes theirs | ours over | | ||
| 20 | +|---|---|---|---|---|---|---| | ||
| 21 | +| film B | 44.858 dB | rav1e speed 6 q125 | -0.13 dB | 76,541 | 51,680 | **+48.1%** | | ||
| 22 | +| film B | 44.858 dB | libaom cpu-used 6 | n/a | 76,541 | n/a | see the gap below | | ||
| 23 | +| film A | 42.645 dB | rav1e speed 6 q125 | +0.26 dB (ours better) | 195,531 | 157,690 | +24.0% | | ||
| 24 | +| film A | 42.645 dB | libaom cpu-used 6 crf42 | -0.30 dB | 195,531 | 130,795 | +49.5% | | ||
| 25 | + | ||
| 26 | +FILM B / LIBAOM IS NOT CENSUSED: our decoder does not read libaom's film B | ||
| 27 | +streams. `crf35` fails outright (`AV1 tile: a Golomb tail longer than this | ||
| 28 | +decoder reads`) and `crf20`/`crf45` decode to 25-28 dB of garbage on two | ||
| 29 | +pictures out of three, while every film A libaom stream decodes correctly | ||
| 30 | +(census PSNR 46.150 dB against ffmpeg's 46.116 on `crf20`). That is a DECODER | ||
| 31 | +gap on 10-bit-sourced 1920x1024 libaom material, found here, not an encoder | ||
| 32 | +finding -- and it is why the film B column below is ours vs rav1e only. | ||
| 33 | + | ||
| 34 | +## Bytes per hierarchy level | ||
| 35 | + | ||
| 36 | +Levels are derived from each stream itself: `key`, hidden frames split by | ||
| 37 | +their own qindex (`arf top` = the lowest, i.e. the group's own anchor; | ||
| 38 | +`arf mid` = the internal ones), `leaf` = every shown coded frame. Percentages | ||
| 39 | +are of the censused stream. | ||
| 40 | + | ||
| 41 | +### film B (ours 75,433 B censused / rav1e 50,326 B) | ||
| 42 | + | ||
| 43 | +| level | ours n / q | ours bytes (share, mean) | rav1e n / q | rav1e bytes (share, mean) | | ||
| 44 | +|---|---|---|---|---| | ||
| 45 | +| key | 1 @ 150 | 8,399 (11.1%, 8,399) | 1 @ 100 | 15,900 (31.6%, 15,900) | | ||
| 46 | +| arf top | 6 @ 118 | **53,508 (70.9%, 8,918)** | 11 @ 120 | 26,604 (52.9%, 2,418) | | ||
| 47 | +| arf mid | -- | -- | 12 @ 137 | 4,431 (8.8%, 369) | | ||
| 48 | +| leaf | 41 @ 166 | 13,526 (17.9%, 329) | 24 @ 153 | 3,391 (6.7%, 141) | | ||
| 49 | + | ||
| 50 | +### film A (ours 194,342 B / rav1e 156,302 B / libaom 129,387 B) | ||
| 51 | + | ||
| 52 | +| level | ours | rav1e | libaom | | ||
| 53 | +|---|---|---|---| | ||
| 54 | +| key | 1 @ 150: 20,079 (10.3%) | 1 @ 101: 34,700 (22.2%) | 1 @ **63**: 47,707 (**36.9%**) | | ||
| 55 | +| arf top | 6 @ 118: 94,076 (48.4%, mean 15,679) | 11 @ 122: 64,282 (41.1%, mean 5,843) | 1 @ 95: 14,513 (11.2%) | | ||
| 56 | +| arf mid | -- | 12 @ 138: 28,365 (18.1%, mean 2,363) | 22 @ 129..168: 49,319 (38.1%, mean 2,242) | | ||
| 57 | +| leaf | 41 @ 166: 80,187 (41.3%, mean 1,955) | 24 @ 154: 28,955 (18.5%, mean 1,206) | 24 @ 163/168: 17,848 (13.8%, mean 743) | | ||
| 58 | + | ||
| 59 | +## Where the gap is | ||
| 60 | + | ||
| 61 | +**Not in the leaves, and not in the key's byte count -- it is the ALLOCATION | ||
| 62 | +and the number of levels.** | ||
| 63 | + | ||
| 64 | +1. **Our key frame is the COARSEST anchor in our own stream.** Our ladder is | ||
| 65 | + key 150 / arf 118 / leaf 166: the one frame the whole 48-picture GOP | ||
| 66 | + predicts from is coded 32 q-steps ABOVE the ARFs. rav1e codes key 100 / | ||
| 67 | + top 120 / mid 137 / leaf 153 and libaom key 63 / top 95 / internal | ||
| 68 | + 129..168 / leaf 163: in both references the key is the BEST frame in the | ||
| 69 | + stream by 20-100 q-steps and takes 22-37% of the bytes; ours takes 10-11%. | ||
| 70 | + Film B display-0 PSNR: rav1e 47.1 dB against our 45.0 dB at a stream that | ||
| 71 | + is 48% bigger overall. | ||
| 72 | +2. **One hidden level against two.** rav1e's mini-GOP at speed 6 is FOUR | ||
| 73 | + pictures with two hidden levels (top ARF at the group's last picture at | ||
| 74 | + q120, an internal ARF at its midpoint at q137, two leaves at q153) -- 23 | ||
| 75 | + hidden frames in 48 pictures against our 6. libaom is deeper still: 23 | ||
| 76 | + hidden frames over qindex 95..168. Our 8-picture group carries one hidden | ||
| 77 | + frame at q118 and then seven leaves that are 4 to 7 pictures away from | ||
| 78 | + their nearest good reference. | ||
| 79 | +3. **The cost lands on the top ARF, not the leaf.** On film B our 6 ARFs are | ||
| 80 | + 70.9% of the stream at 8,918 B each, where rav1e's 23 hidden frames total | ||
| 81 | + 31,035 B. Our leaves are already cheap (329 B, 17.9% of the stream) -- | ||
| 82 | + the 12-frame census's "leaves are 11.5x rav1e" finding does NOT hold at | ||
| 83 | + 48 pictures with the shipped 8:-32:16 pyramid. Film A is the same shape | ||
| 84 | + with a heavier leaf term (1,955 B vs 1,206 B). | ||
| 85 | + | ||
| 86 | +The structural fix these three point at is a THIRD LEVEL, which is what | ||
| 87 | +lane-pyr5 built (`Pyramid::mid_q_offset`): a second hidden frame at the | ||
| 88 | +midpoint of each mini-GOP, leaves referencing the nearer of the two ARFs. | ||
| 89 | +Censused at the same q150 point, film B: | ||
| 90 | + | ||
| 91 | +| stream | bytes | PSNR-Y | key | arf top | arf mid | leaf | | ||
| 92 | +|---|---|---|---|---|---|---| | ||
| 93 | +| ours 8:-32:16 (2-level) | 75,433 | 44.858 | 8,399 | 6 @ 53,508 | -- | 41 @ 13,526 | | ||
| 94 | +| ours 8:-32:16:-8 (3-level) | 82,496 | **45.096** | 8,399 | 6 @ 53,508 | 6 @ 11,472 | 35 @ 9,117 | | ||
| 95 | + | ||
| 96 | +The mid ARF costs 11,472 B and takes 4,409 B back off the leaves (41 leaves at | ||
| 97 | +329 B -> 35 at 260 B) for +0.24 dB, which is a BD win: see `lanes/pyr5.sweep.txt`. | ||
| 98 | + | ||
| 99 | +## The unclaimed lever | ||
| 100 | + | ||
| 101 | +Levels 1 above is NOT addressed by the third level and is the larger of the | ||
| 102 | +two: our key frame gets no negative q offset at all, while both references | ||
| 103 | +spend a fifth to a third of the whole stream on theirs. A `key_q_offset` on | ||
| 104 | +`Pyramid` (or a rate-loop `KEY_WEIGHT` re-fit) is the next lane; it is deferred | ||
| 105 | +here because it is the rate-allocation axis, not the reference structure this | ||
| 106 | +lane was chartered for. | ||
| 107 | + | ||
| 108 | +## Reproducing | ||
| 109 | + | ||
| 110 | +``` | ||
| 111 | +ffmpeg -v error -ss 00:35:00 -i <film A> -frames:v 48 -vf crop=1920:768:0:12 \ | ||
| 112 | + -f rawvideo -pix_fmt yuv420p filmA.yuv # film B: -ss 00:40:00, crop=1920:1024:960:292 | ||
| 113 | +ffmpeg -v error -y -f rawvideo -pix_fmt yuv420p -s 1920x1024 -r 24 -i filmB.yuv \ | ||
| 114 | + -an -threads 1 -g 48 -c:v librav1e \ | ||
| 115 | + -rav1e-params speed=6:quantizer=125:tile_cols=1:tile_rows=1:threads=1 -f obu rav1e.obu | ||
| 116 | +EC_ENC_VF=null EC_ENC_OUT=<dir> EC_AV1_PYRAMID=8:-32:16:off \ | ||
| 117 | + cargo run --release -p ec-av1 --example enc_probe -- filmB.y4m 1920 1024 48 150 | ||
| 118 | +EC_AV1_BITCENSUS=1 cargo run --release -p ec-av1 --example syntax_census -- <stream> filmB.yuv | ||
| 119 | +``` | ||
lanes/pyr5.sweep.txtadded+41 -0
| @@ -0,0 +1,41 @@ | |||
| 1 | +lane-pyr5: the third pyramid level, swept on encode::tests::bd_rate_film_long_gop | ||
| 2 | +(48 pictures, gop 48, film rows only, -g 48). Every row keyed by the log's own | ||
| 3 | +"pyramid requested/effective" print; logs in lanes/pyr5/<arm>.log. | ||
| 4 | +Head 3aadd65b + the mid-level commit; the control arm is on THIS head, so the | ||
| 5 | +comparison is not against lanes/pyr4.sweep.txt (main moved since). | ||
| 6 | + | ||
| 7 | +| arm | EC_AV1_PYRAMID | film A vs libaom / rav1e | film B vs libaom / rav1e | | ||
| 8 | +|---|---|---|---| | ||
| 9 | +| ctl (2-level, shipped) | 8:-32:16:off | +55.2 / +12.8 | +151.3 / +47.4 | | ||
| 10 | +| mid4 | 8:-32:16:-4 | +51.8 / +11.4 | +146.2 / +45.4 | | ||
| 11 | +| mid8 (KEPT) | 8:-32:16:-8 | +52.1 / +11.7 | +145.3 / +45.0 | | ||
| 12 | +| mid16 | 8:-32:16:-16 | +53.4 / +13.0 | +146.0 / +46.1 | | ||
| 13 | +| leaf20 | 8:-32:20:-8 | +52.4 / +11.5 | +148.0 / +46.1 | | ||
| 14 | +| g16mid8 | 16:-32:16:-8 | +55.0 / +12.3 | +146.0 / +44.3 | | ||
| 15 | +| g16mid | 16:-32:16:-16 | +54.6 / +12.1 | +148.7 / +46.0 | | ||
| 16 | +| g4mid8 | 4:-32:16:-8 | +61.7 / +20.4 | +147.5 / +51.3 | | ||
| 17 | + | ||
| 18 | +Keep rule (both films down on both columns at 48 frames): mid4, mid8, mid16 and | ||
| 19 | +leaf20 all pass; mid8 is the best on film B (the wider gap) and within 0.3 of | ||
| 20 | +mid4 on film A. mini_gop 16 with a mid level is no better than the 2-level 8, | ||
| 21 | +and mini_gop 4 -- rav1e's own group size -- is much worse: the third level, not | ||
| 22 | +a shorter group, is what pays here. | ||
| 23 | + | ||
| 24 | +Encoder wall is unchanged within noise (231-280 s per 4-point ladder across | ||
| 25 | +every arm, ctl 272 s / 255 s). | ||
| 26 | + | ||
| 27 | +## The 12-frame gate (encode::tests::bd_rate_screen_native), keyed by each log's | ||
| 28 | +## own mid_q_offset print | ||
| 29 | + | ||
| 30 | +| mid | film A vs libaom / rav1e | film B vs libaom / rav1e | | ||
| 31 | +|---|---|---| | ||
| 32 | +| None (control) | +43.9 / +15.6 | +68.4 / +38.2 | | ||
| 33 | +| -4 | +43.8 / +15.8 | +71.1 / +38.1 | | ||
| 34 | +| -8 | +43.7 / +15.7 | +71.2 / +37.8 | | ||
| 35 | +| -8, run-length gated (SHIPPED) | +43.9 / +15.6 | +68.4 / +38.2 (byte-identical to the control) | | ||
| 36 | + | ||
| 37 | +A 12-picture GOP under mini_gop 8 is ONE group of 11 (group_target absorbs the | ||
| 38 | +tail), and a second hidden frame inside it costs 2.7-2.8 points against libaom | ||
| 39 | +on film B at every offset measured. So the third level is gated on the RUN's | ||
| 40 | +length -- `gop > mini_gop + mini_gop / 2`, i.e. a GOP that holds more than one | ||
| 41 | +mini-GOP -- and the 12-frame gate codes byte for byte what it coded before. | ||
lanes/pyr5/ctl.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=902 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=185695 OBMC=0 WARP=9574 | 16x16 SIMPLE=103597 OBMC=0 WARP=14650 | 8x8 SIMPLE=25938 OBMC=0 WARP=4652 (0.0% OBMC / 8.4% WARP of 344106 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 355412 blocks -- leaf single 0=74879 1=15303 (17.0% split) | leaf compound 0=117796 1=24157 (17.0% split) | 32x32 single 0=32956 1=25513 (43.6% split) | 32x32 compound 0=38871 1=25937 (40.0% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 114341 (modes DC=27493 V=15938 H=22401 D157=32033 PAETH=16476) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.63 dB/195531 B, 45.54 dB/356977 B, 46.80 dB/619801 B, 47.94 dB/1331401 B | +55.2% | +12.8% | 272.3s:34.5s:52.6s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=799 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=211469 OBMC=0 WARP=6377 | 16x16 SIMPLE=71374 OBMC=0 WARP=6009 | 8x8 SIMPLE=13929 OBMC=0 WARP=1672 (0.0% OBMC / 4.5% WARP of 310830 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 302583 blocks -- leaf single 0=65620 1=15157 (18.8% split) | leaf compound 0=87859 1=17247 (16.4% split) | 32x32 single 0=33387 1=32493 (49.3% split) | 32x32 compound 0=27556 1=23264 (45.8% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 66685 (modes DC=17151 V=9527 H=9562 D157=23412 PAETH=7033) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.16 dB/76541 B, 47.65 dB/171950 B, 48.72 dB/393470 B, 49.76 dB/1006532 B | +151.3% | +47.4% | 254.9s:69.4s:53.1s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 752.64s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/g16mid.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=900 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=185343 OBMC=0 WARP=8379 | 16x16 SIMPLE=91478 OBMC=0 WARP=10360 | 8x8 SIMPLE=21799 OBMC=0 WARP=3366 (0.0% OBMC / 6.9% WARP of 320725 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 368638 blocks -- leaf single 0=67856 1=13548 (16.6% split) | leaf compound 0=130941 1=28865 (18.1% split) | 32x32 single 0=32050 1=25501 (44.3% split) | 32x32 compound 0=41656 1=28221 (40.4% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 103233 (modes DC=25011 V=14028 H=19909 D157=29095 PAETH=15190) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.47 dB/186423 B, 45.40 dB/335641 B, 46.70 dB/587894 B, 47.82 dB/1190211 B | +54.6% | +12.1% | 276.1s:32.8s:52.5s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=794 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=207383 OBMC=0 WARP=5702 | 16x16 SIMPLE=66572 OBMC=0 WARP=4899 | 8x8 SIMPLE=9663 OBMC=0 WARP=3066 (0.0% OBMC / 4.6% WARP of 297285 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 312162 blocks -- leaf single 0=61267 1=14004 (18.6% split) | leaf compound 0=96804 1=19763 (17.0% split) | 32x32 single 0=33600 1=32279 (49.0% split) | 32x32 compound 0=29940 1=24505 (45.0% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 66833 (modes DC=17309 V=9020 H=9362 D157=24087 PAETH=7055) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.02 dB/71824 B, 47.54 dB/156857 B, 48.65 dB/363332 B, 49.67 dB/917653 B | +148.7% | +46.0% | 238.9s:68.1s:50.2s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 732.32s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/g16mid8.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=905 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=188387 OBMC=0 WARP=8786 | 16x16 SIMPLE=91968 OBMC=0 WARP=9691 | 8x8 SIMPLE=20394 OBMC=0 WARP=3572 (0.0% OBMC / 6.8% WARP of 322798 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 370055 blocks -- leaf single 0=68272 1=13752 (16.8% split) | leaf compound 0=130800 1=29202 (18.3% split) | 32x32 single 0=32654 1=25288 (43.6% split) | 32x32 compound 0=42129 1=27958 (39.9% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 97766 (modes DC=23950 V=13294 H=18944 D157=27204 PAETH=14374) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.39 dB/182030 B, 45.35 dB/328827 B, 46.66 dB/578384 B, 47.77 dB/1150333 B | +55.0% | +12.3% | 264.6s:33.0s:52.7s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=785 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=203793 OBMC=0 WARP=5781 | 16x16 SIMPLE=65840 OBMC=0 WARP=4892 | 8x8 SIMPLE=9254 OBMC=0 WARP=2842 (0.0% OBMC / 4.6% WARP of 292402 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 313056 blocks -- leaf single 0=61299 1=14132 (18.7% split) | leaf compound 0=95979 1=20274 (17.4% split) | 32x32 single 0=34131 1=32891 (49.1% split) | 32x32 compound 0=29642 1=24708 (45.5% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 61505 (modes DC=15968 V=8057 H=8772 D157=22201 PAETH=6507) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 45.94 dB/68023 B, 47.48 dB/149250 B, 48.61 dB/350212 B, 49.63 dB/874824 B | +146.0% | +44.3% | 236.9s:68.3s:50.0s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 719.73s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/g4mid8.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=907 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=148806 OBMC=0 WARP=7759 | 16x16 SIMPLE=86205 OBMC=0 WARP=15470 | 8x8 SIMPLE=40140 OBMC=0 WARP=7116 (0.0% OBMC / 9.9% WARP of 305496 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 395102 blocks -- leaf single 0=64042 1=14636 (18.6% split) | leaf compound 0=142574 1=41981 (22.7% split) | 32x32 single 0=28965 1=19709 (40.5% split) | 32x32 compound 0=49067 1=34128 (41.0% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 172124 (modes DC=40605 V=26990 H=31893 D157=48676 PAETH=23960) | ||
| 14 | +| film A (1080p source) 1920x768 | 44.23 dB/247983 B, 46.00 dB/460813 B, 47.20 dB/817026 B, 48.47 dB/2003982 B | +61.7% | +20.4% | 290.1s:32.5s:52.7s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=829 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=203075 OBMC=0 WARP=6770 | 16x16 SIMPLE=77859 OBMC=0 WARP=6558 | 8x8 SIMPLE=25160 OBMC=0 WARP=6324 (0.0% OBMC / 6.0% WARP of 325746 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 361122 blocks -- leaf single 0=67314 1=18846 (21.9% split) | leaf compound 0=109627 1=31275 (22.2% split) | 32x32 single 0=34932 1=32330 (48.1% split) | 32x32 compound 0=34876 1=31922 (47.8% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 114300 (modes DC=27469 V=17064 H=17400 D157=40869 PAETH=11498) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.73 dB/103046 B, 48.10 dB/249199 B, 49.14 dB/570401 B, 50.28 dB/1536115 B | +147.5% | +51.3% | 280.0s:67.9s:49.8s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 787.98s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/leaf20.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 20, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 20, mid_q_offset: Some(-8) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=895 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=164174 OBMC=0 WARP=6272 | 16x16 SIMPLE=77527 OBMC=0 WARP=9371 | 8x8 SIMPLE=23144 OBMC=0 WARP=4034 (0.0% OBMC / 6.9% WARP of 284522 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 335970 blocks -- leaf single 0=52287 1=9723 (15.7% split) | leaf compound 0=122388 1=31196 (20.3% split) | 32x32 single 0=26861 1=19708 (42.3% split) | 32x32 compound 0=44027 1=29780 (40.3% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 120995 (modes DC=29242 V=17384 H=22920 D157=34266 PAETH=17183) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.73 dB/202302 B, 45.63 dB/364640 B, 46.90 dB/634119 B, 48.03 dB/1382933 B | +52.4% | +11.5% | 252.2s:32.4s:52.4s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 20, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 20, mid_q_offset: Some(-8) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=795 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=196871 OBMC=0 WARP=4769 | 16x16 SIMPLE=59720 OBMC=0 WARP=4186 | 8x8 SIMPLE=14093 OBMC=0 WARP=1569 (0.0% OBMC / 3.7% WARP of 281208 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 290757 blocks -- leaf single 0=49201 1=11046 (18.3% split) | leaf compound 0=91253 1=24350 (21.1% split) | 32x32 single 0=28399 1=28507 (50.1% split) | 32x32 compound 0=30603 1=27398 (47.2% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 76384 (modes DC=19406 V=10975 H=11071 D157=26852 PAETH=8080) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.34 dB/82651 B, 47.75 dB/184349 B, 48.80 dB/415557 B, 49.83 dB/1045824 B | +148.0% | +46.1% | 231.2s:68.0s:50.0s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 700.26s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/longfinal.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=901 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=164823 OBMC=0 WARP=6214 | 16x16 SIMPLE=79067 OBMC=0 WARP=9564 | 8x8 SIMPLE=24164 OBMC=0 WARP=4137 (0.0% OBMC / 6.9% WARP of 287969 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 362344 blocks -- leaf single 0=56249 1=10695 (16.0% split) | leaf compound 0=134627 1=34484 (20.4% split) | 32x32 single 0=27709 1=20548 (42.6% split) | 32x32 compound 0=45227 1=32805 (42.0% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 123095 (modes DC=29567 V=17707 H=23454 D157=34826 PAETH=17541) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.84 dB/207644 B, 45.71 dB/376854 B, 46.96 dB/656711 B, 48.08 dB/1424891 B | +52.1% | +11.7% | 263.4s:32.7s:52.4s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=810 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=204628 OBMC=0 WARP=4807 | 16x16 SIMPLE=63000 OBMC=0 WARP=4213 | 8x8 SIMPLE=14688 OBMC=0 WARP=1628 (0.0% OBMC / 3.6% WARP of 292964 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 316255 blocks -- leaf single 0=53180 1=12002 (18.4% split) | leaf compound 0=101658 1=26304 (20.6% split) | 32x32 single 0=30269 1=30853 (50.5% split) | 32x32 compound 0=32319 1=29670 (47.9% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 78547 (modes DC=19962 V=11322 H=11464 D157=27737 PAETH=8062) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.38 dB/83633 B, 47.80 dB/188935 B, 48.86 dB/435194 B, 49.89 dB/1088291 B | +145.3% | +45.0% | 242.4s:68.0s:50.0s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 722.72s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/mid16.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=903 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=162306 OBMC=0 WARP=6155 | 16x16 SIMPLE=79841 OBMC=0 WARP=9458 | 8x8 SIMPLE=29052 OBMC=0 WARP=4252 (0.0% OBMC / 6.8% WARP of 291064 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 366178 blocks -- leaf single 0=56888 1=10976 (16.2% split) | leaf compound 0=137357 1=34510 (20.1% split) | 32x32 single 0=27248 1=20543 (43.0% split) | 32x32 compound 0=45222 1=33434 (42.5% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 134396 (modes DC=31968 V=19616 H=25422 D157=38156 PAETH=19234) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.91 dB/215147 B, 45.76 dB/390113 B, 47.00 dB/675068 B, 48.15 dB/1511227 B | +53.4% | +13.0% | 279.8s:32.8s:52.9s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-16) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=809 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=203150 OBMC=0 WARP=4712 | 16x16 SIMPLE=63344 OBMC=0 WARP=4184 | 8x8 SIMPLE=16172 OBMC=0 WARP=1724 (0.0% OBMC / 3.6% WARP of 293286 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 321279 blocks -- leaf single 0=53447 1=12091 (18.4% split) | leaf compound 0=105737 1=26868 (20.3% split) | 32x32 single 0=30157 1=30572 (50.3% split) | 32x32 compound 0=32702 1=29705 (47.6% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 83391 (modes DC=21124 V=12070 H=12063 D157=29494 PAETH=8640) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.46 dB/88003 B, 47.86 dB/199192 B, 48.90 dB/451941 B, 49.95 dB/1149498 B | +146.0% | +46.1% | 250.4s:68.2s:50.2s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 748.66s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/mid4.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=898 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=164270 OBMC=0 WARP=6489 | 16x16 SIMPLE=80073 OBMC=0 WARP=9495 | 8x8 SIMPLE=23749 OBMC=0 WARP=4142 (0.0% OBMC / 7.0% WARP of 288218 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 360151 blocks -- leaf single 0=56319 1=10937 (16.3% split) | leaf compound 0=132345 1=34394 (20.6% split) | 32x32 single 0=27658 1=20926 (43.1% split) | 32x32 compound 0=44790 1=32782 (42.3% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 120556 (modes DC=29264 V=17384 H=22906 D157=33940 PAETH=17062) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.80 dB/204732 B, 45.68 dB/372633 B, 46.94 dB/649485 B, 48.06 dB/1396732 B | +51.8% | +11.4% | 263.3s:33.0s:52.6s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=803 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=201301 OBMC=0 WARP=4921 | 16x16 SIMPLE=62996 OBMC=0 WARP=4384 | 8x8 SIMPLE=14098 OBMC=0 WARP=1605 (0.0% OBMC / 3.8% WARP of 289305 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 313498 blocks -- leaf single 0=52809 1=12093 (18.6% split) | leaf compound 0=99502 1=26367 (20.9% split) | 32x32 single 0=30224 1=30842 (50.5% split) | 32x32 compound 0=31847 1=29814 (48.4% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 76731 (modes DC=19740 V=10941 H=11220 D157=26925 PAETH=7905) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.33 dB/82075 B, 47.78 dB/185957 B, 48.84 dB/428057 B, 49.87 dB/1067582 B | +146.2% | +45.4% | 242.8s:68.3s:50.1s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 724.46s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/mid8.logadded+26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds | ||
| 8 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 9 | +film A (1080p source): pricer armings default=20 real=901 | ||
| 10 | +film A (1080p source): motion_mode 32x32 SIMPLE=164823 OBMC=0 WARP=6214 | 16x16 SIMPLE=79067 OBMC=0 WARP=9564 | 8x8 SIMPLE=24164 OBMC=0 WARP=4137 (0.0% OBMC / 6.9% WARP of 287969 eligible) | ||
| 11 | +film A (1080p source): inter var-tx depths of 362344 blocks -- leaf single 0=56249 1=10695 (16.0% split) | leaf compound 0=134627 1=34484 (20.4% split) | 32x32 single 0=27709 1=20548 (42.6% split) | 32x32 compound 0=45227 1=32805 (42.0% split) | ||
| 12 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 13 | +film A (1080p source): filter intra on=true blocks 123095 (modes DC=29567 V=17707 H=23454 D157=34826 PAETH=17541) | ||
| 14 | +| film A (1080p source) 1920x768 | 43.84 dB/207644 B, 45.71 dB/376854 B, 46.96 dB/656711 B, 48.08 dB/1424891 B | +52.1% | +11.7% | 277.0s:34.0s:53.6s | | ||
| 15 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +film B (2160p HDR source): pricer armings default=17 real=810 | ||
| 17 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=204628 OBMC=0 WARP=4807 | 16x16 SIMPLE=63000 OBMC=0 WARP=4213 | 8x8 SIMPLE=14688 OBMC=0 WARP=1628 (0.0% OBMC / 3.6% WARP of 292964 eligible) | ||
| 18 | +film B (2160p HDR source): inter var-tx depths of 316255 blocks -- leaf single 0=53180 1=12002 (18.4% split) | leaf compound 0=101658 1=26304 (20.6% split) | 32x32 single 0=30269 1=30853 (50.5% split) | 32x32 compound 0=32319 1=29670 (47.9% split) | ||
| 19 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +film B (2160p HDR source): filter intra on=true blocks 78547 (modes DC=19962 V=11322 H=11464 D157=27737 PAETH=8062) | ||
| 21 | +| film B (2160p HDR source) 1920x1024 | 46.38 dB/83633 B, 47.80 dB/188935 B, 48.86 dB/435194 B, 49.89 dB/1088291 B | +145.3% | +45.0% | 263.6s:70.5s:51.5s | | ||
| 22 | +test encode::tests::bd_rate_film_long_gop ... ok | ||
| 23 | + | ||
| 24 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 765.72s | ||
| 25 | + | ||
| 26 | +RC=0 | ||
lanes/pyr5/s12ctl.logadded+40 -0
| @@ -0,0 +1,40 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=175 | ||
| 9 | +bars 1080p: motion_mode 32x32 SIMPLE=42571 OBMC=0 WARP=346 | 16x16 SIMPLE=4026 OBMC=0 WARP=294 | 8x8 SIMPLE=12994 OBMC=0 WARP=1940 (0.0% OBMC / 4.1% WARP of 62171 eligible) | ||
| 10 | +bars 1080p: inter var-tx depths of 11784 blocks -- leaf single 0=2245 1=900 (28.6% split) | leaf compound 0=984 1=498 (33.6% split) | 32x32 single 0=874 1=1847 (67.9% split) | 32x32 compound 0=2336 1=2100 (47.3% split) | ||
| 11 | +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 12 | +bars 1080p: filter intra on=true blocks 26588 (modes DC=5735 V=2857 H=5618 D157=8546 PAETH=3832) | ||
| 13 | +| bars 1080p 1920x1024 | 43.17 dB/192863 B, 46.83 dB/291450 B, 50.13 dB/403655 B, 53.14 dB/531399 B | +2.0% | -14.0% | 32.0s:6.7s:16.6s | | ||
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | ||
| 15 | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 16 | +bars 2160p: pricer armings default=15 real=154 | ||
| 17 | +bars 2160p: motion_mode 32x32 SIMPLE=30865 OBMC=0 WARP=170 | 16x16 SIMPLE=2415 OBMC=0 WARP=291 | 8x8 SIMPLE=5108 OBMC=0 WARP=178 (0.0% OBMC / 1.6% WARP of 39027 eligible) | ||
| 18 | +bars 2160p: inter var-tx depths of 9263 blocks -- leaf single 0=1338 1=395 (22.8% split) | leaf compound 0=1107 1=214 (16.2% split) | 32x32 single 0=420 1=1231 (74.6% split) | 32x32 compound 0=141 1=4417 (96.9% split) | ||
| 19 | +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +bars 2160p: filter intra on=true blocks 9833 (modes DC=2310 V=581 H=2183 D157=3547 PAETH=1212) | ||
| 21 | +| bars 2160p 1920x1024 | 42.74 dB/206163 B, 46.77 dB/316440 B, 50.31 dB/423772 B, 53.39 dB/534607 B | +13.5% | -9.6% | 28.0s:5.8s:16.0s | | ||
| 22 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 23 | +film A (1080p source): pricer armings default=20 real=214 | ||
| 24 | +film A (1080p source): motion_mode 32x32 SIMPLE=45674 OBMC=0 WARP=1455 | 16x16 SIMPLE=20981 OBMC=0 WARP=1681 | 8x8 SIMPLE=4346 OBMC=0 WARP=968 (0.0% OBMC / 5.5% WARP of 75105 eligible) | ||
| 25 | +film A (1080p source): inter var-tx depths of 89726 blocks -- leaf single 0=16547 1=2873 (14.8% split) | leaf compound 0=32672 1=6807 (17.2% split) | 32x32 single 0=8182 1=6135 (42.9% split) | 32x32 compound 0=10307 1=6203 (37.6% split) | ||
| 26 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 27 | +film A (1080p source): filter intra on=true blocks 26297 (modes DC=6681 V=3416 H=4774 D157=7937 PAETH=3489) | ||
| 28 | +| film A (1080p source) 1920x768 | 43.06 dB/62730 B, 45.17 dB/106661 B, 46.58 dB/177362 B, 47.74 dB/328095 B | +43.9% | +15.6% | 63.6s:9.6s:13.7s | | ||
| 29 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: None }) | ||
| 30 | +film B (2160p HDR source): pricer armings default=17 real=185 | ||
| 31 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=50211 OBMC=0 WARP=1035 | 16x16 SIMPLE=13582 OBMC=0 WARP=867 | 8x8 SIMPLE=1692 OBMC=0 WARP=441 (0.0% OBMC / 3.5% WARP of 67828 eligible) | ||
| 32 | +film B (2160p HDR source): inter var-tx depths of 78648 blocks -- leaf single 0=15248 1=2707 (15.1% split) | leaf compound 0=26845 1=4675 (14.8% split) | 32x32 single 0=8989 1=7481 (45.4% split) | 32x32 compound 0=7489 1=5214 (41.0% split) | ||
| 33 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 34 | +film B (2160p HDR source): filter intra on=true blocks 17758 (modes DC=4929 V=2210 H=2503 D157=6222 PAETH=1894) | ||
| 35 | +| film B (2160p HDR source) 1920x1024 | 45.60 dB/25807 B, 47.49 dB/52702 B, 48.72 dB/112338 B, 49.74 dB/251263 B | +68.4% | +38.2% | 60.9s:18.8s:14.9s | | ||
| 36 | +test encode::tests::bd_rate_screen_native ... ok | ||
| 37 | + | ||
| 38 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 297.66s | ||
| 39 | + | ||
| 40 | +RC=0 | ||
lanes/pyr5/s12final.logadded+40 -0
| @@ -0,0 +1,40 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=175 | ||
| 9 | +bars 1080p: motion_mode 32x32 SIMPLE=42571 OBMC=0 WARP=346 | 16x16 SIMPLE=4026 OBMC=0 WARP=294 | 8x8 SIMPLE=12994 OBMC=0 WARP=1940 (0.0% OBMC / 4.1% WARP of 62171 eligible) | ||
| 10 | +bars 1080p: inter var-tx depths of 11784 blocks -- leaf single 0=2245 1=900 (28.6% split) | leaf compound 0=984 1=498 (33.6% split) | 32x32 single 0=874 1=1847 (67.9% split) | 32x32 compound 0=2336 1=2100 (47.3% split) | ||
| 11 | +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 12 | +bars 1080p: filter intra on=true blocks 26588 (modes DC=5735 V=2857 H=5618 D157=8546 PAETH=3832) | ||
| 13 | +| bars 1080p 1920x1024 | 43.17 dB/192863 B, 46.83 dB/291450 B, 50.13 dB/403655 B, 53.14 dB/531399 B | +2.0% | -14.0% | 31.7s:6.6s:16.6s | | ||
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | ||
| 15 | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +bars 2160p: pricer armings default=15 real=154 | ||
| 17 | +bars 2160p: motion_mode 32x32 SIMPLE=30865 OBMC=0 WARP=170 | 16x16 SIMPLE=2415 OBMC=0 WARP=291 | 8x8 SIMPLE=5108 OBMC=0 WARP=178 (0.0% OBMC / 1.6% WARP of 39027 eligible) | ||
| 18 | +bars 2160p: inter var-tx depths of 9263 blocks -- leaf single 0=1338 1=395 (22.8% split) | leaf compound 0=1107 1=214 (16.2% split) | 32x32 single 0=420 1=1231 (74.6% split) | 32x32 compound 0=141 1=4417 (96.9% split) | ||
| 19 | +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +bars 2160p: filter intra on=true blocks 9833 (modes DC=2310 V=581 H=2183 D157=3547 PAETH=1212) | ||
| 21 | +| bars 2160p 1920x1024 | 42.74 dB/206163 B, 46.77 dB/316440 B, 50.31 dB/423772 B, 53.39 dB/534607 B | +13.5% | -9.6% | 28.0s:5.8s:16.0s | | ||
| 22 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 23 | +film A (1080p source): pricer armings default=20 real=214 | ||
| 24 | +film A (1080p source): motion_mode 32x32 SIMPLE=45674 OBMC=0 WARP=1455 | 16x16 SIMPLE=20981 OBMC=0 WARP=1681 | 8x8 SIMPLE=4346 OBMC=0 WARP=968 (0.0% OBMC / 5.5% WARP of 75105 eligible) | ||
| 25 | +film A (1080p source): inter var-tx depths of 89726 blocks -- leaf single 0=16547 1=2873 (14.8% split) | leaf compound 0=32672 1=6807 (17.2% split) | 32x32 single 0=8182 1=6135 (42.9% split) | 32x32 compound 0=10307 1=6203 (37.6% split) | ||
| 26 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 27 | +film A (1080p source): filter intra on=true blocks 26297 (modes DC=6681 V=3416 H=4774 D157=7937 PAETH=3489) | ||
| 28 | +| film A (1080p source) 1920x768 | 43.06 dB/62730 B, 45.17 dB/106661 B, 46.58 dB/177362 B, 47.74 dB/328095 B | +43.9% | +15.6% | 62.7s:9.6s:13.7s | | ||
| 29 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 30 | +film B (2160p HDR source): pricer armings default=17 real=185 | ||
| 31 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=50211 OBMC=0 WARP=1035 | 16x16 SIMPLE=13582 OBMC=0 WARP=867 | 8x8 SIMPLE=1692 OBMC=0 WARP=441 (0.0% OBMC / 3.5% WARP of 67828 eligible) | ||
| 32 | +film B (2160p HDR source): inter var-tx depths of 78648 blocks -- leaf single 0=15248 1=2707 (15.1% split) | leaf compound 0=26845 1=4675 (14.8% split) | 32x32 single 0=8989 1=7481 (45.4% split) | 32x32 compound 0=7489 1=5214 (41.0% split) | ||
| 33 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 34 | +film B (2160p HDR source): filter intra on=true blocks 17758 (modes DC=4929 V=2210 H=2503 D157=6222 PAETH=1894) | ||
| 35 | +| film B (2160p HDR source) 1920x1024 | 45.60 dB/25807 B, 47.49 dB/52702 B, 48.72 dB/112338 B, 49.74 dB/251263 B | +68.4% | +38.2% | 60.3s:18.8s:15.0s | | ||
| 36 | +test encode::tests::bd_rate_screen_native ... ok | ||
| 37 | + | ||
| 38 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 295.60s | ||
| 39 | + | ||
| 40 | +RC=0 | ||
lanes/pyr5/s12mid4.logadded+40 -0
| @@ -0,0 +1,40 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=174 | ||
| 9 | +bars 1080p: motion_mode 32x32 SIMPLE=42501 OBMC=0 WARP=172 | 16x16 SIMPLE=3323 OBMC=0 WARP=219 | 8x8 SIMPLE=12171 OBMC=0 WARP=1318 (0.0% OBMC / 2.9% WARP of 59704 eligible) | ||
| 10 | +bars 1080p: inter var-tx depths of 11108 blocks -- leaf single 0=1481 1=706 (32.3% split) | leaf compound 0=1170 1=639 (35.3% split) | 32x32 single 0=736 1=1752 (70.4% split) | 32x32 compound 0=2420 1=2204 (47.7% split) | ||
| 11 | +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 12 | +bars 1080p: filter intra on=true blocks 26513 (modes DC=5949 V=2809 H=5352 D157=8556 PAETH=3847) | ||
| 13 | +| bars 1080p 1920x1024 | 43.39 dB/201879 B, 47.02 dB/303409 B, 50.32 dB/416460 B, 53.31 dB/544299 B | +3.4% | -12.7% | 32.1s:6.7s:16.6s | | ||
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | ||
| 15 | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 16 | +bars 2160p: pricer armings default=15 real=157 | ||
| 17 | +bars 2160p: motion_mode 32x32 SIMPLE=32576 OBMC=0 WARP=118 | 16x16 SIMPLE=1987 OBMC=0 WARP=230 | 8x8 SIMPLE=4616 OBMC=0 WARP=428 (0.0% OBMC / 1.9% WARP of 39955 eligible) | ||
| 18 | +bars 2160p: inter var-tx depths of 9103 blocks -- leaf single 0=1105 1=394 (26.3% split) | leaf compound 0=1116 1=239 (17.6% split) | 32x32 single 0=431 1=1251 (74.4% split) | 32x32 compound 0=158 1=4409 (96.5% split) | ||
| 19 | +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +bars 2160p: filter intra on=true blocks 10327 (modes DC=2426 V=610 H=2274 D157=3663 PAETH=1354) | ||
| 21 | +| bars 2160p 1920x1024 | 42.97 dB/214407 B, 46.98 dB/325301 B, 50.47 dB/432962 B, 53.55 dB/545097 B | +14.2% | -8.9% | 28.1s:5.8s:16.0s | | ||
| 22 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 23 | +film A (1080p source): pricer armings default=20 real=216 | ||
| 24 | +film A (1080p source): motion_mode 32x32 SIMPLE=43950 OBMC=0 WARP=957 | 16x16 SIMPLE=16367 OBMC=0 WARP=1101 | 8x8 SIMPLE=3846 OBMC=0 WARP=856 (0.0% OBMC / 4.3% WARP of 67077 eligible) | ||
| 25 | +film A (1080p source): inter var-tx depths of 92930 blocks -- leaf single 0=13555 1=2135 (13.6% split) | leaf compound 0=37178 1=8238 (18.1% split) | 32x32 single 0=7507 1=5431 (42.0% split) | 32x32 compound 0=11277 1=7609 (40.3% split) | ||
| 26 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 27 | +film A (1080p source): filter intra on=true blocks 26966 (modes DC=6904 V=3542 H=4841 D157=8003 PAETH=3676) | ||
| 28 | +| film A (1080p source) 1920x768 | 43.19 dB/65375 B, 45.27 dB/110282 B, 46.67 dB/183811 B, 47.82 dB/338660 B | +43.8% | +15.8% | 64.2s:9.6s:14.0s | | ||
| 29 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-4) }) | ||
| 30 | +film B (2160p HDR source): pricer armings default=17 real=185 | ||
| 31 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=47682 OBMC=0 WARP=796 | 16x16 SIMPLE=11789 OBMC=0 WARP=581 | 8x8 SIMPLE=1425 OBMC=0 WARP=459 (0.0% OBMC / 2.9% WARP of 62732 eligible) | ||
| 32 | +film B (2160p HDR source): inter var-tx depths of 80782 blocks -- leaf single 0=13617 1=2174 (13.8% split) | leaf compound 0=29366 1=5331 (15.4% split) | 32x32 single 0=8393 1=7371 (46.8% split) | 32x32 compound 0=8509 1=6021 (41.4% split) | ||
| 33 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 34 | +film B (2160p HDR source): filter intra on=true blocks 19224 (modes DC=5361 V=2456 H=2758 D157=6618 PAETH=2031) | ||
| 35 | +| film B (2160p HDR source) 1920x1024 | 45.85 dB/27896 B, 47.58 dB/56547 B, 48.77 dB/119548 B, 49.79 dB/264655 B | +71.1% | +38.1% | 62.3s:18.8s:14.9s | | ||
| 36 | +test encode::tests::bd_rate_screen_native ... ok | ||
| 37 | + | ||
| 38 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 300.38s | ||
| 39 | + | ||
| 40 | +RC=0 | ||
lanes/pyr5/short12.logadded+47 -0
| @@ -0,0 +1,47 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | + | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
| 7 | +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=172 | ||
| 9 | +bars 1080p: motion_mode 32x32 SIMPLE=41210 OBMC=0 WARP=149 | 16x16 SIMPLE=3302 OBMC=0 WARP=238 | 8x8 SIMPLE=11133 OBMC=0 WARP=1199 (0.0% OBMC / 2.8% WARP of 57231 eligible) | ||
| 10 | +bars 1080p: inter var-tx depths of 11239 blocks -- leaf single 0=1532 1=733 (32.4% split) | leaf compound 0=1244 1=617 (33.2% split) | 32x32 single 0=750 1=1744 (69.9% split) | 32x32 compound 0=2377 1=2242 (48.5% split) | ||
| 11 | +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 12 | +bars 1080p: filter intra on=true blocks 25781 (modes DC=5725 V=2780 H=5357 D157=8191 PAETH=3728) | ||
| 13 | +| bars 1080p 1920x1024 | 43.41 dB/203567 B, 47.06 dB/304114 B, 50.35 dB/417451 B, 53.34 dB/544926 B | +3.4% | -12.6% | 31.7s:6.7s:16.6s | | ||
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | ||
| 15 | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 16 | +bars 2160p: pricer armings default=15 real=154 | ||
| 17 | +bars 2160p: motion_mode 32x32 SIMPLE=31393 OBMC=0 WARP=149 | 16x16 SIMPLE=1993 OBMC=0 WARP=190 | 8x8 SIMPLE=4340 OBMC=0 WARP=386 (0.0% OBMC / 1.9% WARP of 38451 eligible) | ||
| 18 | +bars 2160p: inter var-tx depths of 9109 blocks -- leaf single 0=1080 1=397 (26.9% split) | leaf compound 0=1097 1=212 (16.2% split) | 32x32 single 0=428 1=1259 (74.6% split) | 32x32 compound 0=166 1=4470 (96.4% split) | ||
| 19 | +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 20 | +bars 2160p: filter intra on=true blocks 9715 (modes DC=2353 V=663 H=2138 D157=3243 PAETH=1318) | ||
| 21 | +| bars 2160p 1920x1024 | 43.01 dB/215730 B, 47.02 dB/326282 B, 50.50 dB/435254 B, 53.59 dB/546895 B | +14.3% | -8.8% | 28.0s:5.6s:15.9s | | ||
| 22 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 23 | +film A (1080p source): pricer armings default=20 real=218 | ||
| 24 | +film A (1080p source): motion_mode 32x32 SIMPLE=44658 OBMC=0 WARP=902 | 16x16 SIMPLE=16683 OBMC=0 WARP=1124 | 8x8 SIMPLE=3770 OBMC=0 WARP=846 (0.0% OBMC / 4.2% WARP of 67983 eligible) | ||
| 25 | +film A (1080p source): inter var-tx depths of 92735 blocks -- leaf single 0=13767 1=2090 (13.2% split) | leaf compound 0=37059 1=8144 (18.0% split) | 32x32 single 0=7485 1=5246 (41.2% split) | 32x32 compound 0=11462 1=7482 (39.5% split) | ||
| 26 | +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 27 | +film A (1080p source): filter intra on=true blocks 27378 (modes DC=6926 V=3666 H=4846 D157=8197 PAETH=3743) | ||
| 28 | +| film A (1080p source) 1920x768 | 43.25 dB/65818 B, 45.29 dB/111471 B, 46.69 dB/185455 B, 47.84 dB/343674 B | +43.7% | +15.7% | 63.7s:9.5s:13.7s | | ||
| 29 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) | ||
| 30 | +film B (2160p HDR source): pricer armings default=17 real=186 | ||
| 31 | +film B (2160p HDR source): motion_mode 32x32 SIMPLE=48314 OBMC=0 WARP=792 | 16x16 SIMPLE=11947 OBMC=0 WARP=638 | 8x8 SIMPLE=1583 OBMC=0 WARP=378 (0.0% OBMC / 2.8% WARP of 63652 eligible) | ||
| 32 | +film B (2160p HDR source): inter var-tx depths of 81372 blocks -- leaf single 0=13457 1=2272 (14.4% split) | leaf compound 0=29883 1=5382 (15.3% split) | 32x32 single 0=8533 1=7451 (46.6% split) | 32x32 compound 0=8533 1=5861 (40.7% split) | ||
| 33 | +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 34 | +film B (2160p HDR source): filter intra on=true blocks 19610 (modes DC=5383 V=2521 H=2757 D157=6884 PAETH=2065) | ||
| 35 | +| film B (2160p HDR source) 1920x1024 | 45.89 dB/28358 B, 47.61 dB/56998 B, 48.78 dB/121064 B, 49.80 dB/267968 B | +71.2% | +37.8% | 62.4s:18.7s:14.8s | | ||
| 36 | +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8) }) effective None | ||
| 37 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 | ||
| 38 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) | ||
| 39 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) | ||
| 40 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) | ||
| 41 | +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) | ||
| 42 | +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 38.6s:8.3s:11.2s | | ||
| 43 | +test encode::tests::bd_rate_screen_native ... ok | ||
| 44 | + | ||
| 45 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 589 filtered out; finished in 358.18s | ||
| 46 | + | ||
| 47 | +RC=0 | ||