Home
last modified time | relevance | path

Searched refs:main_buf_info (Results 1 – 2 of 2) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c239 src_image_buffer_info* main_buf_info = NULL; in encodeData() local
287 main_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN]; in encodeData()
288 main_buf_info->type = JPEG_SRC_IMAGE_TYPE_MAIN; in encodeData()
289 main_buf_info->color_format = MM_JPEG_COLOR_FORMAT_YCRCBLP_H2V2; //TODO in encodeData()
290 main_buf_info->quality = 85; in encodeData()
291 main_buf_info->src_dim.width = pme->dim.picture_width; in encodeData()
292 main_buf_info->src_dim.height = pme->dim.picture_height; in encodeData()
293 main_buf_info->out_dim.width = pme->dim.picture_width; in encodeData()
294 main_buf_info->out_dim.height = pme->dim.picture_height; in encodeData()
295 main_buf_info->crop.width = pme->dim.picture_width; in encodeData()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp437 src_image_buffer_info *main_buf_info = NULL; in encodeData() local
579main_buf_info = &jpg_job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN… in encodeData()
580 main_buf_info->type = JPEG_SRC_IMAGE_TYPE_MAIN; in encodeData()
581 main_buf_info->color_format = getColorfmtFromImgFmt(main_stream->mFormat); in encodeData()
582 main_buf_info->quality = jpeg_quality; in encodeData()
583 main_buf_info->src_image[0].fd = main_frame->fd; in encodeData()
584 main_buf_info->src_image[0].buf_vaddr = (uint8_t*) main_frame->buffer; in encodeData()
585 main_buf_info->src_dim.width = main_stream->mWidth; in encodeData()
586 main_buf_info->src_dim.height = main_stream->mHeight; in encodeData()
587 main_buf_info->out_dim.width = mPictureWidth; in encodeData()
[all …]