Home
last modified time | relevance | path

Searched refs:plane_num (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/common_video/libyuv/
Dlibyuv_unittest.cc46 for (int plane_num = 0; plane_num < kNumOfPlanes; ++plane_num) { in PrintFrame() local
47 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() local
63 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()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h232 for (int plane_num = 0; plane_num < kNumOfPlanes; ++plane_num) { in CreateImage() local
234 (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()