Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 53) sorted by relevance

123

/hardware/st/secure_element/ese-spi-driver/utils-lib/
DCommandApdu.cc43 commandApduArray[2] = cmdApdu.p1; in CommandApdu_toByteArray()
96 int CommandApdu_formApduType4(char cla, char ins, char p1, char p2, char lc, in CommandApdu_formApduType4() argument
104 cmdApdu->p1 = p1; in CommandApdu_formApduType4()
126 int CommandApdu_formApduType2(char cla, char ins, char p1, char p2, char le, in CommandApdu_formApduType2() argument
130 cmdApdu->p1 = p1; in CommandApdu_formApduType2()
DCommandApdu.h28 char p1; member
64 int CommandApdu_formApduType4(char cla, char ins, char p1, char p2, char lc,
77 int CommandApdu_formApduType2(char cla, char ins, char p1, char p2, char le,
/hardware/google/av/media/eco/include/eco/
DECOService.h95 friend bool operator==(const SessionConfig& p1, const SessionConfig& p2) {
96 return p1.mWidth == p2.mWidth && p1.mHeight == p2.mHeight &&
97 p1.mIsCameraRecording == p2.mIsCameraRecording;
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp169 bool omx_video::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
174 m_q[m_write].param1 = p1; in insert_entry()
189 bool omx_video::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
194 *p1 = m_q[m_read].param1; in pop_entry()
364 unsigned long p1; // Parameter - 1 in process_event_cb() local
382 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
388 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
395 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
406 switch (p1) { in process_event_cb()
414 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp150 bool omx_video::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
156 m_q[m_write].param1 = p1; in insert_entry()
174 bool omx_video::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
180 *p1 = m_q[m_read].param1; in pop_entry()
325 unsigned p1; // Parameter - 1 in process_event_cb() local
346 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
354 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
363 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
378 switch(p1) in process_event_cb()
384 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp146 bool omx_video::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
151 m_q[m_write].param1 = p1; in insert_entry()
166 bool omx_video::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
171 *p1 = m_q[m_read].param1; in pop_entry()
322 unsigned long p1; // Parameter - 1 in process_event_cb() local
340 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
346 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
353 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
365 switch (p1) { in process_event_cb()
370 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp166 bool omx_video::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
171 m_q[m_write].param1 = p1; in insert_entry()
186 bool omx_video::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
191 *p1 = m_q[m_read].param1; in pop_entry()
378 unsigned long p1; // Parameter - 1 in process_event_cb() local
396 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
402 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
409 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
420 switch (p1) { in process_event_cb()
428 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp200 bool omx_video::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
205 m_q[m_write].param1 = p1; in insert_entry()
220 bool omx_video::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
225 *p1 = m_q[m_read].param1; in pop_entry()
387 unsigned long p1; // Parameter - 1 in process_event_cb() local
405 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
411 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
418 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
430 switch (p1) { in process_event_cb()
435 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp202 bool omx_video::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
207 m_q[m_write].param1 = p1; in insert_entry()
222 bool omx_video::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
227 *p1 = m_q[m_read].param1; in pop_entry()
396 unsigned long p1; // Parameter - 1 in process_event_cb() local
414 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
420 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
427 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
439 switch (p1) { in process_event_cb()
447 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/google/av/codec2/tests/
DC2Param_test.cpp1676 C2Param *p1 = C2Param::From(videoWidth, sizeof(videoWidth)); in TEST_F() local
1677 EXPECT_NE(p1, nullptr); in TEST_F()
1678 EXPECT_EQ(12u, p1->size()); in TEST_F()
1679 EXPECT_EQ(p1->type(), C2NumberStreamTuning::output::PARAM_TYPE); in TEST_F()
1681 p1 = C2Param::From(videoWidth, sizeof(videoWidth) + 2); in TEST_F()
1682 EXPECT_EQ(p1, nullptr); in TEST_F()
1684 p1 = C2Param::From(videoWidth, sizeof(videoWidth) - 2); in TEST_F()
1685 EXPECT_EQ(p1, nullptr); in TEST_F()
1687 p1 = C2Param::From(videoWidth, 3); in TEST_F()
1688 EXPECT_EQ(p1, nullptr); in TEST_F()
[all …]
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp313 unsigned p1 = 0; in async_message_thread() local
318 omx->m_index_q_ftb.pop_entry(&p1,&p2,&ident); in async_message_thread()
341 unsigned p1 = 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
433 m_q[m_write].param1 = p1; in insert_entry()
451 bool omx_vdpp::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
457 *p1 = m_q[m_read].param1; in pop_entry()
821 signed p1; // Parameter - 1 in process_event_cb() local
844 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp261 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
267 m_q[m_write].param1 = p1; in insert_entry()
285 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
291 *p1 = m_q[m_read].param1; in pop_entry()
621 unsigned p1; // Parameter - 1 in process_event_cb() local
642 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
650 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
659 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
673 switch (p1) in process_event_cb()
680 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
Domx_vdec.cpp249 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
255 m_q[m_write].param1 = p1; in insert_entry()
273 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
279 *p1 = m_q[m_read].param1; in pop_entry()
628 unsigned p1; // Parameter - 1 in process_event_cb() local
649 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
657 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
666 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
680 switch (p1) in process_event_cb()
687 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp337 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
343 m_q[m_write].param1 = p1; in insert_entry()
361 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
367 *p1 = m_q[m_read].param1; in pop_entry()
869 signed int p1; // Parameter - 1 in process_event_cb() local
890 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
898 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
907 pThis->m_ftb_q_dsp.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
916 pThis->m_etb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
925 pThis->m_etb_q_swvdec.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
[all …]
Domx_vdec_hevc.cpp320 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
325 m_q[m_write].param1 = p1; in insert_entry()
340 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
345 *p1 = m_q[m_read].param1; in pop_entry()
752 signed int p1; // Parameter - 1 in process_event_cb() local
770 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
776 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
783 pThis->m_etb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
794 switch (p1) { in process_event_cb()
800 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
Domx_vdec.cpp247 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
253 m_q[m_write].param1 = p1; in insert_entry()
270 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
276 *p1 = m_q[m_read].param1; in pop_entry()
629 unsigned p1; // Parameter - 1 in process_event_cb() local
648 pThis->m_cmd_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
655 pThis->m_ftb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
663 pThis->m_etb_q.pop_entry(&p1,&p2,&ident); in process_event_cb()
677 switch (p1) { in process_event_cb()
683 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
Domx_vdec_msm8974.cpp355 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
360 m_q[m_write].param1 = p1; in insert_entry()
375 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
380 *p1 = m_q[m_read].param1; in pop_entry()
871 unsigned long p1; // Parameter - 1 in process_event_cb() local
889 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
895 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
902 pThis->m_etb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
913 switch (p1) { in process_event_cb()
919 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp335 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
341 m_q[m_write].param1 = p1; in insert_entry()
359 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long*id) in pop_entry() argument
365 *p1 = m_q[m_read].param1; in pop_entry()
877 unsigned long p1; // Parameter - 1 in process_event_cb() local
898 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
906 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
915 pThis->m_ftb_q_dsp.pop_entry(&p1, &p2, &ident); in process_event_cb()
924 pThis->m_etb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
933 pThis->m_etb_q_swvdec.pop_entry(&p1, &p2, &ident); in process_event_cb()
[all …]
Domx_vdec_hevc.cpp316 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned p1, unsigned p2, unsigned id) in insert_entry() argument
321 m_q[m_write].param1 = p1; in insert_entry()
336 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned *p1, unsigned *p2, unsigned *id) in pop_entry() argument
341 *p1 = m_q[m_read].param1; in pop_entry()
747 signed int p1; // Parameter - 1 in process_event_cb() local
765 pThis->m_cmd_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
771 pThis->m_ftb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
778 pThis->m_etb_q.pop_entry((unsigned *)&p1, (unsigned *)&p2, &ident); in process_event_cb()
789 switch (p1) { in process_event_cb()
795 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
Domx_vdec_v4l2.cpp405 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
410 m_q[m_write].param1 = p1; in insert_entry()
425 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
430 *p1 = m_q[m_read].param1; in pop_entry()
1209 unsigned long p1; // Parameter - 1 in process_event_cb() local
1227 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1233 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1240 pThis->m_etb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1251 switch (p1) { in process_event_cb()
1257 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp3116 char *p1; in Interpreter() local
3118 p1 = p2 = mScript; in Interpreter()
3121 switch (*p1) { in Interpreter()
3124 p1++; in Interpreter()
3144 p2 = p1; in Interpreter()
3149 if (p2 == (p1 + 1)) in Interpreter()
3151 static_cast<Interpreter::Commands_e>(*p1))); in Interpreter()
3154 static_cast<Interpreter::Commands_e>(*p1), (p1 + 1))); in Interpreter()
3155 p1 = p2; in Interpreter()
3158 printf("Invalid cmd %c \n", *p1); in Interpreter()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h421 bool insert_entry(unsigned p1, unsigned p2, unsigned id);
422 bool pop_entry(unsigned *p1,unsigned *p2, unsigned *id);
493 bool post_event( unsigned int p1,
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h446 bool insert_entry(unsigned long p1, unsigned long p2, unsigned long id);
447 bool pop_entry(unsigned long *p1,unsigned long *p2, unsigned long *id);
523 bool post_event( unsigned long p1,
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp506 bool omx_vdec::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) in insert_entry() argument
511 m_q[m_write].param1 = p1; in insert_entry()
526 bool omx_vdec::omx_cmd_queue::pop_entry(unsigned long *p1, unsigned long *p2, unsigned long *id) in pop_entry() argument
531 *p1 = m_q[m_read].param1; in pop_entry()
1419 unsigned long p1; // Parameter - 1 in process_event_cb() local
1437 pThis->m_cmd_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1443 pThis->m_ftb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1450 pThis->m_etb_q.pop_entry(&p1, &p2, &ident); in process_event_cb()
1460 switch (p1) { in process_event_cb()
1466 OMX_EventCmdComplete, p1, p2, NULL); in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h459 bool insert_entry(unsigned long p1, unsigned long p2, unsigned long id);
460 bool pop_entry(unsigned long *p1,unsigned long *p2, unsigned long *id);
536 bool post_event( unsigned long p1,

123