Lines Matching refs:desc_end
1788 const uint8_t *desc_end; in ff_parse_mpeg2_descriptor() local
1799 desc_end = *pp + desc_len; in ff_parse_mpeg2_descriptor()
1800 if (desc_end > desc_list_end) in ff_parse_mpeg2_descriptor()
1811 if (get8(pp, desc_end) & 0x1) { in ff_parse_mpeg2_descriptor()
1816 desc_es_id = get16(pp, desc_end); in ff_parse_mpeg2_descriptor()
1839 if (get16(pp, desc_end) < 0) in ff_parse_mpeg2_descriptor()
1883 language[i * 4 + 0] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1884 language[i * 4 + 1] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1885 language[i * 4 + 2] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1934 language[i * 4 + 0] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1935 language[i * 4 + 1] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1936 language[i * 4 + 2] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1951 extradata[4] = get8(pp, desc_end); /* subtitling_type */ in ff_parse_mpeg2_descriptor()
1966 language[i + 0] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1967 language[i + 1] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1968 language[i + 2] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
1970 switch (get8(pp, desc_end)) { in ff_parse_mpeg2_descriptor()
2000 st->stream_identifier = 1 + get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2003 if (get16(pp, desc_end) == 0xFFFF) in ff_parse_mpeg2_descriptor()
2005 if (get8(pp, desc_end) == 0xFF) { in ff_parse_mpeg2_descriptor()
2012 ext_desc_tag = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2026 channel_config_code = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2048 flags = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2069 language[0] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2070 language[1] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2071 language[2] = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2083 int component_type_flag = get8(pp, desc_end) & (1 << 7); in ff_parse_mpeg2_descriptor()
2085 int component_type = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2097 int component_type_flag = get8(pp, desc_end) & (1 << 7); in ff_parse_mpeg2_descriptor()
2099 int component_type = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2120 int data_component_id = get16(pp, desc_end); in ff_parse_mpeg2_descriptor()
2159 if (desc_end - *pp < 4) // (8 + 8 + 7 + 6 + 1 + 1 + 1) / 8 in ff_parse_mpeg2_descriptor()
2166 dovi->dv_version_major = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2167 dovi->dv_version_minor = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2168 buf = get16(pp, desc_end); in ff_parse_mpeg2_descriptor()
2174 if (desc_end - *pp >= 20) { // 4 + 4 * 4 in ff_parse_mpeg2_descriptor()
2175 buf = get8(pp, desc_end); in ff_parse_mpeg2_descriptor()
2203 *pp = desc_end; in ff_parse_mpeg2_descriptor()
2238 const uint8_t *desc_end; in parse_stream_identifier_desc() local
2257 desc_end = *pp + desc_len; in parse_stream_identifier_desc()
2258 if (desc_end > desc_list_end) in parse_stream_identifier_desc()
2262 return get8(pp, desc_end); in parse_stream_identifier_desc()
2264 *pp = desc_end; in parse_stream_identifier_desc()
2637 const uint8_t *p, *p_end, *desc_list_end, *desc_end; in sdt_cb() local
2680 desc_end = p + desc_len; in sdt_cb()
2681 if (desc_len < 0 || desc_end > desc_list_end) in sdt_cb()
2710 p = desc_end; in sdt_cb()