Home | History | Annotate | Download | only in src

Lines Matching refs:byte_ptr

53         DEBUG_PRINT_LOW("In %s() bit_ptr/byte_ptr :%u/%u/%x", __func__, (unsigned int)bit_ptr,
54 (unsigned int)byte_ptr, rbsp_buf[byte_ptr]);
57 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
60 byte_ptr ++;
63 DEBUG_PRINT_LOW("In %s() bit_ptr/byte_ptr :%u/%u/%x", __func__, (unsigned int)bit_ptr,
64 (unsigned int)byte_ptr, rbsp_buf[byte_ptr]);
68 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits);
73 byte_ptr++;
77 DEBUG_PRINT_LOW("In %s() bit_ptr/byte_ptr :%u/%u/%x", __func__, (unsigned int)bit_ptr,
78 (unsigned int)byte_ptr, rbsp_buf[byte_ptr]);
139 byte_ptr = 0;
188 while (rbsp_buf[byte_ptr] == 0xFF)
189 payload_type += rbsp_buf[byte_ptr++];
191 payload_type += rbsp_buf[byte_ptr++];
195 while (rbsp_buf[byte_ptr] == 0xFF)
196 payload_size += rbsp_buf[byte_ptr++];
198 payload_size += rbsp_buf[byte_ptr++];
234 (unsigned int)payload_size, (unsigned int)byte_ptr);
391 rbsp_buf[byte_ptr] |= (symbol >> shift);
395 (unsigned)rbsp_buf[byte_ptr], (unsigned int)rem_bits);
396 byte_ptr ++;
402 rbsp_buf[byte_ptr] |= (symbol << shift);
405 (unsigned)rbsp_buf[byte_ptr], (unsigned int)rem_bits);
409 byte_ptr++;
476 *buf++ = byte_ptr - 1; //payload will contain 1 byte of rbsp_trailing_bits
479 for (i = 0; i < byte_ptr ; i += 2) {
483 if (i+1 < byte_ptr) {
502 byte_ptr = 0;