Lines Matching defs:length
34 int ff_h2645_extract_rbsp(const uint8_t *src, int length,
42 if (i + 2 < length && src[i + 1] == 0 && src[i + 2] <= 3) { \
45 length = i; \
56 for (i = 0; i + 1 < length; i += 9) {
66 for (i = 0; i + 1 < length; i += 5) {
77 for (i = 0; i + 1 < length; i += 2) {
86 if (i >= length - 1 && small_padding) { // no escaped 0
90 nal->raw_size = length;
91 return length;
92 } else if (i > length)
93 i = length;
99 while (si + 2 < length) {
133 while (si < length)
396 int ff_h2645_packet_split(H2645Packet *pkt, const uint8_t *buf, int length,
402 int next_avc = is_nalff ? 0 : length;
405 bytestream2_init(&bc, buf, length);
406 alloc_rbsp_buffer(&pkt->rbsp, length + padding, use_ref);