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.cpp347 if (TestFlag(HWJPEG_FLAG_STREAMING)) { in StopStreaming()
357 if (TestFlag(HWJPEG_FLAG_REQBUFS)) { in StopStreaming()
368 if (TestFlag(HWJPEG_FLAG_PIX_FMT)) { in Compress()
373 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER)) { in Compress()
378 if (!TestFlag(HWJPEG_FLAG_DST_BUFFER)) { in Compress()
386 if (!TestFlag(HWJPEG_FLAG_SRC_BUFFER2 | HWJPEG_FLAG_DST_BUFFER2)) { in Compress()
490 if ((count > 0) == TestFlag(HWJPEG_FLAG_REQBUFS)) in ReqBufs()
528 if (TestFlag(HWJPEG_FLAG_STREAMING)) in StreamOn()
531 if (!TestFlag(HWJPEG_FLAG_REQBUFS)) { in StreamOn()
554 if (!TestFlag(HWJPEG_FLAG_STREAMING)) in StreamOff()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/
Dexynos-hwjpeg.h491 bool TestFlag(unsigned int flag) { return (m_uiHWConfigFlags & flag) == flag; } in TestFlag() function