Lines Matching refs:p_payload
436 UINT8 *p_payload; /* pointer to media fragment payload in the buffer */ in avdt_scb_hdl_pkt_frag() local
576 p_payload = p_scb->p_media_buf; in avdt_scb_hdl_pkt_frag()
579 AVDT_MSG_PRS_OCTET1(p_payload, o_v, o_p, o_x, o_cc); in avdt_scb_hdl_pkt_frag()
580 AVDT_MSG_PRS_M_PT(p_payload, m_pt, marker); in avdt_scb_hdl_pkt_frag()
581 BE_STREAM_TO_UINT16(seq, p_payload); in avdt_scb_hdl_pkt_frag()
582 BE_STREAM_TO_UINT32(time_stamp, p_payload); in avdt_scb_hdl_pkt_frag()
583 BE_STREAM_TO_UINT32(ssrc, p_payload); in avdt_scb_hdl_pkt_frag()
589 p_payload += o_cc * 4; in avdt_scb_hdl_pkt_frag()
594 if(p_scb->p_media_buf + p_scb->frag_off - p_payload < 4) in avdt_scb_hdl_pkt_frag()
597 p_scb->frag_off, p_scb->p_media_buf, p_payload); in avdt_scb_hdl_pkt_frag()
600 p_payload += 2; in avdt_scb_hdl_pkt_frag()
601 BE_STREAM_TO_UINT16(ex_len, p_payload); in avdt_scb_hdl_pkt_frag()
602 p_payload += ex_len * 4; in avdt_scb_hdl_pkt_frag()
605 if(p_payload >= p_scb->p_media_buf + p_scb->frag_off) in avdt_scb_hdl_pkt_frag()
608 p_scb->frag_off, p_scb->p_media_buf, p_payload); in avdt_scb_hdl_pkt_frag()
621 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload); in avdt_scb_hdl_pkt_frag()
624 p_payload - p_scb->p_media_buf,payload_len); in avdt_scb_hdl_pkt_frag()
629 (*p_scb->cs.p_media_cback)(avdt_scb_to_hdl(p_scb), p_payload, in avdt_scb_hdl_pkt_frag()