Home
last modified time | relevance | path

Searched refs:buffer_y (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/common_video/
Di420_video_frame_unittest.cc91 uint8_t buffer_y[kSizeY]; in TEST() local
94 memset(buffer_y, 16, kSizeY); in TEST()
99 big_frame.CreateFrame(buffer_y, buffer_u, buffer_v, in TEST()
131 uint8_t buffer_y[kSizeY]; in TEST() local
134 memset(buffer_y, 16, kSizeY); in TEST()
138 EXPECT_EQ(0, frame1.CreateFrame(buffer_y, buffer_u, buffer_v, width, height, in TEST()
198 uint8_t buffer_y[kSizeY]; in TEST() local
201 memset(buffer_y, 16, kSizeY); in TEST()
204 frame2.CreateFrame(buffer_y, buffer_u, buffer_v, in TEST()
207 EXPECT_TRUE(EqualPlane(buffer_y, frame2.buffer(kYPlane), stride_y, 15, 15)); in TEST()
Dvideo_frame.cc92 int VideoFrame::CreateFrame(const uint8_t* buffer_y, in CreateFrame() argument
100 return CreateFrame(buffer_y, buffer_u, buffer_v, width, height, stride_y, in CreateFrame()
104 int VideoFrame::CreateFrame(const uint8_t* buffer_y, in CreateFrame() argument
118 memcpy(buffer(kYPlane), buffer_y, expected_size_y); in CreateFrame()
132 const uint8_t* buffer_y = buffer; in CreateFrame() local
133 const uint8_t* buffer_u = buffer_y + stride_y * height; in CreateFrame()
135 return CreateFrame(buffer_y, buffer_u, buffer_v, width, height, stride_y, in CreateFrame()
/external/webrtc/webrtc/
Dvideo_frame.h47 int CreateFrame(const uint8_t* buffer_y,
57 int CreateFrame(const uint8_t* buffer_y,