Home
last modified time | relevance | path

Searched refs:TestFlag (Results 1 – 5 of 5) sorted by relevance

/hardware/google/graphics/common/libscaler/
Dlibscaler-v4l2.cpp146 if (TestFlag(m_fStatus, SCF_DRM_FRESH)) { in SetCtrl()
151 ctrl.value = TestFlag(m_fStatus, SCF_DRM); in SetCtrl()
153 … SC_LOGERR("Failed configure V4L2_CID_CONTENT_PROTECTION to %d", TestFlag(m_fStatus, SCF_DRM)); in SetCtrl()
162 if (TestFlag(m_fStatus, SCF_ROTATION_FRESH)) { in SetCtrl()
174 ctrl.value = TestFlag(m_fStatus, SCF_HFLIP); in SetCtrl()
176 SC_LOGERR("Failed V4L2_CID_VFLIP - %d", TestFlag(m_fStatus, SCF_VFLIP)); in SetCtrl()
181 ctrl.value = TestFlag(m_fStatus, SCF_VFLIP); in SetCtrl()
183 SC_LOGERR("Failed V4L2_CID_HFLIP - %d", TestFlag(m_fStatus, SCF_HFLIP)); in SetCtrl()
188 m_nRotDegree, TestFlag(m_fStatus, SCF_VFLIP), TestFlag(m_fStatus, SCF_HFLIP)); in SetCtrl()
206 if (TestFlag(m_fStatus, SCF_CSC_FRESH)) { in SetCtrl()
[all …]
Dlibscaler-v4l2.h184 inline bool TestFlag(unsigned long &flags, unsigned long flag) { in TestFlag() function
197 inline bool IsDRMAllowed() { return TestFlag(m_fStatus, SCF_ALLOW_DRM); } in IsDRMAllowed()
260 if (drm != TestFlag(m_fStatus, SCF_DRM)) { in SetDRM()
Dlibscalerblend-v4l2.cpp16 if (!TestFlag(m_fStatus, SCF_SRC_BLEND)) in DevSetCtrl()
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp395 if (TestFlag(HWJPEG_FLAG_STREAMING)) { in StopStreaming()
404 if (TestFlag(HWJPEG_FLAG_REQBUFS)) { in StopStreaming()
413 if (TestFlag(HWJPEG_FLAG_PIX_FMT)) { in Compress()
417 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER)) { in Compress()
422 if (!TestFlag(HWJPEG_FLAG_DST_BUFFER)) { in Compress()
430 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER2 | HWJPEG_FLAG_DST_BUFFER2)) { in Compress()
529 if ((count > 0) == TestFlag(HWJPEG_FLAG_REQBUFS)) return true; in ReqBufs()
565 if (TestFlag(HWJPEG_FLAG_STREAMING)) return true; in StreamOn()
567 if (!TestFlag(HWJPEG_FLAG_REQBUFS)) { in StreamOn()
589 if (!TestFlag(HWJPEG_FLAG_STREAMING)) return true; in StreamOff()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/
Dexynos-hwjpeg.h534 bool TestFlag(unsigned int flag) { return (m_uiHWConfigFlags & flag) == flag; } in TestFlag() function