Lines Matching refs:output_data
4150 qcamera_hal_pp_data_t *output_data = in getHalPPOutputBuffer() local
4152 if (output_data == NULL) { in getHalPPOutputBuffer()
4156 memset(output_data, 0, sizeof(qcamera_hal_pp_data_t)); in getHalPPOutputBuffer()
4161 free(output_data); in getHalPPOutputBuffer()
4165 output_data->frame = output_frame; in getHalPPOutputBuffer()
4166 output_data->bufs = in getHalPPOutputBuffer()
4168 if (output_data->bufs == NULL) { in getHalPPOutputBuffer()
4171 free(output_data); in getHalPPOutputBuffer()
4174 memset(output_data->bufs, 0, HAL_PP_NUM_BUFS * sizeof(mm_camera_buf_def_t)); in getHalPPOutputBuffer()
4175 output_data->halPPAllocatedBuf = true; in getHalPPOutputBuffer()
4176 output_data->snapshot_heap = new QCameraHeapMemory(QCAMERA_ION_USE_CACHE); in getHalPPOutputBuffer()
4177 if (output_data->snapshot_heap == NULL) { in getHalPPOutputBuffer()
4180 free(output_data->bufs); in getHalPPOutputBuffer()
4181 free(output_data); in getHalPPOutputBuffer()
4184 output_data->metadata_heap = new QCameraHeapMemory(QCAMERA_ION_USE_CACHE); in getHalPPOutputBuffer()
4185 if (output_data->metadata_heap == NULL) { in getHalPPOutputBuffer()
4187 delete output_data->snapshot_heap; in getHalPPOutputBuffer()
4189 free(output_data->bufs); in getHalPPOutputBuffer()
4190 free(output_data); in getHalPPOutputBuffer()
4193 output_data->frameIndex = frameIndex; in getHalPPOutputBuffer()
4194 m_halPP->feedOutput(output_data); in getHalPPOutputBuffer()