/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 472 mm_jpeg_intf_test_t *jpeg_obj = (mm_jpeg_intf_test_t *)data; local 476 jpeg_obj->handle = jpeg_open(&jpeg_obj->ops, NULL, jpeg_obj->pic_size, NULL); 477 if (jpeg_obj->handle == 0) { 479 jpeg_obj->ret = -1; 483 rc = jpeg_obj->ops.create_session(jpeg_obj->handle, &jpeg_obj->params, 484 &jpeg_obj->job.encode_job.session_id) [all...] |
mm_jpegdec_test.c | 389 mm_jpegdec_intf_test_t jpeg_obj; local 392 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 393 rc = decode_init(p_input, &jpeg_obj); 399 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); 400 if (jpeg_obj.handle == 0) { 405 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 472 mm_jpeg_intf_test_t *jpeg_obj = (mm_jpeg_intf_test_t *)data; local 476 jpeg_obj->handle = jpeg_open(&jpeg_obj->ops, NULL, jpeg_obj->pic_size, NULL); 477 if (jpeg_obj->handle == 0) { 479 jpeg_obj->ret = -1; 483 rc = jpeg_obj->ops.create_session(jpeg_obj->handle, &jpeg_obj->params, 484 &jpeg_obj->job.encode_job.session_id) [all...] |
mm_jpegdec_test.c | 389 mm_jpegdec_intf_test_t jpeg_obj; local 392 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 393 rc = decode_init(p_input, &jpeg_obj); 399 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); 400 if (jpeg_obj.handle == 0) { 405 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 399 mm_jpeg_intf_test_t jpeg_obj; local 402 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 403 rc = encode_init(p_input, &jpeg_obj); 414 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); 415 if (jpeg_obj.handle == 0) { 420 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
mm_jpegdec_test.c | 381 mm_jpegdec_intf_test_t jpeg_obj; local 384 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 385 rc = decode_init(p_input, &jpeg_obj); 391 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); 392 if (jpeg_obj.handle == 0) { 397 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 399 mm_jpeg_intf_test_t jpeg_obj; local 402 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 403 rc = encode_init(p_input, &jpeg_obj); 414 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); 415 if (jpeg_obj.handle == 0) { 420 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
mm_jpegdec_test.c | 381 mm_jpegdec_intf_test_t jpeg_obj; local 384 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 385 rc = decode_init(p_input, &jpeg_obj); 391 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); 392 if (jpeg_obj.handle == 0) { 397 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 397 mm_jpeg_intf_test_t jpeg_obj; local 400 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 401 rc = encode_init(p_input, &jpeg_obj); 412 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops, pic_size); 413 if (jpeg_obj.handle == 0) { 418 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
mm_jpegdec_test.c | 379 mm_jpegdec_intf_test_t jpeg_obj; local 382 memset(&jpeg_obj, 0x0, sizeof(jpeg_obj)); 383 rc = decode_init(p_input, &jpeg_obj); 389 jpeg_obj.handle = jpegdec_open(&jpeg_obj.ops); 390 if (jpeg_obj.handle == 0) { 395 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_interface.c | 331 mm_jpeg_obj* jpeg_obj = NULL; local 340 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 341 if(NULL == jpeg_obj) { 348 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 352 jpeg_obj->reuse_reproc_buffer = 1; 354 jpeg_obj->reuse_reproc_buffer = 0; 357 jpeg_obj->reuse_reproc_buffer); 360 jpeg_obj->max_pic_w = picture_size.w; 361 jpeg_obj->max_pic_h = picture_size.h; 365 jpeg_obj->jpeg_metadata = jpeg_metadata [all...] |
mm_jpegdec_interface.c | 246 mm_jpeg_obj* jpeg_obj = NULL; local 251 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 252 if(NULL == jpeg_obj) { 259 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 260 rc = mm_jpegdec_init(jpeg_obj); 263 free(jpeg_obj); 269 g_jpegdec_obj = jpeg_obj;
|
mm_jpegdec.c | 86 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; 854 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */
|
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_interface.c | 331 mm_jpeg_obj* jpeg_obj = NULL; local 340 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 341 if(NULL == jpeg_obj) { 348 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 352 jpeg_obj->reuse_reproc_buffer = 1; 354 jpeg_obj->reuse_reproc_buffer = 0; 357 jpeg_obj->reuse_reproc_buffer); 360 jpeg_obj->max_pic_w = picture_size.w; 361 jpeg_obj->max_pic_h = picture_size.h; 365 jpeg_obj->jpeg_metadata = jpeg_metadata [all...] |
mm_jpegdec_interface.c | 246 mm_jpeg_obj* jpeg_obj = NULL; local 251 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 252 if(NULL == jpeg_obj) { 259 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 260 rc = mm_jpegdec_init(jpeg_obj); 263 free(jpeg_obj); 269 g_jpegdec_obj = jpeg_obj;
|
mm_jpegdec.c | 86 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; 854 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec_interface.c | 249 mm_jpeg_obj* jpeg_obj = NULL; local 254 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 255 if(NULL == jpeg_obj) { 262 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 263 rc = mm_jpegdec_init(jpeg_obj); 266 free(jpeg_obj); 272 g_jpegdec_obj = jpeg_obj;
|
mm_jpeg_interface.c | 296 mm_jpeg_obj* jpeg_obj = NULL; local 321 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 322 if(NULL == jpeg_obj) { 329 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 332 jpeg_obj->max_pic_w = picture_size.w; 333 jpeg_obj->max_pic_h = picture_size.h; 335 rc = mm_jpeg_init(jpeg_obj); 338 free(jpeg_obj); 344 g_jpeg_obj = jpeg_obj;
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec_interface.c | 249 mm_jpeg_obj* jpeg_obj = NULL; local 254 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 255 if(NULL == jpeg_obj) { 262 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 263 rc = mm_jpegdec_init(jpeg_obj); 266 free(jpeg_obj); 272 g_jpegdec_obj = jpeg_obj;
|
mm_jpeg_interface.c | 296 mm_jpeg_obj* jpeg_obj = NULL; local 321 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 322 if(NULL == jpeg_obj) { 329 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 332 jpeg_obj->max_pic_w = picture_size.w; 333 jpeg_obj->max_pic_h = picture_size.h; 335 rc = mm_jpeg_init(jpeg_obj); 338 free(jpeg_obj); 344 g_jpeg_obj = jpeg_obj;
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec_interface.c | 252 mm_jpeg_obj* jpeg_obj = NULL; local 257 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 258 if(NULL == jpeg_obj) { 265 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 266 rc = mm_jpegdec_init(jpeg_obj); 269 free(jpeg_obj); 275 g_jpegdec_obj = jpeg_obj;
|
mm_jpeg_interface.c | 294 mm_jpeg_obj* jpeg_obj = NULL; local 303 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj)); 304 if(NULL == jpeg_obj) { 311 memset(jpeg_obj, 0, sizeof(mm_jpeg_obj)); 314 jpeg_obj->max_pic_w = picture_size.w; 315 jpeg_obj->max_pic_h = picture_size.h; 317 rc = mm_jpeg_init(jpeg_obj); 320 free(jpeg_obj); 326 g_jpeg_obj = jpeg_obj;
|
mm_jpegdec.c | 91 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; 392 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; 526 mm_jpeg_obj *my_obj = (mm_jpeg_obj *)p_session->jpeg_obj; 868 p_session->jpeg_obj = (void*)my_obj; /* save a ptr to jpeg_obj */ [all...] |