Home | History | Annotate | Download | only in HAL3

Lines Matching full:jpeg

95  *   @jpeg_cb      : callback to handle jpeg event from mm-camera-interface
96 * @user_data : user data ptr for jpeg callback
141 ALOGD("%s: Jpeg closed, rc = %d, mJpegClientHandle = %x",
257 // get jpeg quality
326 //Pass output jpeg buffer info to encoder.
362 * be sent to either input queue of postprocess or jpeg encoding
367 ALOGD("%s: no need offline reprocess, sending to jpeg encoding", __func__);
372 ALOGE("%s: No memory for jpeg job", __func__);
391 // enqueu to jpeg input queue
411 * be sent to either input queue of postprocess or jpeg encoding
428 ALOGD("%s: no need offline reprocess, sending to jpeg encoding", __func__);
432 ALOGE("%s: No memory for jpeg job", __func__);
439 // enqueu to jpeg input queue
505 * NOTE : The frame after reprocess need to send to jpeg encoding.
519 ALOGE("%s: No memory for jpeg job", __func__);
530 // enqueu reprocessed frame to jpeg input queue
542 * DESCRIPTION: find a jpeg job from ongoing Jpeg queue by its job ID
547 * RETURN : ptr to a jpeg job struct. NULL if not found.
549 * NOTE : Currently only one job is sending to mm-jpeg-interface for jpeg
550 * encoding. Therefore simply dequeue from the ongoing Jpeg Queue
551 * will serve the purpose to find the jpeg job.
557 ALOGE("%s: not a valid jpeg jobId", __func__);
561 // currely only one jpeg job ongoing, so simply dequeue the head
588 * DESCRIPTION: callback function to release jpeg job node
591 * @data : ptr to ongoing jpeg job data
650 * DESCRIPTION: function to release internal resources in jpeg job struct
653 * @job : ptr to jpeg job struct
658 * future use. Output buf of jpeg job need to be released since
694 * DESCRIPTION: function to return jpeg color format based on its image format
699 * RETURN : jpeg color format that can be understandable by omx lib
724 * DESCRIPTION: function to return jpeg encode image type based on its image format
729 * RETURN : return jpeg source image format (YUV or Bitstream)
750 * mm-jpeg-interface to do the encoding job
754 * @needNewSess : flag to indicate if a new jpeg encoding session need
865 ALOGE("%s: Error destroying an old jpeg encoding session, id = %d",
871 // create jpeg encoding session
880 ALOGE("%s: Error creating a new jpeg encoding session, ret = %d", __func__, ret);
915 // need jpeg thumbnail, but no postview/preview stream exists
932 ALOGD("%s: jpeg rotation is set to %d", __func__, jpg_job.encode_job.rotation);
964 //Start jpeg encoding
979 * Jpeg Queue to do jpeg encoding, or from input PP Queue to do
1020 // cancel all ongoing jpeg jobs
1032 // destroy jpeg encoding session
1038 // free jpeg exif obj
1048 // flush input jpeg Queue
1067 // check if there is any ongoing jpeg jobs
1069 // no ongoing jpeg job, we are fine to send jpeg encoding job
1077 // add into ongoing jpeg job Q