Lines Matching refs:encode_job
1378 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1379 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1380 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1386 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeFWKData()
1387 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeFWKData()
1389 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeFWKData()
1390 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeFWKData()
1392 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeFWKData()
1393 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeFWKData()
1394 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeFWKData()
1395 jpg_job.encode_job.main_dim.crop.top = crop.left; in encodeFWKData()
1397 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1398 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeFWKData()
1399 jpg_job.encode_job.main_dim.crop = crop; in encodeFWKData()
1412 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeFWKData()
1413 jpg_job.encode_job.exif_info.numOfEntries = in encodeFWKData()
1415 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[0] = in encodeFWKData()
1417 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[1] = in encodeFWKData()
1419 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[2] = in encodeFWKData()
1421 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[3] = in encodeFWKData()
1428 jpg_job.encode_job.thumb_dim.dst_dim = in encodeFWKData()
1435 int temp = jpg_job.encode_job.thumb_dim.dst_dim.width; in encodeFWKData()
1436 jpg_job.encode_job.thumb_dim.dst_dim.width = in encodeFWKData()
1437 jpg_job.encode_job.thumb_dim.dst_dim.height; in encodeFWKData()
1438 jpg_job.encode_job.thumb_dim.dst_dim.height = temp; in encodeFWKData()
1440 jpg_job.encode_job.thumb_dim.src_dim.width = src_dim.height; in encodeFWKData()
1441 jpg_job.encode_job.thumb_dim.src_dim.height = src_dim.width; in encodeFWKData()
1443 jpg_job.encode_job.thumb_dim.crop.width = crop.height; in encodeFWKData()
1444 jpg_job.encode_job.thumb_dim.crop.height = crop.width; in encodeFWKData()
1445 jpg_job.encode_job.thumb_dim.crop.left = crop.top; in encodeFWKData()
1446 jpg_job.encode_job.thumb_dim.crop.top = crop.left; in encodeFWKData()
1448 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeFWKData()
1449 jpg_job.encode_job.thumb_dim.crop = crop; in encodeFWKData()
1451 jpg_job.encode_job.thumb_index = 0; in encodeFWKData()
1455 jpg_job.encode_job.cam_exif_params.debug_params = in encodeFWKData()
1457 if (!jpg_job.encode_job.cam_exif_params.debug_params) { in encodeFWKData()
1462 memset(jpg_job.encode_job.cam_exif_params.debug_params, 0, in encodeFWKData()
1464 exif_debug_params = jpg_job.encode_job.cam_exif_params.debug_params; in encodeFWKData()
1466 jpg_job.encode_job.mobicat_mask = hal_obj->getMobicatMask(); in encodeFWKData()
1470 jpg_job.encode_job.p_metadata = metadata; in encodeFWKData()
1479 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_ae_data, in encodeFWKData()
1482 jpg_job.encode_job.p_metadata->is_statsdebug_ae_params_valid = TRUE; in encodeFWKData()
1489 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_awb_data, in encodeFWKData()
1492 jpg_job.encode_job.p_metadata->is_statsdebug_awb_params_valid = TRUE; in encodeFWKData()
1499 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_af_data, in encodeFWKData()
1502 jpg_job.encode_job.p_metadata->is_statsdebug_af_params_valid = TRUE; in encodeFWKData()
1509 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_asd_data, in encodeFWKData()
1512 jpg_job.encode_job.p_metadata->is_statsdebug_asd_params_valid = TRUE; in encodeFWKData()
1519 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_stats_buffer_data, in encodeFWKData()
1522 jpg_job.encode_job.p_metadata->is_statsdebug_stats_params_valid = TRUE; in encodeFWKData()
1529 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_bestats_buffer_data, in encodeFWKData()
1532 jpg_job.encode_job.p_metadata->is_statsdebug_bestats_params_valid = TRUE; in encodeFWKData()
1539 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_bhist_data, in encodeFWKData()
1542 jpg_job.encode_job.p_metadata->is_statsdebug_bhist_params_valid = TRUE; in encodeFWKData()
1549 memcpy(&jpg_job.encode_job.p_metadata->statsdebug_3a_tuning_data, in encodeFWKData()
1552 jpg_job.encode_job.p_metadata->is_statsdebug_3a_tuning_params_valid = TRUE; in encodeFWKData()
1561 jpg_job.encode_job.multi_image_info.type = MM_JPEG_TYPE_JPEG; in encodeFWKData()
1562 jpg_job.encode_job.multi_image_info.num_of_images = 1; in encodeFWKData()
1563 jpg_job.encode_job.multi_image_info.enable_metadata = 1; in encodeFWKData()
1565 jpg_job.encode_job.multi_image_info.is_primary = 1; in encodeFWKData()
1567 jpg_job.encode_job.multi_image_info.is_primary = 0; in encodeFWKData()
1571 jpg_job.encode_job.hal_version = CAM_HAL_V3; in encodeFWKData()
1575 if (jpg_job.encode_job.cam_exif_params.debug_params) { in encodeFWKData()
1576 free(jpg_job.encode_job.cam_exif_params.debug_params); in encodeFWKData()
1797 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
1798 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1799 jpg_job.encode_job.dst_index = 0; in encodeData()
1823 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeData()
1824 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeData()
1826 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeData()
1827 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeData()
1829 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeData()
1830 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeData()
1831 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeData()
1832 jpg_job.encode_job.main_dim.crop.top = crop.left; in encodeData()
1834 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeData()
1835 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeData()
1836 jpg_job.encode_job.main_dim.crop = crop; in encodeData()
1850 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeData()
1851 jpg_job.encode_job.exif_info.numOfEntries = in encodeData()
1853 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[0] = in encodeData()
1855 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[1] = in encodeData()
1857 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[2] = in encodeData()
1859 jpg_job.encode_job.exif_info.debug_data.sw_3a_version[3] = in encodeData()
1866 jpg_job.encode_job.thumb_dim.dst_dim = in encodeData()
1874 int temp = jpg_job.encode_job.thumb_dim.dst_dim.width; in encodeData()
1875 jpg_job.encode_job.thumb_dim.dst_dim.width = in encodeData()
1876 jpg_job.encode_job.thumb_dim.dst_dim.height; in encodeData()
1877 jpg_job.encode_job.thumb_dim.dst_dim.height = temp; in encodeData()
1879 jpg_job.encode_job.thumb_dim.src_dim.width = src_dim.height; in encodeData()
1880 jpg_job.encode_job.thumb_dim.src_dim.height = src_dim.width; in encodeData()
1882 jpg_job.encode_job.thumb_dim.crop.width = crop.height; in encodeData()
1883 jpg_job.encode_job.thumb_dim.crop.height = crop.width; in encodeData()
1884 jpg_job.encode_job.thumb_dim.crop.left = crop.top; in encodeData()
1885 jpg_job.encode_job.thumb_dim.crop.top = crop.left; in encodeData()
1887 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeData()
1888 jpg_job.encode_job.thumb_dim.crop = crop; in encodeData()
1890 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()
1892 jpg_job.encode_job.thumb_index, in encodeData()
1893 jpg_job.encode_job.thumb_dim.src_dim.width, in encodeData()
1894 jpg_job.encode_job.thumb_dim.src_dim.height, in encodeData()
1895 jpg_job.encode_job.thumb_dim.dst_dim.width, in encodeData()
1896 jpg_job.encode_job.thumb_dim.dst_dim.height); in encodeData()
1899 jpg_job.encode_job.src_index, in encodeData()
1900 jpg_job.encode_job.main_dim.src_dim.width, in encodeData()
1901 jpg_job.encode_job.main_dim.src_dim.height, in encodeData()
1902 jpg_job.encode_job.main_dim.dst_dim.width, in encodeData()
1903 jpg_job.encode_job.main_dim.dst_dim.height); in encodeData()
1905 jpg_job.encode_job.cam_exif_params = hal_obj->get3AExifParams(); in encodeData()
1906 exif_debug_params = jpg_job.encode_job.cam_exif_params.debug_params; in encodeData()
1909 jpg_job.encode_job.cam_exif_params.debug_params = in encodeData()
1911 if (!jpg_job.encode_job.cam_exif_params.debug_params) { in encodeData()
1916 jpg_job.encode_job.mobicat_mask = hal_obj->getMobicatMask(); in encodeData()
1920 jpg_job.encode_job.p_metadata = metadata; in encodeData()
1922 jpg_job.encode_job.p_metadata->is_mobicat_aec_params_valid = in encodeData()
1923 jpg_job.encode_job.cam_exif_params.cam_3a_params_valid; in encodeData()
1925 if (jpg_job.encode_job.cam_exif_params.cam_3a_params_valid) { in encodeData()
1926 jpg_job.encode_job.p_metadata->mobicat_aec_params = in encodeData()
1927 jpg_job.encode_job.cam_exif_params.cam_3a_params; in encodeData()
1932 memcpy(jpg_job.encode_job.cam_exif_params.debug_params, in encodeData()
1935 jpg_job.encode_job.p_metadata->is_statsdebug_ae_params_valid = in encodeData()
1936 jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params_valid; in encodeData()
1937 jpg_job.encode_job.p_metadata->is_statsdebug_awb_params_valid = in encodeData()
1938 jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params_valid; in encodeData()
1939 jpg_job.encode_job.p_metadata->is_statsdebug_af_params_valid = in encodeData()
1940 jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params_valid; in encodeData()
1941 jpg_job.encode_job.p_metadata->is_statsdebug_asd_params_valid = in encodeData()
1942 jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params_valid; in encodeData()
1943 jpg_job.encode_job.p_metadata->is_statsdebug_stats_params_valid = in encodeData()
1944 jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params_valid; in encodeData()
1945 jpg_job.encode_job.p_metadata->is_statsdebug_bestats_params_valid = in encodeData()
1946 jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params_valid; in encodeData()
1947 jpg_job.encode_job.p_metadata->is_statsdebug_bhist_params_valid = in encodeData()
1948 jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params_valid; in encodeData()
1949 jpg_job.encode_job.p_metadata->is_statsdebug_3a_tuning_params_valid = in encodeData()
1950 jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params_valid; in encodeData()
1952 if (jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params_valid) { in encodeData()
1953 jpg_job.encode_job.p_metadata->statsdebug_ae_data = in encodeData()
1954 jpg_job.encode_job.cam_exif_params.debug_params->ae_debug_params; in encodeData()
1956 if (jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params_valid) { in encodeData()
1957 jpg_job.encode_job.p_metadata->statsdebug_awb_data = in encodeData()
1958 jpg_job.encode_job.cam_exif_params.debug_params->awb_debug_params; in encodeData()
1960 if (jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params_valid) { in encodeData()
1961 jpg_job.encode_job.p_metadata->statsdebug_af_data = in encodeData()
1962 jpg_job.encode_job.cam_exif_params.debug_params->af_debug_params; in encodeData()
1964 if (jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params_valid) { in encodeData()
1965 jpg_job.encode_job.p_metadata->statsdebug_asd_data = in encodeData()
1966 jpg_job.encode_job.cam_exif_params.debug_params->asd_debug_params; in encodeData()
1968 if (jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params_valid) { in encodeData()
1969 jpg_job.encode_job.p_metadata->statsdebug_stats_buffer_data = in encodeData()
1970 jpg_job.encode_job.cam_exif_params.debug_params->stats_debug_params; in encodeData()
1972 if (jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params_valid) { in encodeData()
1973 jpg_job.encode_job.p_metadata->statsdebug_bestats_buffer_data = in encodeData()
1974 jpg_job.encode_job.cam_exif_params.debug_params->bestats_debug_params; in encodeData()
1976 if (jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params_valid) { in encodeData()
1977 jpg_job.encode_job.p_metadata->statsdebug_bhist_data = in encodeData()
1978 jpg_job.encode_job.cam_exif_params.debug_params->bhist_debug_params; in encodeData()
1980 if (jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params_valid) { in encodeData()
1981 jpg_job.encode_job.p_metadata->statsdebug_3a_tuning_data = in encodeData()
1982 jpg_job.encode_job.cam_exif_params.debug_params->q3a_tuning_debug_params; in encodeData()
1991 jpg_job.encode_job.multi_image_info.type = MM_JPEG_TYPE_JPEG; in encodeData()
1992 jpg_job.encode_job.multi_image_info.num_of_images = 1; in encodeData()
1993 jpg_job.encode_job.multi_image_info.enable_metadata = 1; in encodeData()
1995 jpg_job.encode_job.multi_image_info.is_primary = 1; in encodeData()
1997 jpg_job.encode_job.multi_image_info.is_primary = 0; in encodeData()
2001 jpg_job.encode_job.hal_version = CAM_HAL_V3; in encodeData()
2005 if (jpg_job.encode_job.cam_exif_params.debug_params) { in encodeData()
2006 free(jpg_job.encode_job.cam_exif_params.debug_params); in encodeData()