Searched refs:TestFlag (Results 1 – 5 of 5) sorted by relevance
/hardware/google/graphics/common/libscaler/ |
D | libscaler-v4l2.cpp | 146 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 …]
|
D | libscaler-v4l2.h | 184 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()
|
D | libscalerblend-v4l2.cpp | 16 if (!TestFlag(m_fStatus, SCF_SRC_BLEND)) in DevSetCtrl()
|
/hardware/google/graphics/common/libhwjpeg/ |
D | hwjpeg-v4l2.cpp | 395 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/ |
D | exynos-hwjpeg.h | 534 bool TestFlag(unsigned int flag) { return (m_uiHWConfigFlags & flag) == flag; } in TestFlag() function
|