Lines Matching refs:jpg_job
1176 mm_jpeg_job_t jpg_job; in encodeFWKData() local
1355 memset(&jpg_job, 0, sizeof(mm_jpeg_job_t)); in encodeFWKData()
1356 jpg_job.job_type = JPEG_JOB_TYPE_ENCODE; in encodeFWKData()
1357 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1358 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1359 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1365 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeFWKData()
1366 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeFWKData()
1368 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeFWKData()
1369 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeFWKData()
1371 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeFWKData()
1372 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeFWKData()
1373 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeFWKData()
1374 jpg_job.encode_job.main_dim.crop.top = crop.left; in encodeFWKData()
1376 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1377 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeFWKData()
1378 jpg_job.encode_job.main_dim.crop = crop; in encodeFWKData()
1391 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeFWKData()
1392 jpg_job.encode_job.exif_info.numOfEntries = in encodeFWKData()
1394 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[0] = in encodeFWKData()
1396 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[1] = in encodeFWKData()
1398 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[2] = in encodeFWKData()
1400 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[3] = in encodeFWKData()
1407 jpg_job.encode_job.thumb_dim.dst_dim = in encodeFWKData()
1414 int temp = jpg_job.encode_job.thumb_dim.dst_dim.width; in encodeFWKData()
1415 jpg_job.encode_job.thumb_dim.dst_dim.width = in encodeFWKData()
1416 jpg_job.encode_job.thumb_dim.dst_dim.height; in encodeFWKData()
1417 jpg_job.encode_job.thumb_dim.dst_dim.height = temp; in encodeFWKData()
1419 jpg_job.encode_job.thumb_dim.src_dim.width = src_dim.height; in encodeFWKData()
1420 jpg_job.encode_job.thumb_dim.src_dim.height = src_dim.width; in encodeFWKData()
1422 jpg_job.encode_job.thumb_dim.crop.width = crop.height; in encodeFWKData()
1423 jpg_job.encode_job.thumb_dim.crop.height = crop.width; in encodeFWKData()
1424 jpg_job.encode_job.thumb_dim.crop.left = crop.top; in encodeFWKData()
1425 jpg_job.encode_job.thumb_dim.crop.top = crop.left; in encodeFWKData()
1427 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeFWKData()
1428 jpg_job.encode_job.thumb_dim.crop = crop; in encodeFWKData()
1430 jpg_job.encode_job.thumb_index = 0; in encodeFWKData()
1434 jpg_job.encode_job.cam_exif_params.debug_params = in encodeFWKData()
1436 if (!jpg_job.encode_job.cam_exif_params.debug_params) { in encodeFWKData()
1441 memset(jpg_job.encode_job.cam_exif_params.debug_params, 0, in encodeFWKData()
1443 exif_debug_params = jpg_job.encode_job.cam_exif_params.debug_params; in encodeFWKData()
1445 jpg_job.encode_job.mobicat_mask = hal_obj->getMobicatMask(); in encodeFWKData()
1449 jpg_job.encode_job.p_metadata = metadata; in encodeFWKData()
1458 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_ae_data, in encodeFWKData()
1461 jpg_job.encode_job.p_metadata->is_statsdebug_ae_params_valid = TRUE; in encodeFWKData()
1468 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_awb_data, in encodeFWKData()
1471 jpg_job.encode_job.p_metadata->is_statsdebug_awb_params_valid = TRUE; in encodeFWKData()
1478 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_af_data, in encodeFWKData()
1481 jpg_job.encode_job.p_metadata->is_statsdebug_af_params_valid = TRUE; in encodeFWKData()
1488 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_asd_data, in encodeFWKData()
1491 jpg_job.encode_job.p_metadata->is_statsdebug_asd_params_valid = TRUE; in encodeFWKData()
1498 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_stats_buffer_data, in encodeFWKData()
1501 jpg_job.encode_job.p_metadata->is_statsdebug_stats_params_valid = TRUE; in encodeFWKData()
1508 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_bestats_buffer_data, in encodeFWKData()
1511 jpg_job.encode_job.p_metadata->is_statsdebug_bestats_params_valid = TRUE; in encodeFWKData()
1518 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_bhist_data, in encodeFWKData()
1521 jpg_job.encode_job.p_metadata->is_statsdebug_bhist_params_valid = TRUE; in encodeFWKData()
1528 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_3a_tuning_data, in encodeFWKData()
1531 jpg_job.encode_job.p_metadata->is_statsdebug_3a_tuning_params_valid = TRUE; in encodeFWKData()
1540 jpg_job.encode_job.multi_image_info.type = MM_JPEG_TYPE_JPEG; in encodeFWKData()
1541 jpg_job.encode_job.multi_image_info.num_of_images = 1; in encodeFWKData()
1542 jpg_job.encode_job.multi_image_info.enable_metadata = 1; in encodeFWKData()
1544 jpg_job.encode_job.multi_image_info.is_primary = 1; in encodeFWKData()
1546 jpg_job.encode_job.multi_image_info.is_primary = 0; in encodeFWKData()
1550 jpg_job.encode_job.hal_version = CAM_HAL_V3; in encodeFWKData()
1553 ret = mJpegHandle.start_job(&jpg_job, &jobId); in encodeFWKData()
1554 if (jpg_job.encode_job.cam_exif_params.debug_params) { in encodeFWKData()
1555 free(jpg_job.encode_job.cam_exif_params.debug_params); in encodeFWKData()
1587 mm_jpeg_job_t jpg_job; in encodeData() local
1774 memset(&jpg_job, 0, sizeof(mm_jpeg_job_t)); in encodeData()
1775 jpg_job.job_type = JPEG_JOB_TYPE_ENCODE; in encodeData()
1776 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
1777 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1778 jpg_job.encode_job.dst_index = 0; in encodeData()
1802 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeData()
1803 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeData()
1805 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeData()
1806 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeData()
1808 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeData()
1809 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeData()
1810 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeData()
1811 jpg_job.encode_job.main_dim.crop.top = crop.left; in encodeData()
1813 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeData()
1814 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeData()
1815 jpg_job.encode_job.main_dim.crop = crop; in encodeData()
1829 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeData()
1830 jpg_job.encode_job.exif_info.numOfEntries = in encodeData()
1832 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[0] = in encodeData()
1834 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[1] = in encodeData()
1836 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[2] = in encodeData()
1838 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[3] = in encodeData()
1845 jpg_job.encode_job.thumb_dim.dst_dim = in encodeData()
1853 int temp = jpg_job.encode_job.thumb_dim.dst_dim.width; in encodeData()
1854 jpg_job.encode_job.thumb_dim.dst_dim.width = in encodeData()
1855 jpg_job.encode_job.thumb_dim.dst_dim.height; in encodeData()
1856 jpg_job.encode_job.thumb_dim.dst_dim.height = temp; in encodeData()
1858 jpg_job.encode_job.thumb_dim.src_dim.width = src_dim.height; in encodeData()
1859 jpg_job.encode_job.thumb_dim.src_dim.height = src_dim.width; in encodeData()
1861 jpg_job.encode_job.thumb_dim.crop.width = crop.height; in encodeData()
1862 jpg_job.encode_job.thumb_dim.crop.height = crop.width; in encodeData()
1863 jpg_job.encode_job.thumb_dim.crop.left = crop.top; in encodeData()
1864 jpg_job.encode_job.thumb_dim.crop.top = crop.left; in encodeData()
1866 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeData()
1867 jpg_job.encode_job.thumb_dim.crop = crop; in encodeData()
1869 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()
1871 jpg_job.encode_job.thumb_index, in encodeData()
1872 jpg_job.encode_job.thumb_dim.src_dim.width, in encodeData()
1873 jpg_job.encode_job.thumb_dim.src_dim.height, in encodeData()
1874 jpg_job.encode_job.thumb_dim.dst_dim.width, in encodeData()
1875 jpg_job.encode_job.thumb_dim.dst_dim.height); in encodeData()
1878 jpg_job.encode_job.src_index, in encodeData()
1879 jpg_job.encode_job.main_dim.src_dim.width, in encodeData()
1880 jpg_job.encode_job.main_dim.src_dim.height, in encodeData()
1881 jpg_job.encode_job.main_dim.dst_dim.width, in encodeData()
1882 jpg_job.encode_job.main_dim.dst_dim.height); in encodeData()
1884 jpg_job.encode_job.cam_exif_params = hal_obj->get3AExifParams(); in encodeData()
1885 exif_debug_params = jpg_job.encode_job.cam_exif_params.debug_params; in encodeData()
1888 jpg_job.encode_job.cam_exif_params.debug_params = in encodeData()
1890 if (!jpg_job.encode_job.cam_exif_params.debug_params) { in encodeData()
1895 jpg_job.encode_job.mobicat_mask = hal_obj->getMobicatMask(); in encodeData()
1899 jpg_job.encode_job.p_metadata = metadata; in encodeData()
1901 jpg_job.encode_job.p_metadata->is_mobicat_aec_params_valid = in encodeData()
1902 jpg_job.encode_job.cam_exif_params.cam_3a_params_valid; in encodeData()
1904 if (jpg_job.encode_job.cam_exif_params.cam_3a_params_valid) { in encodeData()
1905 jpg_job.encode_job.p_metadata->mobicat_aec_params = in encodeData()
1906 jpg_job.encode_job.cam_exif_params.cam_3a_params; in encodeData()
1911 memcpy(jpg_job.encode_job.cam_exif_params.debug_params, in encodeData()
1914 jpg_job.encode_job.p_metadata->is_statsdebug_ae_params_valid = in encodeData()
1915 jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params_valid; in encodeData()
1916 jpg_job.encode_job.p_metadata->is_statsdebug_awb_params_valid = in encodeData()
1917 jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params_valid; in encodeData()
1918 jpg_job.encode_job.p_metadata->is_statsdebug_af_params_valid = in encodeData()
1919 jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params_valid; in encodeData()
1920 jpg_job.encode_job.p_metadata->is_statsdebug_asd_params_valid = in encodeData()
1921 jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params_valid; in encodeData()
1922 jpg_job.encode_job.p_metadata->is_statsdebug_stats_params_valid = in encodeData()
1923 jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params_valid; in encodeData()
1924 jpg_job.encode_job.p_metadata->is_statsdebug_bestats_params_valid = in encodeData()
1925 jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params_valid; in encodeData()
1926 jpg_job.encode_job.p_metadata->is_statsdebug_bhist_params_valid = in encodeData()
1927 jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params_valid; in encodeData()
1928 jpg_job.encode_job.p_metadata->is_statsdebug_3a_tuning_params_valid = in encodeData()
1929 jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params_valid; in encodeData()
1931 if (jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params_valid) { in encodeData()
1932 jpg_job.encode_job.p_metadata->statsdebug_ae_data = in encodeData()
1933 jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params; in encodeData()
1935 if (jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params_valid) { in encodeData()
1936 jpg_job.encode_job.p_metadata->statsdebug_awb_data = in encodeData()
1937 jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params; in encodeData()
1939 if (jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params_valid) { in encodeData()
1940 jpg_job.encode_job.p_metadata->statsdebug_af_data = in encodeData()
1941 jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params; in encodeData()
1943 if (jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params_valid) { in encodeData()
1944 jpg_job.encode_job.p_metadata->statsdebug_asd_data = in encodeData()
1945 jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params; in encodeData()
1947 if (jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params_valid) { in encodeData()
1948 jpg_job.encode_job.p_metadata->statsdebug_stats_buffer_data = in encodeData()
1949 jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params; in encodeData()
1951 if (jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params_valid) { in encodeData()
1952 jpg_job.encode_job.p_metadata->statsdebug_bestats_buffer_data = in encodeData()
1953 jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params; in encodeData()
1955 if (jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params_valid) { in encodeData()
1956 jpg_job.encode_job.p_metadata->statsdebug_bhist_data = in encodeData()
1957 jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params; in encodeData()
1959 if (jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params_valid) { in encodeData()
1960 jpg_job.encode_job.p_metadata->statsdebug_3a_tuning_data = in encodeData()
1961 jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params; in encodeData()
1970 jpg_job.encode_job.multi_image_info.type = MM_JPEG_TYPE_JPEG; in encodeData()
1971 jpg_job.encode_job.multi_image_info.num_of_images = 1; in encodeData()
1972 jpg_job.encode_job.multi_image_info.enable_metadata = 1; in encodeData()
1974 jpg_job.encode_job.multi_image_info.is_primary = 1; in encodeData()
1976 jpg_job.encode_job.multi_image_info.is_primary = 0; in encodeData()
1980 jpg_job.encode_job.hal_version = CAM_HAL_V3; in encodeData()
1983 ret = mJpegHandle.start_job(&jpg_job, &jobId); in encodeData()
1984 if (jpg_job.encode_job.cam_exif_params.debug_params) { in encodeData()
1985 free(jpg_job.encode_job.cam_exif_params.debug_params); in encodeData()