Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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()
[all...]
H A Dnal-rbsp.h26 * @num_consecutive_zeros: number of zeros before @pos
42 unsigned int num_consecutive_zeros; member
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
H A Dnal-h264.c50 * @num_consecutive_zeros: number of zeros before @pos
66 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 < in rbsp_write_bit()
[all...]

Completed in 3 milliseconds