Lines Matching full:jpeg
96 * @jpeg_cb : callback to handle jpeg event from mm-camera-interface
97 * @user_data : user data ptr for jpeg callback
142 ALOGD("%s: Jpeg closed, rc = %d, mJpegClientHandle = %x",
263 // get jpeg quality
321 //Pass output jpeg buffer info to encoder.
354 * be sent to either input queue of postprocess or jpeg encoding
382 ALOGD("%s: no need offline reprocess, sending to jpeg encoding", __func__);
386 ALOGE("%s: No memory for jpeg job", __func__);
393 // enqueu to jpeg input queue
414 * be sent to either input queue of postprocess or jpeg encoding
431 ALOGD("%s: no need offline reprocess, sending to jpeg encoding", __func__);
435 ALOGE("%s: No memory for jpeg job", __func__);
442 jpeg input queue
510 * NOTE : The frame after reprocess need to send to jpeg encoding.
524 ALOGE("%s: No memory for jpeg job", __func__);
535 // enqueu reprocessed frame to jpeg input queue
547 * DESCRIPTION: find a jpeg job from ongoing Jpeg queue by its job ID
552 * RETURN : ptr to a jpeg job struct. NULL if not found.
554 * NOTE : Currently only one job is sending to mm-jpeg-interface for jpeg
555 * encoding. Therefore simply dequeue from the ongoing Jpeg Queue
556 * will serve the purpose to find the jpeg job.
562 ALOGE("%s: not a valid jpeg jobId", __func__);
566 // currely only one jpeg job ongoing, so simply dequeue the head
593 * DESCRIPTION: callback function to release jpeg job node
596 * @data : ptr to ongoing jpeg job data
655 * DESCRIPTION: function to release internal resources in jpeg job struct
658 * @job : ptr to jpeg job struct
663 * future use. Output buf of jpeg job need to be released since
699 * DESCRIPTION: function to return jpeg color format based on its image format
704 * RETURN : jpeg color format that can be understandable by omx lib
729 * DESCRIPTION: function to return jpeg encode image type based on its image format
734 * RETURN : return jpeg source image format (YUV or Bitstream)
755 * mm-jpeg-interface to do the encoding job
759 * @needNewSess : flag to indicate if a new jpeg encoding session need
871 ALOGE("%s: Error destroying an old jpeg encoding session, id = %d",
877 // create jpeg encoding session
886 ALOGE("%s: Error creating a new jpeg encoding session, ret = %d", __func__, ret);
932 // need jpeg thumbnail, but no postview/preview stream exists
945 ALOGD("%s: jpeg rotation is set to %d", __func__, jpg_job.encode_job.rotation);
991 //Start jpeg encoding
1006 * Jpeg Queue to do jpeg encoding, or from input PP Queue to do
1050 // cancel all ongoing jpeg jobs
1062 // destroy jpeg encoding session
1068 // free jpeg exif obj
1078 // flush input jpeg Queue
1097 // check if there is any ongoing jpeg jobs
1099 ALOGE("%s: ongoing jpeg queue is empty so doing the jpeg job", __func__);
1100 // no ongoing jpeg job, we are fine to send jpeg encoding job
1108 // add into ongoing jpeg job Q