Lines Matching refs:frm
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()
135 SetFlag(frm.flags, SCFF_BUF_FRESH); in SetFormat()
139 inline bool SetCrop(FrameInfo &frm, unsigned int left, unsigned int top, in SetCrop() argument
141 frm.crop.left = left; in SetCrop()
142 frm.crop.top = top; in SetCrop()
143 frm.crop.width = width; in SetCrop()
144 frm.crop.height = height; in SetCrop()
145 SetFlag(frm.flags, SCFF_BUF_FRESH); in SetCrop()
149 inline void SetPremultiplied(FrameInfo &frm, unsigned int premultiplied) { in SetPremultiplied() argument
151 SetFlag(frm.flags, SCFF_PREMULTIPLIED); in SetPremultiplied()
153 ClearFlag(frm.flags, SCFF_PREMULTIPLIED); in SetPremultiplied()
156 inline void SetCacheable(FrameInfo &frm, bool __UNUSED__ cacheable) { in SetCacheable() argument
157 SetFlag(frm.flags, SCFF_CACHEABLE); in SetCacheable()
160 inline void SetAddr(FrameInfo &frm, void *addr[SC_NUM_OF_PLANES], int mem_type, int fence) in SetAddr() argument
163 frm.addr[i] = addr[i]; in SetAddr()
165 frm.memory = static_cast<v4l2_memory>(mem_type); in SetAddr()
166 frm.fdAcquireFence = fence; in SetAddr()