Searched refs:thumb_buf_info (Results 1 – 2 of 2) sorted by relevance
240 src_image_buffer_info* thumb_buf_info = NULL; in encodeData() local318 … thumb_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB]; in encodeData()319 thumb_buf_info->type = JPEG_SRC_IMAGE_TYPE_THUMB; in encodeData()320 thumb_buf_info->color_format = MM_JPEG_COLOR_FORMAT_YCRCBLP_H2V2; //TODO in encodeData()321 thumb_buf_info->quality = 85; in encodeData()322 thumb_buf_info->src_dim.width = pme->dim.thumbnail_width; in encodeData()323 thumb_buf_info->src_dim.height = pme->dim.thumbnail_height; in encodeData()324 thumb_buf_info->out_dim.width = pme->dim.thumbnail_width; in encodeData()325 thumb_buf_info->out_dim.height = pme->dim.thumbnail_height; in encodeData()326 thumb_buf_info->crop.width = pme->dim.thumbnail_width; in encodeData()[all …]
438 src_image_buffer_info *thumb_buf_info = NULL; in encodeData() local608 …thumb_buf_info = &jpg_job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THU… in encodeData()609 thumb_buf_info->type = JPEG_SRC_IMAGE_TYPE_THUMB; in encodeData()610 thumb_buf_info->color_format = getColorfmtFromImgFmt(thumb_stream->mFormat); in encodeData()612 thumb_buf_info->quality = 75; //hardcoded for now, will be calculated in encoder code later in encodeData()613 thumb_buf_info->src_dim.width = thumb_stream->mWidth; in encodeData()614 thumb_buf_info->src_dim.height = thumb_stream->mHeight; in encodeData()615 thumb_buf_info->out_dim.width = thumbnailWidth; in encodeData()616 thumb_buf_info->out_dim.height = thumbnailHeight; in encodeData()617 memcpy(&thumb_buf_info->crop, &thumb_stream->mCrop, sizeof(image_crop_t)); in encodeData()[all …]