Searched refs:in_frame (Results 1 – 2 of 2) sorted by relevance
59 const FrameBuffer& in_frame, FrameBuffer* out_frame);116 const FrameBuffer& in_frame, in ConvertFormat() argument118 if ((in_frame.GetWidth() % 2) || (in_frame.GetHeight() % 2)) { in ConvertFormat()119 LOGF(ERROR) << "Width or height is not even (" << in_frame.GetWidth() in ConvertFormat()120 << " x " << in_frame.GetHeight() << ")"; in ConvertFormat()125 out_frame->GetFourcc(), in_frame.GetWidth(), in_frame.GetHeight()); in ConvertFormat()132 if (in_frame.GetFourcc() == V4L2_PIX_FMT_YUYV) { in ConvertFormat()137 in_frame.GetData(), /* src_yuy2 */ in ConvertFormat()138 in_frame.GetWidth() * 2, /* src_stride_yuy2 */ in ConvertFormat()148 in_frame.GetWidth(), in_frame.GetHeight()); in ConvertFormat()[all …]
35 const FrameBuffer& in_frame, FrameBuffer* out_frame);41 static int Scale(const FrameBuffer& in_frame, FrameBuffer* out_frame);