camera/QCamera2/HAL/QCameraPostProc.cpp
/*===========================================================================
 * FUNCTION   : releaseRawData
 *
 * DESCRIPTION: function to release internal resources in store jobs
 *
 * PARAMETERS :
 *   @job     : ptr to save job struct
 *
 * RETURN     : None
 *
 *==========================================================================*/
FUNCTION   : releaseRawData
DESCRIPTION: function to release internal resources in store jobs

PARAMETERS :
@job     : ptr to save job struct

RETURN     : None
FUNCTION : releaseRawData DESCRIPTION : function to release internal resources in store jobs PARAMETERS : @job : ptr to save job struct RETURN : None
void QCameraPostProcessor::releaseRawData(void *data, void *user_data)
{
    CDBG("%s: E", __func__);
    QCameraPostProcessor *pme = (QCameraPostProcessor *) user_data;
    if (NULL == pme) {
        ALOGE("%s: Invalid postproc handle", __func__);
        return;
    }
    mm_camera_super_buf_t *super_buf = (mm_camera_super_buf_t *) data;
    pme->releaseSuperBuf(super_buf);
    CDBG("%s: X", __func__);
}
void QCameraPostProcessor :: releaseRawData ( void * data , void * user_data ) { CDBG ( " " , __func__ ) ; QCameraPostProcessor * pme = ( QCameraPostProcessor * ) user_data ; if ( NULL == pme ) { ALOGE ( " " , __func__ ) ; return ; } mm_camera_super_buf_t * super_buf = ( mm_camera_super_buf_t * ) data ; pme -> releaseSuperBuf ( super_buf ) ; CDBG ( " " , __func__ ) ; }
FUNCTION   : releaseRawData
 DESCRIPTION: function to release internal resources in store jobs
FUNCTION : releaseRawData DESCRIPTION : function to release internal resources in store jobs