Lines Matching +full:c +full:- +full:22
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Coda multi-standard codec IP - MPEG-2 helper functions
5 * Copyright (C) 2019 Pengutronix, Philipp Zabel
26 return -EINVAL; in coda_mpeg2_profile()
42 return -EINVAL; in coda_mpeg2_level()
47 * Check if the buffer starts with the MPEG-2 sequence header (with or without
54 * 19 1b 1b 1b 1b 1b 1c 1c 1c 1c 1e 1e 1e 1f 1f 21
72 if (size < 22 || in coda_mpeg2_parse_headers()
76 if ((size == 22 || in coda_mpeg2_parse_headers()
77 (size >= 25 && memcmp(buf + 22, u.start_code_prefix, 3) == 0)) && in coda_mpeg2_parse_headers()
79 return 22; in coda_mpeg2_parse_headers()