Searched refs:frame_mask (Results 1 – 2 of 2) sorted by relevance
3488 uint32_t frame_min, uint32_t frame_ms, uint32_t frame_mask, uint32_t *p_frame_start) in usbd_xfer_get_isochronous_start_frame() argument3496 delta = (xfer->endpoint->isoc_next - frame_curr) & frame_mask; in usbd_xfer_get_isochronous_start_frame()3505 delta > (frame_mask / 2)) { in usbd_xfer_get_isochronous_start_frame()3507 xfer->endpoint->isoc_next = (frame_curr + 2 * frame_ms + frame_min) & frame_mask; in usbd_xfer_get_isochronous_start_frame()3517 *p_frame_start = xfer->endpoint->isoc_next & frame_mask; in usbd_xfer_get_isochronous_start_frame()3521 delta &= frame_mask; in usbd_xfer_get_isochronous_start_frame()3543 xfer->endpoint->isoc_next &= frame_mask; in usbd_xfer_get_isochronous_start_frame()
506 gint64 frame_mask; in is_granulepos_keyframe_theora() local511 frame_mask = (G_GUINT64_CONSTANT (1) << pad->granuleshift) - 1; in is_granulepos_keyframe_theora()513 return ((granulepos & frame_mask) == 0); in is_granulepos_keyframe_theora()2301 gint64 frame_mask; in is_granulepos_keyframe_daala() local2306 frame_mask = (G_GUINT64_CONSTANT (1) << pad->granuleshift) - 1; in is_granulepos_keyframe_daala()2308 return ((granulepos & frame_mask) == 0); in is_granulepos_keyframe_daala()