Home
last modified time | relevance | path

Searched refs:m_don (Results 1 – 1 of 1) sorted by relevance

/external/opencore/protocols/rtp_payload_parser/rfc_3984/src/
Dh264_payload_parser_interleave_mode.h107 static int32 don_diff(uint32 m_don, uint32 n_don) in don_diff() argument
109 if (m_don == n_don) return 0; in don_diff()
111 if (m_don < n_don && (n_don - m_don < 32768)) in don_diff()
112 return ((int32)n_don - (int32)m_don); in don_diff()
114 if (m_don < n_don && (n_don - m_don >= 32768)) in don_diff()
115 return ((int32)n_don - (int32)m_don - 65536); in don_diff()
117 if (m_don > n_don && (m_don - n_don < 32768)) in don_diff()
118 return -((int32)m_don - (int32)n_don); in don_diff()
120 if (m_don > n_don && (m_don - n_don >= 32768)) in don_diff()
121 return (65536 - m_don + n_don); in don_diff()