Lines Matching defs:encode_params
1614 omx_jpeg_encode_params encode_params;
1648 encode_params.thumbnail_buf = (uint8_t *)postviewframe->buffer;
1649 encode_params.thumbnail_fd = postviewframe->fd;
1650 encode_params.snapshot_buf = (uint8_t *)mainframe->buffer;
1651 encode_params.snapshot_fd = mainframe->fd;
1652 encode_params.dimension = &dimension;
1656 encode_params.exif_data = mHalCamCtrl->getExifData();
1657 encode_params.exif_numEntries = mHalCamCtrl->getExifTableNumEntries();
1658 if (!omxJpegEncodeNext(&encode_params)){
1786 encode_params.dimension = (const cam_ctrl_dimension_t *)&dimension;
1788 encode_params.thumbnail_buf = (uint8_t *)postviewframe->buffer;
1789 encode_params.thumbnail_fd = postviewframe->fd;
1790 encode_params.thumbnail_offset = postviewframe->phy_offset;
1791 encode_params.thumb_crop_offset = &thumb_crop_offset;
1793 encode_params.snapshot_buf = (uint8_t *)mainframe->buffer;
1794 encode_params.snapshot_fd = mainframe->fd;
1795 encode_params.snapshot_offset = mainframe->phy_offset;
1796 encode_params.scaling_params = &crop;
1797 encode_params.exif_data = mHalCamCtrl->getExifData();
1798 encode_params.exif_numEntries = mHalCamCtrl->getExifTableNumEntries();
1801 encode_params.a_cbcroffset = mainframe->cbcr_off;
1803 encode_params.a_cbcroffset = -1;
1804 encode_params.main_crop_offset = &main_crop_offset;
1807 encode_params.hasThumbnail = 0;
1809 encode_params.hasThumbnail = 1;
1810 encode_params.thumb_crop_offset = &thumb_crop_offset;
1811 encode_params.main_format = dimension.main_img_format;
1812 encode_params.thumbnail_format = dimension.thumb_format;
1814 if (!omxJpegEncode(&encode_params)){