• Home
  • Raw
  • Download

Lines Matching refs:DIR

395 #define DIR(val) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_ ## val  macro
400 if (offer == DIR (INACTIVE) || answer == DIR (INACTIVE)) in _intersect_answer_directions()
401 return DIR (INACTIVE); in _intersect_answer_directions()
402 if (offer == DIR (SENDONLY) && answer == DIR (SENDRECV)) in _intersect_answer_directions()
403 return DIR (RECVONLY); in _intersect_answer_directions()
404 if (offer == DIR (SENDONLY) && answer == DIR (RECVONLY)) in _intersect_answer_directions()
405 return DIR (RECVONLY); in _intersect_answer_directions()
406 if (offer == DIR (RECVONLY) && answer == DIR (SENDRECV)) in _intersect_answer_directions()
407 return DIR (SENDONLY); in _intersect_answer_directions()
408 if (offer == DIR (RECVONLY) && answer == DIR (SENDONLY)) in _intersect_answer_directions()
409 return DIR (SENDONLY); in _intersect_answer_directions()
410 if (offer == DIR (SENDRECV) && answer == DIR (SENDRECV)) in _intersect_answer_directions()
411 return DIR (SENDRECV); in _intersect_answer_directions()
412 if (offer == DIR (SENDRECV) && answer == DIR (SENDONLY)) in _intersect_answer_directions()
413 return DIR (SENDONLY); in _intersect_answer_directions()
414 if (offer == DIR (SENDRECV) && answer == DIR (RECVONLY)) in _intersect_answer_directions()
415 return DIR (RECVONLY); in _intersect_answer_directions()
416 if (offer == DIR (RECVONLY) && answer == DIR (RECVONLY)) in _intersect_answer_directions()
417 return DIR (INACTIVE); in _intersect_answer_directions()
418 if (offer == DIR (SENDONLY) && answer == DIR (SENDONLY)) in _intersect_answer_directions()
419 return DIR (INACTIVE); in _intersect_answer_directions()
421 return DIR (NONE); in _intersect_answer_directions()
461 new_dir = DIR (NONE); in _get_final_direction()
463 case DIR (INACTIVE): in _get_final_direction()
464 new_dir = DIR (INACTIVE); in _get_final_direction()
466 case DIR (SENDONLY): in _get_final_direction()
467 if (remote_dir == DIR (SENDONLY)) { in _get_final_direction()
470 return DIR (NONE); in _get_final_direction()
471 } else if (remote_dir == DIR (INACTIVE)) { in _get_final_direction()
472 new_dir = DIR (INACTIVE); in _get_final_direction()
474 new_dir = DIR (SENDONLY); in _get_final_direction()
477 case DIR (RECVONLY): in _get_final_direction()
478 if (remote_dir == DIR (RECVONLY)) { in _get_final_direction()
481 return DIR (NONE); in _get_final_direction()
482 } else if (remote_dir == DIR (INACTIVE)) { in _get_final_direction()
483 new_dir = DIR (INACTIVE); in _get_final_direction()
485 new_dir = DIR (RECVONLY); in _get_final_direction()
488 case DIR (SENDRECV): in _get_final_direction()
489 if (remote_dir == DIR (INACTIVE)) { in _get_final_direction()
490 new_dir = DIR (INACTIVE); in _get_final_direction()
491 } else if (remote_dir == DIR (SENDONLY)) { in _get_final_direction()
492 new_dir = DIR (RECVONLY); in _get_final_direction()
493 } else if (remote_dir == DIR (RECVONLY)) { in _get_final_direction()
494 new_dir = DIR (SENDONLY); in _get_final_direction()
495 } else if (remote_dir == DIR (SENDRECV)) { in _get_final_direction()
496 new_dir = DIR (SENDRECV); in _get_final_direction()
504 if (new_dir == DIR (NONE)) { in _get_final_direction()
506 return DIR (NONE); in _get_final_direction()
512 #undef DIR