Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/media/allegro-dvt/
Dnal-h264.c66 unsigned int num_consecutive_zeros; member
171 rbsp->num_consecutive_zeros = 0; in add_emulation_prevention_three_byte()
181 rbsp->num_consecutive_zeros = 0; in discard_emulation_prevention_three_byte()
196 if (rbsp->num_consecutive_zeros == 22) { in rbsp_read_bit()
212 (rbsp->num_consecutive_zeros < 7 && (rbsp->pos % 8 == 0))) in rbsp_read_bit()
213 rbsp->num_consecutive_zeros = 0; in rbsp_read_bit()
215 rbsp->num_consecutive_zeros++; in rbsp_read_bit()
225 if (rbsp->num_consecutive_zeros == 22) in rbsp_write_bit()
239 (rbsp->num_consecutive_zeros < 7 && (rbsp->pos % 8 == 0))) { in rbsp_write_bit()
240 rbsp->num_consecutive_zeros = 0; in rbsp_write_bit()
[all …]