Lines Matching refs:kWidth

453     constexpr uint32_t kWidth = 320;
456 allocateGraphic(kWidth, kHeight);
459 C2Rect rect(kWidth, kHeight);
476 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12);
477 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34);
478 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56);
494 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12));
495 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34));
496 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56));
497 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, yInfo, y, 0));
498 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, uInfo, u, 0));
499 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, vInfo, v, 0));
500 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, yInfo, y, 0));
501 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, uInfo, u, 0));
502 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, vInfo, v, 0));
506 constexpr uint32_t kWidth = 320;
513 kWidth,
523 ASSERT_EQ(kWidth, graphicView.width());
537 fillPlane({ kWidth, kHeight }, yInfo, y, 0);
538 fillPlane({ kWidth, kHeight }, uInfo, u, 0);
539 fillPlane({ kWidth, kHeight }, vInfo, v, 0);
540 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12);
541 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34);
542 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56);
545 C2ConstGraphicBlock constBlock = block->share(C2Rect(kWidth, kHeight), fence);
551 ASSERT_EQ(kWidth, constGraphicView.width());
565 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, cy, 0x12));
566 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, cu, 0x34));
567 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, cv, 0x56));
568 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, yInfo, cy, 0));
569 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, uInfo, cu, 0));
570 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, vInfo, cv, 0));
571 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, yInfo, cy, 0));
572 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, uInfo, cu, 0));
573 ASSERT_TRUE(verifyPlane({ kWidth / 4, kHeight }, vInfo, cv, 0));