Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dnal-rbsp.c50 rbsp->num_consecutive_zeros = 0; in add_emulation_prevention_three_byte()
60 rbsp->num_consecutive_zeros = 0; in discard_emulation_prevention_three_byte()
75 if (rbsp->num_consecutive_zeros == 22) { in rbsp_read_bit()
91 (rbsp->num_consecutive_zeros < 7 && (rbsp->pos % 8 == 0))) in rbsp_read_bit()
92 rbsp->num_consecutive_zeros = 0; in rbsp_read_bit()
94 rbsp->num_consecutive_zeros++; in rbsp_read_bit()
104 if (rbsp->num_consecutive_zeros == 22) in rbsp_write_bit()
118 (rbsp->num_consecutive_zeros < 7 && (rbsp->pos % 8 == 0))) { in rbsp_write_bit()
119 rbsp->num_consecutive_zeros = 0; in rbsp_write_bit()
121 rbsp->num_consecutive_zeros++; in rbsp_write_bit()
H A Dnal-rbsp.h42 unsigned int num_consecutive_zeros; member