Home
last modified time | relevance | path

Searched refs:out_frame (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/camera/3_4/arc/
Dimage_processor.cpp59 const FrameBuffer& in_frame, FrameBuffer* out_frame);
117 FrameBuffer* out_frame) { in ConvertFormat() argument
125 out_frame->GetFourcc(), in_frame.GetWidth(), in_frame.GetHeight()); in ConvertFormat()
127 if (out_frame->SetDataSize(data_size)) { in ConvertFormat()
133 switch (out_frame->GetFourcc()) { in ConvertFormat()
139 out_frame->GetData(), /* dst_y */ in ConvertFormat()
140 out_frame->GetWidth(), /* dst_stride_y */ in ConvertFormat()
141 out_frame->GetData() + in ConvertFormat()
142 out_frame->GetWidth() * out_frame->GetHeight(), /* dst_u */ in ConvertFormat()
143 out_frame->GetWidth() / 2, /* dst_stride_u */ in ConvertFormat()
[all …]
Dcached_frame.cpp67 int CachedFrame::Convert(const CameraMetadata& metadata, FrameBuffer* out_frame, in Convert() argument
69 if (video_hack && out_frame->GetFourcc() == V4L2_PIX_FMT_YVU420) { in Convert()
70 out_frame->SetFourcc(V4L2_PIX_FMT_YUV420); in Convert()
74 if (GetWidth() != out_frame->GetWidth() || in Convert()
75 GetHeight() != out_frame->GetHeight()) { in Convert()
77 yu12_frame_->GetFourcc(), out_frame->GetWidth(), in Convert()
78 out_frame->GetHeight()); in Convert()
84 scaled_frame_->SetWidth(out_frame->GetWidth()); in Convert()
85 scaled_frame_->SetHeight(out_frame->GetHeight()); in Convert()
90 return ImageProcessor::ConvertFormat(metadata, *source_frame, out_frame); in Convert()
Dimage_processor.h35 const FrameBuffer& in_frame, FrameBuffer* out_frame);
41 static int Scale(const FrameBuffer& in_frame, FrameBuffer* out_frame);
Dcached_frame.h55 int Convert(const android::CameraMetadata& metadata, FrameBuffer* out_frame,