Searched refs:plane_num (Results 1 – 2 of 2) sorted by relevance
46 for (int plane_num = 0; plane_num < kNumOfPlanes; ++plane_num) { in PrintFrame() local47 PlaneType plane_type = static_cast<PlaneType>(plane_num); in PrintFrame()48 int width = (plane_num ? (frame->width() + 1) / 2 : frame->width()); in PrintFrame()49 int height = (plane_num ? (frame->height() + 1) / 2 : frame->height()); in PrintFrame()62 for (int plane_num = 0; plane_num < kNumOfPlanes; ++plane_num) { in CreateImage() local63 int width = (plane_num != kYPlane ? (frame->width() + 1) / 2 : in CreateImage()65 int height = (plane_num != kYPlane ? (frame->height() + 1) / 2 : in CreateImage()67 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage()71 data[j] = static_cast<uint8_t>(i + plane_offset[plane_num] + j); in CreateImage()
232 for (int plane_num = 0; plane_num < kNumOfPlanes; ++plane_num) { in CreateImage() local234 (plane_num != kYPlane ? (frame->width() + 1) / 2 : frame->width()); in CreateImage()236 (plane_num != kYPlane ? (frame->height() + 1) / 2 : frame->height()); in CreateImage()237 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage()244 memset(data, plane_colors[plane_num], width); in CreateImage()