/frameworks/base/media/tests/omxjpegdecoder/ |
jpeg_decoder_bench.cpp | 110 printf("\nDecoding jpeg with OMX...\n"); 111 OmxJpegImageDecoder* omx = new OmxJpegImageDecoder; local 112 testDecoder(omx, argv[1]);
|
/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 276 sp<IOMX> omx = getOMX(); local 277 reply->writeStrongBinder(omx->asBinder());
|
/frameworks/av/media/libstagefright/ |
OMXClient.cpp | 27 #include "include/OMX.h" 168 return !strncasecmp(name, "OMX.google.", 11); 187 mLocalOMX = new OMX; 198 sp<IOMX> omx; local 202 mLocalOMX = new OMX; 204 omx = mLocalOMX; 206 omx = mRemoteOMX; 209 status_t err = omx->allocateNode(name, observer, node); 215 if (omx == mLocalOMX) { 386 ALOGI("Using client-side OMX mux.") [all...] |
ACodec.cpp | 593 ALOGW("querying usage flags from OMX IL component failed: %d", err); 641 // XXX: Is this the right logic to use? It's not clear to me what the OMX 682 // Dequeue buffers and send them to OMX 702 ALOGE("registering GraphicBuffer %lu with OMX IL component failed: " 749 // Dequeue buffers and send them to OMX 3595 sp<IOMX> omx = client.interface(); local [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
omx_video_encoder.cpp | 110 if(!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ 117 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ 123 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ 129 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ 162 //Intialise the OMX layer variables 467 OMX Set Parameter method implementation. 473 OMX Error None if successful. 783 if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.mpeg4",\ 791 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ 799 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc", 1606 omx_video* omx = NULL; local [all...] |
video_encoder_device.cpp | 171 omx_venc *omx = reinterpret_cast<omx_venc*>(input); local 181 error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); 191 else if(omx->async_message_process(input,&venc_msg) < 0) [all...] |
video_encoder_device_copper.cpp | 163 omx_venc *omx = reinterpret_cast<omx_venc*>(input); local 175 pfd.fd = omx->handle->m_nDriver_fd; 229 if(omx->async_message_process(input,&venc_msg) < 0) [all...] |
omx_video_base.cpp | 85 ////////////////// OMX COMPONENT CAPABILITY RELATED MEMBERS 103 omx_video* omx = reinterpret_cast<omx_video*>(input); local 111 n = read(omx->m_pipe_in, &id, 1); 119 omx->process_event_cb(omx, id); 131 void post_message(omx_video *omx, unsigned char id) 134 write(omx->m_pipe_out, &id, 1); 143 // omx cmd queue constructor 149 // omx cmd queue insert 173 // omx cmd queue po [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
omx_video_encoder.cpp | 112 if (!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ 117 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ 121 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ 127 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.vp8", \ 159 //Intialise the OMX layer variables 450 OMX Set Parameter method implementation. 456 OMX Error None if successful. 1665 omx_video* omx = NULL; local [all...] |
video_encoder_device.cpp | 165 omx_venc *omx = reinterpret_cast<omx_venc*>(input); local 175 error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); 182 } else if (omx->async_message_process(input,&venc_msg) < 0) { [all...] |
video_encoder_device_v4l2.cpp | 219 omx_venc *omx = reinterpret_cast<omx_venc*>(input); local 229 pfd.fd = omx->handle->m_nDriver_fd; 235 pthread_mutex_lock(&omx->handle->pause_resume_mlock); 237 if (omx->handle->paused) { 241 if (omx->async_message_process(input, &venc_msg) < 0) { 243 pthread_mutex_unlock(&omx->handle->pause_resume_mlock); 248 pthread_cond_wait(&omx->handle->pause_resume_cond, 249 &omx->handle->pause_resume_mlock); 254 if (omx->async_message_process(input, &venc_msg) < 0) { 256 pthread_mutex_unlock(&omx->handle->pause_resume_mlock) [all...] |
omx_video_base.cpp | 80 ////////////////// OMX COMPONENT CAPABILITY RELATED MEMBERS 98 omx_video* omx = reinterpret_cast<omx_video*>(input); local 105 n = read(omx->m_pipe_in, &id, 1); 111 omx->process_event_cb(omx, id); 123 void post_message(omx_video *omx, unsigned char id) 126 write(omx->m_pipe_out, &id, 1); 135 // omx cmd queue constructor 141 // omx cmd queue insert 161 // omx cmd queue po [all...] |
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 613 static void dumpCodecProfiles(const sp<IOMX>& omx, bool queryDecoders) { 631 CHECK_EQ(QueryCodecs(omx, kMimeTypes[k], 883 sp<IOMX> omx = service->getOMX(); local 884 CHECK(omx.get() != NULL); 885 dumpCodecProfiles(omx, true /* queryDecoders */); 886 dumpCodecProfiles(omx, false /* queryDecoders */); 896 sp<IOMX> omx = service->getOMX(); local 897 CHECK(omx.get() != NULL); 900 omx->listNodes(&list);
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
omx_vdec.h | 68 #define LOG_TAG "OMX-VDEC-720P" 70 #define LOG_TAG "OMX-VDEC-1080P" 72 #define LOG_TAG "OMX-VDEC" 259 // OMX video decoder class 678 // OMX State 851 omx_vdec *omx; member in class:omx_vdec::allocate_color_convert_buf
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
omx_vdec_copper.cpp | 134 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input); local 135 pfd.fd = omx->drv_ctx.video_driver_fd; 199 if (omx->async_message_process(input,&vdec_msg) < 0) { 210 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input); local 219 n = read(omx->m_pipe_in, &id, 1); 228 omx->process_event_cb(omx, id); 240 void post_message(omx_vdec *omx, unsigned char id) 243 DEBUG_PRINT_LOW("omx_vdec: post_message %d pipe out%d\n", id,omx->m_pipe_out); 244 ret_value = write(omx->m_pipe_out, &id, 1) 6316 omx_vdec* omx = NULL; local [all...] |
omx_vdec.cpp | 164 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input); local 173 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, 184 else if (omx->async_message_process(input,&vdec_msg) < 0) 195 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input); local 204 n = read(omx->m_pipe_in, &id, 1); 213 omx->process_event_cb(omx, id); 225 void post_message(omx_vdec *omx, unsigned char id) 228 DEBUG_PRINT_LOW("omx_vdec: post_message %d pipe out%d\n", id,omx->m_pipe_out); 229 ret_value = write(omx->m_pipe_out, &id, 1) 6730 omx_vdec* omx = NULL; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
omx_vdec.h | 55 #define LOG_TAG "OMX-VDEC-720P" 57 #define LOG_TAG "OMX-VDEC-1080P" 59 #define LOG_TAG "OMX-VDEC" 283 // OMX video decoder class 749 // OMX State 948 omx_vdec *omx; member in class:omx_vdec::allocate_color_convert_buf [all...] |
omx_vdec_hevc.h | 55 #define LOG_TAG "OMX-VDEC-720P" 57 #define LOG_TAG "OMX-VDEC-1080P" 59 #define LOG_TAG "OMX-VDEC" 263 // OMX video decoder class 702 // OMX State 888 omx_vdec *omx; member in class:omx_vdec::allocate_color_convert_buf [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec.cpp | 168 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input); local 177 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, 186 else if (omx->async_message_process(input,&vdec_msg) < 0) { 197 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input); local 206 n = read(omx->m_pipe_in, &id, 1); 213 omx->process_event_cb(omx, id); 226 void post_message(omx_vdec *omx, unsigned char id) 229 DEBUG_PRINT_LOW("omx_vdec: post_message %d pipe out%d", id,omx->m_pipe_out); 230 ret_value = write(omx->m_pipe_out, &id, 1) 6548 omx_vdec* omx = NULL; local [all...] |
omx_vdec_hevc.cpp | 140 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input); local 142 pfd.fd = omx->drv_ctx.video_driver_fd; 159 v4l2_buf.length = omx->drv_ctx.num_planes; 175 if (omx->async_message_process(input,&vdec_msg) < 0) { 191 if (omx->async_message_process(input,&vdec_msg) < 0) { 204 if (omx->async_message_process(input,&vdec_msg) < 0) { 213 if (omx->async_message_process(input,&vdec_msg) < 0) { 222 if (omx->async_message_process(input,&vdec_msg) < 0) { 229 if (omx->async_message_process(input,&vdec_msg) < 0) { 241 if (omx->async_message_process(input,&vdec_msg) < 0) 257 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input); local 6056 omx_vdec* omx = NULL; local [all...] |
omx_vdec_msm8974.cpp | 139 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input); local 141 pfd.fd = omx->drv_ctx.video_driver_fd; 158 v4l2_buf.length = omx->drv_ctx.num_planes; 174 if (omx->async_message_process(input,&vdec_msg) < 0) { 190 if (omx->async_message_process(input,&vdec_msg) < 0) { 203 if (omx->async_message_process(input,&vdec_msg) < 0) { 212 if (omx->async_message_process(input,&vdec_msg) < 0) { 219 if (omx->async_message_process(input,&vdec_msg) < 0) { 231 if (omx->async_message_process(input,&vdec_msg) < 0) { 238 omx->buf_ref_remove(ptr[0], ptr[1]) 276 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input); local 6488 omx_vdec* omx = NULL; local [all...] |