/hardware/qcom/media/msm8974/mm-core/src/common/ |
D | omx_core_cmp.cpp | 48 qc_omx_component *pThis = (qc_omx_component *)obj_ptr; in qc_omx_create_component_wrapper() local 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() 50 memset(&pThis->m_cmp,0,sizeof(OMX_COMPONENTTYPE)); in qc_omx_create_component_wrapper() 88 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_init() local 91 if(pThis) in qc_omx_component_init() 94 eRet = pThis->component_init(componentName); in qc_omx_component_init() 99 delete pThis; in qc_omx_component_init() 114 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_get_version() local 116 if(pThis) in qc_omx_component_get_version() 118 …eRet = pThis->get_component_version(hComp,componentName,componentVersion,specVersion,componentUUID… in qc_omx_component_get_version() [all …]
|
D | qc_omx_core.c | 429 void* pThis = (*(core[cmp_index].fn_ptr))(); in OMX_GetHandle() local 430 if(pThis) in OMX_GetHandle() 433 hComp = qc_omx_create_component_wrapper((OMX_PTR)pThis); in OMX_GetHandle()
|
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/ |
D | omx_core_cmp.cpp | 48 qc_omx_component *pThis = (qc_omx_component *)obj_ptr; in qc_omx_create_component_wrapper() local 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() 50 memset(&pThis->m_cmp,0,sizeof(OMX_COMPONENTTYPE)); in qc_omx_create_component_wrapper() 88 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_init() local 91 if(pThis) in qc_omx_component_init() 94 eRet = pThis->component_init(componentName); in qc_omx_component_init() 99 delete pThis; in qc_omx_component_init() 114 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_get_version() local 116 if(pThis) in qc_omx_component_get_version() 118 …eRet = pThis->get_component_version(hComp,componentName,componentVersion,specVersion,componentUUID… in qc_omx_component_get_version() [all …]
|
D | qc_omx_core.c | 451 void* pThis = (*(core[cmp_index].fn_ptr))(); in OMX_GetHandle() local 452 if(pThis) in OMX_GetHandle() 455 hComp = qc_omx_create_component_wrapper((OMX_PTR)pThis); in OMX_GetHandle()
|
/hardware/qcom/media/msm8996/mm-core/src/common/ |
D | omx_core_cmp.cpp | 48 qc_omx_component *pThis = (qc_omx_component *)obj_ptr; in qc_omx_create_component_wrapper() local 49 OMX_COMPONENTTYPE* component = &(pThis->m_cmp); in qc_omx_create_component_wrapper() 50 memset(&pThis->m_cmp,0,sizeof(OMX_COMPONENTTYPE)); in qc_omx_create_component_wrapper() 88 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_init() local 91 if(pThis) in qc_omx_component_init() 94 eRet = pThis->component_init(componentName); in qc_omx_component_init() 99 delete pThis; in qc_omx_component_init() 114 …qc_omx_component *pThis = (hComp)? (qc_omx_component *)(((OMX_COMPONENTTYPE *)hComp)->pComponentPr… in qc_omx_component_get_version() local 116 if(pThis) in qc_omx_component_get_version() 118 …eRet = pThis->get_component_version(hComp,componentName,componentVersion,specVersion,componentUUID… in qc_omx_component_get_version() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/src/ |
D | omx_qcelp13_aenc.cpp | 550 omx_qcelp13_aenc *pThis = (omx_qcelp13_aenc *) client_data; in process_out_port_msg() local 554 pthread_mutex_lock(&pThis->m_state_lock); in process_out_port_msg() 555 pThis->get_state(&pThis->m_cmp, &state); in process_out_port_msg() 556 pthread_mutex_unlock(&pThis->m_state_lock); in process_out_port_msg() 562 pthread_mutex_lock(&pThis->m_outputlock); in process_out_port_msg() 564 qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 565 tot_qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 566 tot_qsize += pThis->m_output_ctrl_fbd_q.m_size; in process_out_port_msg() 567 tot_qsize += pThis->m_output_q.m_size; in process_out_port_msg() 571 pthread_mutex_unlock(&pThis->m_outputlock); in process_out_port_msg() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/src/ |
D | omx_amr_aenc.cpp | 552 omx_amr_aenc *pThis = (omx_amr_aenc *) client_data; in process_out_port_msg() local 556 pthread_mutex_lock(&pThis->m_state_lock); in process_out_port_msg() 557 pThis->get_state(&pThis->m_cmp, &state); in process_out_port_msg() 558 pthread_mutex_unlock(&pThis->m_state_lock); in process_out_port_msg() 564 pthread_mutex_lock(&pThis->m_outputlock); in process_out_port_msg() 566 qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 567 tot_qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 568 tot_qsize += pThis->m_output_ctrl_fbd_q.m_size; in process_out_port_msg() 569 tot_qsize += pThis->m_output_q.m_size; in process_out_port_msg() 573 pthread_mutex_unlock(&pThis->m_outputlock); in process_out_port_msg() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/src/ |
D | omx_evrc_aenc.cpp | 548 omx_evrc_aenc *pThis = (omx_evrc_aenc *) client_data; in process_out_port_msg() local 552 pthread_mutex_lock(&pThis->m_state_lock); in process_out_port_msg() 553 pThis->get_state(&pThis->m_cmp, &state); in process_out_port_msg() 554 pthread_mutex_unlock(&pThis->m_state_lock); in process_out_port_msg() 560 pthread_mutex_lock(&pThis->m_outputlock); in process_out_port_msg() 562 qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 563 tot_qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 564 tot_qsize += pThis->m_output_ctrl_fbd_q.m_size; in process_out_port_msg() 565 tot_qsize += pThis->m_output_q.m_size; in process_out_port_msg() 569 pthread_mutex_unlock(&pThis->m_outputlock); in process_out_port_msg() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/src/ |
D | omx_aac_aenc.cpp | 552 omx_aac_aenc *pThis = (omx_aac_aenc *) client_data; in process_out_port_msg() local 556 pthread_mutex_lock(&pThis->m_state_lock); in process_out_port_msg() 557 pThis->get_state(&pThis->m_cmp, &state); in process_out_port_msg() 558 pthread_mutex_unlock(&pThis->m_state_lock); in process_out_port_msg() 564 pthread_mutex_lock(&pThis->m_outputlock); in process_out_port_msg() 566 qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 567 tot_qsize = pThis->m_output_ctrl_cmd_q.m_size; in process_out_port_msg() 568 tot_qsize += pThis->m_output_ctrl_fbd_q.m_size; in process_out_port_msg() 569 tot_qsize += pThis->m_output_q.m_size; in process_out_port_msg() 573 pthread_mutex_unlock(&pThis->m_outputlock); in process_out_port_msg() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 329 omx_video *pThis = (omx_video *) ctxt; in process_event_cb() local 331 if(!pThis) in process_event_cb() 342 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 343 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 346 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 351 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 354 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 360 qsize = pThis->m_etb_q.m_size; in process_event_cb() 363 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 367 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 324 omx_video *pThis = (omx_video *) ctxt; in process_event_cb() local 326 if (!pThis) { in process_event_cb() 335 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 336 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 338 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 342 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 344 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 349 qsize = pThis->m_etb_q.m_size; in process_event_cb() 351 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 355 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb() [all …]
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 825 omx_vdpp *pThis = (omx_vdpp *) ctxt; in process_event_cb() local 827 if(!pThis) in process_event_cb() 838 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 841 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 844 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 849 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 852 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 855 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 861 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 863 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 386 omx_video *pThis = (omx_video *) ctxt; in process_event_cb() local 388 if (!pThis) { in process_event_cb() 397 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 398 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 400 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 404 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 406 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 411 qsize = pThis->m_etb_q.m_size; in process_event_cb() 413 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 417 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
D | PrimaryDevice.cpp | 63 PrimaryDevice *pThis = (PrimaryDevice*)data; in repeatedFrameEventListener() local 64 if (pThis) { in repeatedFrameEventListener() 65 pThis->repeatedFrameListener(); in repeatedFrameEventListener()
|
D | ExternalDevice.cpp | 206 ExternalDevice *pThis = (ExternalDevice*)data; in hotplugEventListener() local 207 if (pThis) { in hotplugEventListener() 208 pThis->hotplugListener(); in hotplugEventListener()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 625 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 627 if(!pThis) in process_event_cb() 638 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 639 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 642 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 645 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 647 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 650 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 654 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 656 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
D | omx_vdec.cpp | 632 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 634 if(!pThis) in process_event_cb() 645 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 646 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 649 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 652 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 654 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 657 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 661 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 663 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 881 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 883 if(!pThis) in process_event_cb() 894 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 895 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 898 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 901 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 903 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 906 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 910 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 912 qsize = pThis->m_ftb_q_dsp.m_size; in process_event_cb() [all …]
|
D | omx_vdec_hevc.cpp | 751 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 753 if (!pThis) { in process_event_cb() 762 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 763 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 765 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 768 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 769 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 771 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 775 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 776 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
D | omx_vdec_v4l2.cpp | 1195 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 1197 if (!pThis) { in process_event_cb() 1206 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 1207 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 1209 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 1212 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 1213 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 1215 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 1219 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 1220 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 873 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 875 if(!pThis) in process_event_cb() 886 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 887 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 890 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 893 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 895 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 898 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 902 if (qsize == 0 && pThis->m_state != OMX_StatePause) in process_event_cb() 904 qsize = pThis->m_ftb_q_dsp.m_size; in process_event_cb() [all …]
|
D | omx_vdec.cpp | 633 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 635 if (!pThis) { in process_event_cb() 644 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 645 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 648 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 651 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 652 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 655 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb() 659 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 660 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
D | omx_vdec_msm8974.cpp | 874 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 876 if (!pThis) { in process_event_cb() 885 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 886 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 888 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 891 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 892 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 894 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb() 898 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 899 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
D | omx_vdec_hevc.cpp | 756 omx_vdec *pThis = (omx_vdec *) ctxt; in process_event_cb() local 758 if (!pThis) { in process_event_cb() 767 pthread_mutex_lock(&pThis->m_lock); in process_event_cb() 768 qsize = pThis->m_cmd_q.m_size; in process_event_cb() 770 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 773 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 774 qsize = pThis->m_ftb_q.m_size; in process_event_cb() 776 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb() 780 if (qsize == 0 && pThis->m_state != OMX_StatePause) { in process_event_cb() 781 qsize = pThis->m_etb_q.m_size; in process_event_cb() [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/ |
D | ExternalDevice.cpp | 208 ExternalDevice *pThis = (ExternalDevice*)data; in hotplugEventListener() local 209 if (pThis) { in hotplugEventListener() 210 pThis->hotplugListener(); in hotplugEventListener()
|