camera/QCamera2/HAL/QCameraPostProc.cpp
/*===========================================================================
 * FUNCTION   : stop
 *
 * DESCRIPTION: stop postprocessor. Data process and notify thread will be stopped.
 *
 * PARAMETERS : None
 *
 * RETURN     : int32_t type of status
 *              NO_ERROR  -- success
 *              none-zero failure code
 *
 * NOTE       : reprocess channel will be stopped and deleted if there is any
 *==========================================================================*/
FUNCTION   : stop
DESCRIPTION: stop postprocessor. Data process and notify thread will be stopped.

PARAMETERS : None

RETURN     : int32_t type of status
NO_ERROR  -- success
none-zero failure code

NOTE       : reprocess channel will be stopped and deleted if there is any
FUNCTION : stop DESCRIPTION : stop postprocessor . Data process and notify thread will be stopped . PARAMETERS : None RETURN : int32_t type of status NO_ERROR -- success none - zero failure code NOTE : reprocess channel will be stopped and deleted if there is any
int32_t QCameraPostProcessor::stop()
{
    if (m_bInited == TRUE) {
        m_parent->m_cbNotifier.stopSnapshots();
        m_dataProcTh.sendCmd(CAMERA_CMD_TYPE_STOP_DATA_PROC, TRUE, TRUE);
    }
    return NO_ERROR;
}
int32_t QCameraPostProcessor :: stop ( ) { if ( m_bInited == TRUE ) { m_parent -> m_cbNotifier . stopSnapshots ( ) ; m_dataProcTh . sendCmd ( CAMERA_CMD_TYPE_STOP_DATA_PROC , TRUE , TRUE ) ; } return NO_ERROR ; }
FUNCTION   : stop
 DESCRIPTION: stop postprocessor.
FUNCTION : stop DESCRIPTION : stop postprocessor .
// dataProc Thread need to process "stop" as sync call because abort jpeg job should be a sync call