Home
last modified time | relevance | path

Searched refs:TestState (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoderForCamera.cpp273 m_pAppWriter->Write(reserve_thumbspace, JPEG_MARKER_SIZE, align, TestState(STATE_HWFC_ENABLED)); in ProcessExif()
277 TestState(STATE_HWFC_ENABLED), TestState(STATE_NO_BTBCOMP)); in ProcessExif()
299 if (!TestState(STATE_NO_BTBCOMP) && IsBTBCompressionSupported()) { in PrepareCompression()
380 bool block_mode = !TestState(STATE_HWFC_ENABLED); in encode()
471 } else if (TestState(STATE_NO_BTBCOMP) || !IsBTBCompressionSupported()) { in FinishCompression()
533 thumblen, TestState(STATE_HWFC_ENABLED), btb); in FinishCompression()
543 if (!TestState(STATE_HWFC_ENABLED)) return m_nStreamSize; in WaitForCompression()
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h93 inline bool IsThumbGenerationNeeded() { return !TestState(STATE_NO_CREATE_THUMBIMAGE); } in IsThumbGenerationNeeded()
99 !TestState(STATE_NO_BTBCOMP); in IsBTBCompressionSupported()
DExynosJpegApi.h95 bool TestState(unsigned int state) { return (m_uiState & state) == state; } in TestState() function