Searched refs:frm (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libscaler/ |
D | libscaler-v4l2.cpp | 246 bool CScalerV4L2::ResetDevice(FrameInfo &frm) in ResetDevice() argument 248 DQBuf(frm); in ResetDevice() 250 if (TestFlag(frm.flags, SCFF_STREAMING)) { in ResetDevice() 251 if (ioctl(m_fdScaler, VIDIOC_STREAMOFF, &frm.type) < 0) { in ResetDevice() 252 SC_LOGERR("Failed STREAMOFF for the %s", frm.name); in ResetDevice() 254 ClearFlag(frm.flags, SCFF_STREAMING); in ResetDevice() 257 SC_LOGD("VIDIC_STREAMOFF is successful for the %s", frm.name); in ResetDevice() 259 if (TestFlag(frm.flags, SCFF_REQBUFS)) { in ResetDevice() 262 reqbufs.type = frm.type; in ResetDevice() 263 reqbufs.memory = frm.memory; in ResetDevice() [all …]
|
D | libscaler-v4l2.h | 113 bool ResetDevice(FrameInfo &frm); 124 bool DevSetFormat(FrameInfo &frm); 125 bool ReqBufs(FrameInfo &frm); 126 bool QBuf(FrameInfo &frm, int *pfdReleaseFence); 127 bool StreamOn(FrameInfo &frm); 128 bool DQBuf(FrameInfo &frm); 130 inline bool SetFormat(FrameInfo &frm, unsigned int width, unsigned int height, in SetFormat() argument 132 frm.color_format = v4l2_colorformat; in SetFormat() 133 frm.width = width; in SetFormat() 134 frm.height = height; in SetFormat() [all …]
|