Searched refs:jpeg_job (Results 1 – 6 of 6) sorted by relevance
1167 qcamera_jpeg_data_t *jpeg_job = in processData() local1169 if (jpeg_job == NULL) { in processData()1174 memset(jpeg_job, 0, sizeof(qcamera_jpeg_data_t)); in processData()1175 jpeg_job->src_frame = frame; in processData()1179 jpeg_job->metadata = (metadata_buffer_t *)meta_frame->buffer; in processData()1183 if (!m_inputJpegQ.enqueue((void *)jpeg_job)) { in processData()1185 releaseJpegJobData(jpeg_job); in processData()1186 free(jpeg_job); in processData()1187 jpeg_job = NULL; in processData()1546 qcamera_jpeg_data_t *jpeg_job = in processPPData() local[all …]
2302 qcamera_jpeg_evt_payload_t *jpeg_job = in procEvtPicTakingState() local2304 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPicTakingState()3144 qcamera_jpeg_evt_payload_t *jpeg_job = in procEvtVideoPicTakingState() local3146 rc = m_parent->processJpegNotify(jpeg_job); in procEvtVideoPicTakingState()3684 qcamera_jpeg_evt_payload_t *jpeg_job = in procEvtPreviewPicTakingState() local3686 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPreviewPicTakingState()
416 int32_t processJpegNotify(qcamera_jpeg_evt_payload_t *jpeg_job);
280 qcamera_hal3_jpeg_data_t *jpeg_job = in flush() local282 while (jpeg_job != NULL) { in flush()283 rc = mJpegHandle.abort_job(jpeg_job->jobId); in flush()284 releaseJpegJobData(jpeg_job); in flush()285 free(jpeg_job); in flush()287 jpeg_job = (qcamera_hal3_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in flush()675 qcamera_hal3_jpeg_data_t *jpeg_job = in processData() local677 if (jpeg_job == NULL) { in processData()682 memset(jpeg_job, 0, sizeof(qcamera_hal3_jpeg_data_t)); in processData()683 jpeg_job->fwk_frame = frame; in processData()[all …]
4356 qcamera_hal3_jpeg_data_t *jpeg_job = in returnYuvBufferAndEncode() local4358 if (jpeg_job == NULL) { in returnYuvBufferAndEncode()4363 jpeg_job->jpeg_settings = (jpeg_settings_t *) calloc(1, sizeof(jpeg_settings_t)); in returnYuvBufferAndEncode()4364 if (jpeg_job->jpeg_settings == nullptr) { in returnYuvBufferAndEncode()4369 auto ret = initializeJpegSetting(index, metadata.get(), jpeg_job->jpeg_settings); in returnYuvBufferAndEncode()4375 jpeg_job->src_frame = in returnYuvBufferAndEncode()4377 if (jpeg_job->src_frame == nullptr) { in returnYuvBufferAndEncode()4381 jpeg_job->src_frame->camera_handle = m_camHandle; in returnYuvBufferAndEncode()4382 jpeg_job->src_frame->ch_id = getMyHandle(); in returnYuvBufferAndEncode()4383 jpeg_job->src_frame->num_bufs = 1; in returnYuvBufferAndEncode()[all …]
659 auto jpeg_job = std::make_unique<JpegYUV420Job>(); in threadLoop() local660 jpeg_job->exif_utils = std::unique_ptr<ExifUtils>( in threadLoop()662 jpeg_job->input = std::move(jpeg_input); in threadLoop()666 std::swap(jpeg_job->output, *b); in threadLoop()667 jpeg_job->result_metadata = in threadLoop()671 jpeg_compressor_->QueueYUV420(std::move(jpeg_job)); in threadLoop()