Home
last modified time | relevance | path

Searched refs:jpeg_obj (Results 1 – 24 of 24) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c397 mm_jpeg_intf_test_t jpeg_obj; in encode_test() local
400 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in encode_test()
401 rc = encode_init(p_input, &jpeg_obj); in encode_test()
412 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); in encode_test()
413 if (jpeg_obj.handle == 0) { in encode_test()
418 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in encode_test()
419 &jpeg_obj.job.encode_job.session_id); in encode_test()
420 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
425 for (i = 0; i < jpeg_obj.num_bufs; i++) { in encode_test()
426 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE; in encode_test()
[all …]
Dmm_jpegdec_test.c379 mm_jpegdec_intf_test_t jpeg_obj; in decode_test() local
382 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in decode_test()
383 rc = decode_init(p_input, &jpeg_obj); in decode_test()
389 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); in decode_test()
390 if (jpeg_obj.handle == 0) { in decode_test()
395 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in decode_test()
396 &jpeg_obj.job.decode_job.session_id); in decode_test()
397 if (jpeg_obj.job.decode_job.session_id == 0) { in decode_test()
403 jpeg_obj.job.job_type = JPEG_JOB_TYPE_DECODE; in decode_test()
411 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c399 mm_jpeg_intf_test_t jpeg_obj; in encode_test() local
402 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in encode_test()
403 rc = encode_init(p_input, &jpeg_obj); in encode_test()
414 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); in encode_test()
415 if (jpeg_obj.handle == 0) { in encode_test()
420 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in encode_test()
421 &jpeg_obj.job.encode_job.session_id); in encode_test()
422 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
427 for (i = 0; i < jpeg_obj.num_bufs; i++) { in encode_test()
428 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE; in encode_test()
[all …]
Dmm_jpegdec_test.c381 mm_jpegdec_intf_test_t jpeg_obj; in decode_test() local
384 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in decode_test()
385 rc = decode_init(p_input, &jpeg_obj); in decode_test()
391 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); in decode_test()
392 if (jpeg_obj.handle == 0) { in decode_test()
397 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in decode_test()
398 &jpeg_obj.job.decode_job.session_id); in decode_test()
399 if (jpeg_obj.job.decode_job.session_id == 0) { in decode_test()
405 jpeg_obj.job.job_type = JPEG_JOB_TYPE_DECODE; in decode_test()
413 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c399 mm_jpeg_intf_test_t jpeg_obj; in encode_test() local
402 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in encode_test()
403 rc = encode_init(p_input, &jpeg_obj); in encode_test()
414 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); in encode_test()
415 if (jpeg_obj.handle == 0) { in encode_test()
420 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in encode_test()
421 &jpeg_obj.job.encode_job.session_id); in encode_test()
422 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
427 for (i = 0; i < jpeg_obj.num_bufs; i++) { in encode_test()
428 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE; in encode_test()
[all …]
Dmm_jpegdec_test.c381 mm_jpegdec_intf_test_t jpeg_obj; in decode_test() local
384 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); in decode_test()
385 rc = decode_init(p_input, &jpeg_obj); in decode_test()
391 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); in decode_test()
392 if (jpeg_obj.handle == 0) { in decode_test()
397 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in decode_test()
398 &jpeg_obj.job.decode_job.session_id); in decode_test()
399 if (jpeg_obj.job.decode_job.session_id == 0) { in decode_test()
405 jpeg_obj.job.job_type = JPEG_JOB_TYPE_DECODE; in decode_test()
413 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c294 mm_jpeg_obj* jpeg_obj = NULL; in jpeg_open() local
303 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpeg_open()
304 if(NULL == jpeg_obj) { in jpeg_open()
311 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpeg_open()
314 jpeg_obj->max_pic_w = picture_size.w; in jpeg_open()
315 jpeg_obj->max_pic_h = picture_size.h; in jpeg_open()
317 rc = mm_jpeg_init(jpeg_obj); in jpeg_open()
320 free(jpeg_obj); in jpeg_open()
326 g_jpeg_obj = jpeg_obj; in jpeg_open()
Dmm_jpegdec_interface.c252 mm_jpeg_obj* jpeg_obj = NULL; in jpegdec_open() local
257 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpegdec_open()
258 if(NULL == jpeg_obj) { in jpegdec_open()
265 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpegdec_open()
266 rc = mm_jpegdec_init(jpeg_obj); in jpegdec_open()
269 free(jpeg_obj); in jpegdec_open()
275 g_jpegdec_obj = jpeg_obj; in jpegdec_open()
Dmm_jpegdec.c91 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegdec_job_done()
392 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegdec_session_configure()
526 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegdec_session_decode()
868 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpegdec_create_session()
Dmm_jpeg.c279 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_create()
332 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_destroy()
1365 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpeg_session_configure()
1421 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpeg_session_encode()
2216 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpeg_create_session()
2313 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegenc_job_done()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c296 mm_jpeg_obj* jpeg_obj = NULL; in jpeg_open() local
321 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpeg_open()
322 if(NULL == jpeg_obj) { in jpeg_open()
329 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpeg_open()
332 jpeg_obj->max_pic_w = picture_size.w; in jpeg_open()
333 jpeg_obj->max_pic_h = picture_size.h; in jpeg_open()
335 rc = mm_jpeg_init(jpeg_obj); in jpeg_open()
338 free(jpeg_obj); in jpeg_open()
344 g_jpeg_obj = jpeg_obj; in jpeg_open()
Dmm_jpegdec_interface.c249 mm_jpeg_obj* jpeg_obj = NULL; in jpegdec_open() local
254 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpegdec_open()
255 if(NULL == jpeg_obj) { in jpegdec_open()
262 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpegdec_open()
263 rc = mm_jpegdec_init(jpeg_obj); in jpegdec_open()
266 free(jpeg_obj); in jpegdec_open()
272 g_jpegdec_obj = jpeg_obj; in jpegdec_open()
Dmm_jpegdec.c90 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegdec_job_done()
861 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpegdec_create_session()
Dmm_jpeg.c288 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_create()
346 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_destroy()
2358 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpeg_create_session()
2477 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegenc_job_done()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c296 mm_jpeg_obj* jpeg_obj = NULL; in jpeg_open() local
321 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpeg_open()
322 if(NULL == jpeg_obj) { in jpeg_open()
329 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpeg_open()
332 jpeg_obj->max_pic_w = picture_size.w; in jpeg_open()
333 jpeg_obj->max_pic_h = picture_size.h; in jpeg_open()
335 rc = mm_jpeg_init(jpeg_obj); in jpeg_open()
338 free(jpeg_obj); in jpeg_open()
344 g_jpeg_obj = jpeg_obj; in jpeg_open()
Dmm_jpegdec_interface.c249 mm_jpeg_obj* jpeg_obj = NULL; in jpegdec_open() local
254 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpegdec_open()
255 if(NULL == jpeg_obj) { in jpegdec_open()
262 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpegdec_open()
263 rc = mm_jpegdec_init(jpeg_obj); in jpegdec_open()
266 free(jpeg_obj); in jpegdec_open()
272 g_jpegdec_obj = jpeg_obj; in jpegdec_open()
Dmm_jpegdec.c90 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegdec_job_done()
861 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpegdec_create_session()
Dmm_jpeg.c288 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_create()
346 mm_jpeg_obj *my_obj = (mm_jpeg_obj *) p_session->jpeg_obj; in mm_jpeg_session_destroy()
2358 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpeg_create_session()
2477 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; in mm_jpegenc_job_done()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c180 mm_jpeg_obj* jpeg_obj = NULL; in jpeg_open() local
185 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); in jpeg_open()
186 if(NULL == jpeg_obj) { in jpeg_open()
193 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); in jpeg_open()
194 rc = mm_jpeg_init(jpeg_obj); in jpeg_open()
197 free(jpeg_obj); in jpeg_open()
203 g_jpeg_obj = jpeg_obj; in jpeg_open()
Dmm_jpeg.c682 mm_jpeg_obj* my_obj = (mm_jpeg_obj *)job_entry->jpeg_obj; in mm_jpeg_notify_thread()
988 node->entry.jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ in mm_jpeg_start_job()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h76 void* jpeg_obj; /* ptr to mm_jpeg_obj */ member
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h278 void *jpeg_obj; /* ptr to mm_jpeg_obj */ member
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h278 void *jpeg_obj; /* ptr to mm_jpeg_obj */ member
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h272 void *jpeg_obj; /* ptr to mm_jpeg_obj */ member