/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 258 mm_jpeg_encode_params_t& encode_parm, in getFWKJpegEncodeConfig() argument 268 encode_parm.jpeg_cb = mJpegCB; in getFWKJpegEncodeConfig() 269 encode_parm.userdata = mJpegUserData; in getFWKJpegEncodeConfig() 276 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getFWKJpegEncodeConfig() 280 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getFWKJpegEncodeConfig() 283 encode_parm.quality = jpeg_settings->jpeg_quality; in getFWKJpegEncodeConfig() 284 if (encode_parm.quality <= 0) { in getFWKJpegEncodeConfig() 285 encode_parm.quality = 85; in getFWKJpegEncodeConfig() 289 encode_parm.thumb_quality = jpeg_settings->jpeg_thumb_quality; in getFWKJpegEncodeConfig() 294 encode_parm.num_src_bufs = 1; in getFWKJpegEncodeConfig() [all …]
|
D | QCamera3PostProc.h | 128 int32_t getJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm, 131 int32_t getFWKJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 291 mm_jpeg_encode_params_t& encode_parm, in getFWKJpegEncodeConfig() argument 309 encode_parm.jpeg_cb = mJpegCB; in getFWKJpegEncodeConfig() 310 encode_parm.userdata = mJpegUserData; in getFWKJpegEncodeConfig() 317 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getFWKJpegEncodeConfig() 321 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getFWKJpegEncodeConfig() 324 encode_parm.quality = jpeg_settings->jpeg_quality; in getFWKJpegEncodeConfig() 325 if (encode_parm.quality <= 0) { in getFWKJpegEncodeConfig() 326 encode_parm.quality = 85; in getFWKJpegEncodeConfig() 330 encode_parm.thumb_quality = jpeg_settings->jpeg_thumb_quality; in getFWKJpegEncodeConfig() 335 encode_parm.num_src_bufs = 1; in getFWKJpegEncodeConfig() [all …]
|
D | QCamera3PostProc.h | 141 int32_t getJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm, 144 int32_t getFWKJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 291 mm_jpeg_encode_params_t& encode_parm, in getFWKJpegEncodeConfig() argument 309 encode_parm.jpeg_cb = mJpegCB; in getFWKJpegEncodeConfig() 310 encode_parm.userdata = mJpegUserData; in getFWKJpegEncodeConfig() 317 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getFWKJpegEncodeConfig() 321 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getFWKJpegEncodeConfig() 324 encode_parm.quality = jpeg_settings->jpeg_quality; in getFWKJpegEncodeConfig() 325 if (encode_parm.quality <= 0) { in getFWKJpegEncodeConfig() 326 encode_parm.quality = 85; in getFWKJpegEncodeConfig() 330 encode_parm.thumb_quality = jpeg_settings->jpeg_thumb_quality; in getFWKJpegEncodeConfig() 335 encode_parm.num_src_bufs = 1; in getFWKJpegEncodeConfig() [all …]
|
D | QCamera3PostProc.h | 141 int32_t getJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm, 144 int32_t getFWKJpegEncodeConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 334 int32_t QCameraPostProcessor::getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm, in getJpegEncodingConfig() argument 345 encode_parm.burst_mode = mUseJpegBurst; in getJpegEncodingConfig() 370 encode_parm.rotation = m_parent->getJpegRotation(); in getJpegEncodingConfig() 373 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig() 374 encode_parm.main_dim.dst_dim = dst_dim; in getJpegEncodingConfig() 376 encode_parm.jpeg_cb = mJpegCB; in getJpegEncodingConfig() 377 encode_parm.userdata = mJpegUserData; in getJpegEncodingConfig() 387 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getJpegEncodingConfig() 392 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getJpegEncodingConfig() 395 encode_parm.quality = m_parent->getJpegQuality(); in getJpegEncodingConfig() [all …]
|
D | QCameraPostProc.h | 132 int32_t getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 416 int32_t QCameraPostProcessor::getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm, in getJpegEncodingConfig() argument 427 encode_parm.burst_mode = mUseJpegBurst; in getJpegEncodingConfig() 452 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig() 455 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig() 456 encode_parm.main_dim.dst_dim = dst_dim; in getJpegEncodingConfig() 460 encode_parm.jpeg_cb = mJpegCB; in getJpegEncodingConfig() 461 encode_parm.userdata = mJpegUserData; in getJpegEncodingConfig() 471 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getJpegEncodingConfig() 476 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getJpegEncodingConfig() 481 encode_parm.quality = val; in getJpegEncodingConfig() [all …]
|
D | QCameraPostProc.h | 146 int32_t getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 416 int32_t QCameraPostProcessor::getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm, in getJpegEncodingConfig() argument 427 encode_parm.burst_mode = mUseJpegBurst; in getJpegEncodingConfig() 452 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig() 455 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig() 456 encode_parm.main_dim.dst_dim = dst_dim; in getJpegEncodingConfig() 460 encode_parm.jpeg_cb = mJpegCB; in getJpegEncodingConfig() 461 encode_parm.userdata = mJpegUserData; in getJpegEncodingConfig() 471 encode_parm.encode_thumbnail = m_bThumbnailNeeded; in getJpegEncodingConfig() 476 encode_parm.color_format = getColorfmtFromImgFmt(img_fmt); in getJpegEncodingConfig() 481 encode_parm.quality = val; in getJpegEncodingConfig() [all …]
|
D | QCameraPostProc.h | 146 int32_t getJpegEncodingConfig(mm_jpeg_encode_params_t& encode_parm,
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 289 …map_jpeg_format(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN].color_format); in mm_jpeg_omx_config_user_preference() 290 if (job->encode_parm.buf_info.src_imgs.src_img_num > 1) { in mm_jpeg_omx_config_user_preference() 292 …map_jpeg_format(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB].color_format… in mm_jpeg_omx_config_user_preference() 300 if (job->encode_parm.buf_info.src_imgs.is_video_frame != 0) { in mm_jpeg_omx_config_user_preference() 317 if (job->encode_parm.buf_info.src_imgs.src_img_num < 2) { in mm_jpeg_omx_config_thumbnail() 322 &(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB]); in mm_jpeg_omx_config_thumbnail() 449 &(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN]); in mm_jpeg_omx_config_main() 462 …rc = mm_jpeg_omx_config_main_buffer_offset(my_obj, src_buf, job->encode_parm.buf_info.src_imgs.is_… in mm_jpeg_omx_config_main() 506 rotate.nRotation = job->encode_parm.rotation; in mm_jpeg_omx_config_common() 509 job->encode_parm.rotation, rotate.nPortIndex); in mm_jpeg_omx_config_common() [all …]
|
D | mm_jpeg_interface.c | 53 buf_info = &job->encode_job.encode_parm.buf_info; in mm_jpeg_dump_job() 56 job->encode_job.encode_parm.rotation, job->encode_job.encode_parm.exif_numEntries, in mm_jpeg_dump_job() 57 job->encode_job.encode_parm.buf_info.src_imgs.is_video_frame); in mm_jpeg_dump_job()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 276 job.encode_job.encode_parm.exif_data = NULL; in encodeData() 277 job.encode_job.encode_parm.exif_numEntries = 0; in encodeData() 278 job.encode_job.encode_parm.rotation = 0; in encodeData() 279 job.encode_job.encode_parm.buf_info.src_imgs.src_img_num = recvd_frame->num_bufs; in encodeData() 280 job.encode_job.encode_parm.rotation = 0; in encodeData() 283 job.encode_job.encode_parm.rotation = 90; in encodeData() 287 main_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN]; in encodeData() 318 … thumb_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB]; in encodeData() 342 job.encode_job.encode_parm.buf_info.sink_img.buf_len = pme->jpeg_buf.bufs[0].frame_len; in encodeData() 343 job.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = pme->jpeg_buf.bufs[0].buffer; in encodeData() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_interface.h | 179 mm_jpeg_encode_params encode_parm; member
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI.cpp | 549 jpg_job.encode_job.encode_parm.exif_data = getExifData(); in encodeData() 550 jpg_job.encode_job.encode_parm.exif_numEntries = getExifTableNumEntries(); in encodeData() 551 jpg_job.encode_job.encode_parm.rotation = getJpegRotation(); in encodeData() 552 ALOGV("%s: jpeg rotation is set to %d", __func__, jpg_job.encode_job.encode_parm.rotation); in encodeData() 553 jpg_job.encode_job.encode_parm.buf_info.src_imgs.src_img_num = src_img_num; in encodeData() 554 jpg_job.encode_job.encode_parm.buf_info.src_imgs.is_video_frame = FALSE; in encodeData() 570 jpg_job.encode_job.encode_parm.hasmobicat = 1; in encodeData() 571 jpg_job.encode_job.encode_parm.mobicat_data = (uint8_t *)main_frame->p_mobicat_info->tags; in encodeData() 572 jpg_job.encode_job.encode_parm.mobicat_data_length = main_frame->p_mobicat_info->data_len; in encodeData() 574 jpg_job.encode_job.encode_parm.hasmobicat = 0; in encodeData() [all …]
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 2843 mmJpegJob.encode_job.encode_parm.rotation = 0; in encodeJpeg() 2844 mmJpegJob.encode_job.encode_parm.exif_numEntries = 0; in encodeJpeg() 2845 mmJpegJob.encode_job.encode_parm.exif_data = NULL; in encodeJpeg() 2848 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img_num = 1; in encodeJpeg() 2849 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.is_video_frame = 0; in encodeJpeg() 2852 srcBuf = &mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img[0]; in encodeJpeg() 2874 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = in encodeJpeg() 2876 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.fd = 0; in encodeJpeg() 2878 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_len = in encodeJpeg()
|