Home
last modified time | relevance | path

Searched refs:p_obj (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c122 mm_jpegdec_intf_test_t *p_obj = (mm_jpegdec_intf_test_t *)userData; in mm_jpegdec_decode_callback() local
132 p_obj->out_filename, in mm_jpegdec_decode_callback()
134 DUMP_TO_FILE(p_obj->out_filename, p_output->buf_vaddr, p_output->buf_filled_len); in mm_jpegdec_decode_callback()
139 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
177 int mm_jpegdec_test_read(mm_jpegdec_intf_test_t *p_obj) in mm_jpegdec_test_read() argument
182 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
194 p_obj->input.size = file_size; in mm_jpegdec_test_read()
197 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
203 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
238 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument
[all …]
Dmm_jpeg_test.c165 mm_jpeg_intf_test_t *p_obj = (mm_jpeg_intf_test_t *)userData; in mm_jpeg_encode_callback() local
167 pthread_mutex_lock(&p_obj->lock); in mm_jpeg_encode_callback()
173 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
175 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
182 p_obj->buf_filled_len[i] = p_output->buf_filled_len; in mm_jpeg_encode_callback()
183 if (p_obj->min_out_bufs) { in mm_jpeg_encode_callback()
185 p_obj->out_filename[i], in mm_jpeg_encode_callback()
187 DUMP_TO_FILE(p_obj->out_filename[i], p_output->buf_vaddr, in mm_jpeg_encode_callback()
197 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
199 pthread_mutex_unlock(&p_obj->lock); in mm_jpeg_encode_callback()
[all …]
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
Dqomx_core.c188 void *p_obj = NULL; in OMX_GetHandle() local
242 p_obj = (*p_core_comp->get_instance)(); in OMX_GetHandle()
243 ALOGI("%s:%d] get instance pts is %p", __func__, __LINE__, p_obj); in OMX_GetHandle()
244 if (NULL == p_obj) { in OMX_GetHandle()
251 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()