Lines Matching refs:p2

314       unsigned p2 = 0;  in async_message_thread()  local
318 omx->m_index_q_ftb.pop_entry(&p1,&p2,&ident); in async_message_thread()
342 unsigned p2 = 0; in async_message_thread() local
347 omx->m_index_q_etb.pop_entry(&p1,&p2,&ident); in async_message_thread()
427 bool omx_vdpp::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
434 m_q[m_write].param2 = p2; in insert_entry()
451 bool omx_vdpp::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
458 *p2 = m_q[m_read].param2; in pop_entry()
822 signed p2; // Parameter - 2 in process_event_cb() local
844 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
855 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
856 … DEBUG_PRINT_HIGH("process_event_cb, p1 = 0x%08x, p2 = 0x%08x, ident = 0x%08x", p1, p2, ident); in process_event_cb()
866 pThis->m_etb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
883 pThis->m_state = (OMX_STATETYPE) p2; in process_event_cb()
887 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
891 if(p2 == OMX_StateInvalid) in process_event_cb()
894 pThis->m_state = (OMX_STATETYPE) p2; in process_event_cb()
896 OMX_EventError, OMX_ErrorInvalidState, p2, NULL); in process_event_cb()
898 else if (p2 == OMX_ErrorHardware) in process_event_cb()
905 OMX_EventError, p2, (OMX_U32)NULL, NULL ); in process_event_cb()
910 …" OMX_CommandPortDisable complete for port [%d], pThis->in_reconfig = %d", p2, pThis->in_reconfig); in process_event_cb()
917 if (p2 == OMX_CORE_OUTPUT_PORT_INDEX) in process_event_cb()
932 if (p2 == OMX_CORE_INPUT_PORT_INDEX) in process_event_cb()
948 OMX_EventCmdComplete, p1, p2, NULL ); in process_event_cb()
951 DEBUG_PRINT_HIGH(" OMX_CommandPortEnable complete for port [%d]", p2); in process_event_cb()
953 OMX_EventCmdComplete, p1, p2, NULL ); in process_event_cb()
958 OMX_EventCmdComplete, p1, p2, NULL ); in process_event_cb()
971 (OMX_BUFFERHEADERTYPE *)p2) != OMX_ErrorNone) in process_event_cb()
980 DEBUG_PRINT_HIGH("OMX_COMPONENT_GENERATE_FTB p2 = 0x%08x", p2); in process_event_cb()
982 (OMX_BUFFERHEADERTYPE *)p2) != OMX_ErrorNone) in process_event_cb()
992 (OMX_U32)p2,(OMX_PTR)NULL); in process_event_cb()
996 if (p2 != VDPP_S_SUCCESS && p2 != VDPP_S_INPUT_BITSTREAM_ERR) in process_event_cb()
1004 if (p2 == VDPP_S_INPUT_BITSTREAM_ERR && p1) in process_event_cb()
1032 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1056 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1110 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1178 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1218 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1249 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1279 if (p2 != VDPP_S_SUCCESS) in process_event_cb()
1311 if (p2 == OMX_IndexParamPortDefinition) { in process_event_cb()
1316 OMX_EventPortSettingsChanged, p1, p2, NULL ); in process_event_cb()
2493 unsigned p2 = 0; // Parameter - 2 in execute_output_flush() local
2504 m_ftb_q.pop_entry(&p1,&p2,&ident); in execute_output_flush()
2505 DEBUG_PRINT_LOW(" ID(%x) P1(%x) P2(%x)", ident, p1, p2); in execute_output_flush()
2508 m_cb.FillBufferDone(&m_cmp, m_app_data, (OMX_BUFFERHEADERTYPE *)p2); in execute_output_flush()
2538 unsigned p2 = 0; // Parameter - 2 in execute_input_flush() local
2550 m_etb_q.pop_entry(&p1,&p2,&ident); in execute_input_flush()
2554 DEBUG_PRINT_LOW(" Flush Input Heap Buffer %p",(OMX_BUFFERHEADERTYPE *)p2); in execute_input_flush()
2555 m_cb.EmptyBufferDone(&m_cmp ,m_app_data, (OMX_BUFFERHEADERTYPE *)p2); in execute_input_flush()
2561 (OMX_BUFFERHEADERTYPE *)p2, pending_input_buffers); in execute_input_flush()
2562 empty_buffer_done(&m_cmp,(OMX_BUFFERHEADERTYPE *)p2); in execute_input_flush()
2607 unsigned int p2, in post_event() argument
2618 m_ftb_q.insert_entry(p1,p2,id); in post_event()
2624 m_etb_q.insert_entry(p1,p2,id); in post_event()
2628 m_cmd_q.insert_entry(p1,p2,id); in post_event()
5386 unsigned p2 = 0; in empty_this_buffer_proxy() local
5660 m_index_q_etb.insert_entry(p1,p2,nPortIndex); in empty_this_buffer_proxy()
5742 unsigned p2 = 0; in fill_this_buffer_proxy() local
5837 m_index_q_ftb.insert_entry(p1,p2,nPortIndex); in fill_this_buffer_proxy()
7286 unsigned p2; in complete_pending_buffer_done_cbs() local
7293 m_ftb_q.pop_entry(&p1,&p2,&ident); in complete_pending_buffer_done_cbs()
7296 pending_bd_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7300 tmp_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7306 tmp_q.pop_entry(&p1,&p2,&ident); in complete_pending_buffer_done_cbs()
7307 m_ftb_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7312 m_etb_q.pop_entry(&p1,&p2,&ident); in complete_pending_buffer_done_cbs()
7315 pending_bd_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7319 tmp_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7325 tmp_q.pop_entry(&p1,&p2,&ident); in complete_pending_buffer_done_cbs()
7326 m_etb_q.insert_entry(p1,p2,ident); in complete_pending_buffer_done_cbs()
7332 pending_bd_q.pop_entry(&p1,&p2,&ident); in complete_pending_buffer_done_cbs()