Lines Matching defs:buf
57 const uint8_t* buf;
177 const uint8_t *buf, int buf_size,
189 header_prefix = ff_dnxhd_parse_header_prefix(buf);
193 buf[0], buf[1], buf[2], buf[3], buf[4]);
196 if (buf[5] & 2) { /* interlaced */
197 ctx->cur_field = first_field ? buf[5] & 1 : !ctx->cur_field;
201 "interlaced %d, cur field %d\n", buf[5] & 3, ctx->cur_field);
205 ctx->mbaff = (buf[0x6] >> 5) & 1;
206 ctx->alpha = buf[0x7] & 1;
207 ctx->lla = (buf[0x7] >> 1) & 1;
211 ctx->height = AV_RB16(buf + 0x18);
212 ctx->width = AV_RB16(buf + 0x1a);
214 switch(buf[0x21] >> 5) {
220 "Unknown bitdepth indicator (%d)\n", buf[0x21] >> 5);
224 cid = AV_RB32(buf + 0x28);
234 switch ((buf[0x2C] >> 1) & 3) {
241 ctx->act = buf[0x2C] & 1;
246 ctx->is_444 = (buf[0x2C] >> 6) & 1;
299 ctx->mb_height = AV_RB16(buf + 0x16c);
338 ctx->mb_scan_index[i] = AV_RB32(buf + 0x170 + (i << 2));
600 ret = init_get_bits8(&row->gb, ctx->buf + offset, ctx->buf_size - offset);
619 const uint8_t *buf = avpkt->data;
631 if ((ret = dnxhd_decode_header(ctx, picture, buf, buf_size, first_field)) < 0)
659 ctx->buf = buf + ctx->data_offset;
663 buf += ctx->cid_table->coding_unit_size;