Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c148 mm_jpeg_intf_test_t *p_obj = (mm_jpeg_intf_test_t *)userData; in mm_jpeg_encode_callback() local
150 pthread_mutex_lock(&p_obj->lock); in mm_jpeg_encode_callback()
156 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
158 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
165 p_obj->buf_filled_len[i] = p_output->buf_filled_len; in mm_jpeg_encode_callback()
166 if (p_obj->min_out_bufs) { in mm_jpeg_encode_callback()
168 __func__, __LINE__, p_obj->out_filename[i], in mm_jpeg_encode_callback()
171 DUMP_TO_FILE(p_obj->out_filename[i], p_output->buf_vaddr, in mm_jpeg_encode_callback()
181 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
183 pthread_mutex_unlock(&p_obj->lock); in mm_jpeg_encode_callback()
[all …]
Dmm_jpegdec_test.c113 mm_jpegdec_intf_test_t *p_obj = (mm_jpegdec_intf_test_t *)userData; in mm_jpegdec_decode_callback() local
123 __func__, __LINE__, p_obj->out_filename, in mm_jpegdec_decode_callback()
125 DUMP_TO_FILE(p_obj->out_filename, p_output->buf_vaddr, p_output->buf_filled_len); in mm_jpegdec_decode_callback()
130 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
168 int mm_jpegdec_test_read(mm_jpegdec_intf_test_t *p_obj) in mm_jpegdec_test_read() argument
173 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
185 p_obj->input.size = file_size; in mm_jpegdec_test_read()
188 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
194 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
229 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c148 mm_jpeg_intf_test_t *p_obj = (mm_jpeg_intf_test_t *)userData; in mm_jpeg_encode_callback() local
150 pthread_mutex_lock(&p_obj->lock); in mm_jpeg_encode_callback()
156 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
158 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
165 p_obj->buf_filled_len[i] = p_output->buf_filled_len; in mm_jpeg_encode_callback()
166 if (p_obj->min_out_bufs) { in mm_jpeg_encode_callback()
168 __func__, __LINE__, p_obj->out_filename[i], in mm_jpeg_encode_callback()
171 DUMP_TO_FILE(p_obj->out_filename[i], p_output->buf_vaddr, in mm_jpeg_encode_callback()
181 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
183 pthread_mutex_unlock(&p_obj->lock); in mm_jpeg_encode_callback()
[all …]
Dmm_jpegdec_test.c114 mm_jpegdec_intf_test_t *p_obj = (mm_jpegdec_intf_test_t *)userData; in mm_jpegdec_decode_callback() local
124 __func__, __LINE__, p_obj->out_filename, in mm_jpegdec_decode_callback()
126 DUMP_TO_FILE(p_obj->out_filename, p_output->buf_vaddr, p_output->buf_filled_len); in mm_jpegdec_decode_callback()
131 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
169 int mm_jpegdec_test_read(mm_jpegdec_intf_test_t *p_obj) in mm_jpegdec_test_read() argument
174 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
186 p_obj->input.size = file_size; in mm_jpegdec_test_read()
189 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
195 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
230 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c148 mm_jpeg_intf_test_t *p_obj = (mm_jpeg_intf_test_t *)userData; in mm_jpeg_encode_callback() local
150 pthread_mutex_lock(&p_obj->lock); in mm_jpeg_encode_callback()
156 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
158 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
165 p_obj->buf_filled_len[i] = p_output->buf_filled_len; in mm_jpeg_encode_callback()
166 if (p_obj->min_out_bufs) { in mm_jpeg_encode_callback()
168 __func__, __LINE__, p_obj->out_filename[i], in mm_jpeg_encode_callback()
171 DUMP_TO_FILE(p_obj->out_filename[i], p_output->buf_vaddr, in mm_jpeg_encode_callback()
181 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
183 pthread_mutex_unlock(&p_obj->lock); in mm_jpeg_encode_callback()
[all …]
Dmm_jpegdec_test.c114 mm_jpegdec_intf_test_t *p_obj = (mm_jpegdec_intf_test_t *)userData; in mm_jpegdec_decode_callback() local
124 __func__, __LINE__, p_obj->out_filename, in mm_jpegdec_decode_callback()
126 DUMP_TO_FILE(p_obj->out_filename, p_output->buf_vaddr, p_output->buf_filled_len); in mm_jpegdec_decode_callback()
131 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
169 int mm_jpegdec_test_read(mm_jpegdec_intf_test_t *p_obj) in mm_jpegdec_test_read() argument
174 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
186 p_obj->input.size = file_size; in mm_jpegdec_test_read()
189 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
195 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
230 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream.cpp104 QCameraHardwareInterface *p_obj=(QCameraHardwareInterface*) userdata; in superbuf_cb_routine() local
108 if(bufs->bufs[0]->stream_id == p_obj->mStreamSnapMain->mMmStreamId){ in superbuf_cb_routine()
110 p_obj->mStreamSnapMain->receiveRawPicture(bufs); in superbuf_cb_routine()
116 p_obj->mCameraHandle->ops->qbuf(p_obj->mCameraHandle->camera_handle, in superbuf_cb_routine()
117 p_obj->mChannelId, in superbuf_cb_routine()
129 QCameraStream *p_obj=(QCameraStream*) userdata; in stream_cb_routine() local
130 ALOGE("DEBUG4:ExtMode:%d,streamid:%d",p_obj->mExtImgMode,bufs->bufs[0]->stream_id); in stream_cb_routine()
131 switch(p_obj->mExtImgMode) { in stream_cb_routine()
134 ((QCameraStream_preview *)p_obj)->dataCallback(bufs); in stream_cb_routine()
138 ((QCameraStream_preview *)p_obj)->dataCallback(bufs); in stream_cb_routine()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraStream.cpp43 QCameraStream *p_obj=(QCameraStream*) userdata; in stream_cb_routine() local
44 ALOGD("DEBUG4:ExtMode:%d,streamid:%d",p_obj->mExtImgMode,bufs->bufs[0]->stream_id); in stream_cb_routine()
45 switch(p_obj->mExtImgMode) in stream_cb_routine()
49 ((QCameraStream_preview *)p_obj)->processPreviewFrame(bufs); in stream_cb_routine()
52 ((QCameraStream_record *)p_obj)->processRecordFrame(bufs); in stream_cb_routine()
55 ((QCameraStream_Rdi *)p_obj)->processRdiFrame(bufs); in stream_cb_routine()
/device/lge/bullhead/camera/mm-image-codec/qomx_core/
Dqomx_core.c182 void *p_obj = NULL; in OMX_GetHandle() local
236 p_obj = (*p_core_comp->get_instance)(); in OMX_GetHandle()
237 ALOGI("%s:%d] get instance pts is %p", __func__, __LINE__, p_obj); in OMX_GetHandle()
238 if (NULL == p_obj) { in OMX_GetHandle()
245 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()
/device/moto/shamu/camera/mm-image-codec/qomx_core/
Dqomx_core.c180 void *p_obj = NULL; in OMX_GetHandle() local
234 p_obj = (*p_core_comp->get_instance)(); in OMX_GetHandle()
235 ALOGI("%s:%d] get instance pts is %p", __func__, __LINE__, p_obj); in OMX_GetHandle()
236 if (NULL == p_obj) { in OMX_GetHandle()
243 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()
/device/huawei/angler/camera/mm-image-codec/qomx_core/
Dqomx_core.c182 void *p_obj = NULL; in OMX_GetHandle() local
236 p_obj = (*p_core_comp->get_instance)(); in OMX_GetHandle()
237 ALOGI("%s:%d] get instance pts is %p", __func__, __LINE__, p_obj); in OMX_GetHandle()
238 if (NULL == p_obj) { in OMX_GetHandle()
245 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()