Lines Matching refs:stride

34 void CopyPlane(size_t plane, const uint8* source, int stride, int rows,
37 int dest_stride = frame->stride(plane);
39 // Clamp in case source frame has smaller stride.
40 int bytes_to_copy_per_row = std::min(frame->row_bytes(plane), stride);
48 source += stride;
53 void CopyYPlane(const uint8* source, int stride, int rows, VideoFrame* frame) {
54 CopyPlane(VideoFrame::kYPlane, source, stride, rows, frame);
57 void CopyUPlane(const uint8* source, int stride, int rows, VideoFrame* frame) {
58 CopyPlane(VideoFrame::kUPlane, source, stride, rows, frame);
61 void CopyVPlane(const uint8* source, int stride, int rows, VideoFrame* frame) {
62 CopyPlane(VideoFrame::kVPlane, source, stride, rows, frame);
65 void CopyAPlane(const uint8* source, int stride, int rows, VideoFrame* frame) {
66 CopyPlane(VideoFrame::kAPlane, source, stride, rows, frame);
69 void MakeOpaqueAPlane(int stride, int rows, VideoFrame* frame) {
72 frame->stride(VideoFrame::kAPlane) * rows_to_clear);
82 y_plane += frame->stride(VideoFrame::kYPlane);
94 u_plane += frame->stride(VideoFrame::kUPlane);
95 v_plane += frame->stride(VideoFrame::kVPlane);
109 a_plane += frame->stride(VideoFrame::kAPlane);
120 const int stride = frame->stride(plane);
122 CHECK_GE(stride, row_bytes);
131 ptr += stride;
143 ptr += stride;
147 ptr += stride * view_area.height();
151 ptr += stride;
294 int stride,
300 CHECK_EQ(frame->stride(kU), frame->stride(kV));
301 const int uv_stride = frame->stride(kU);
308 + (region_in_frame.y() * frame->stride(kY));
318 stride,
319 frame->stride(kY),