Lines Matching defs:gbc
318 GetByteContext gbc;
325 bytestream2_init(&gbc, data + size, 1024);
326 ctx->width = bytestream2_get_le32(&gbc);
327 ctx->height = bytestream2_get_le32(&gbc);
328 ctx->bit_rate = bytestream2_get_le64(&gbc);
329 ctx->bits_per_coded_sample = bytestream2_get_le32(&gbc);
331 flags = bytestream2_get_byte(&gbc);
349 extradata_size = bytestream2_get_le32(&gbc);
351 ctx->sample_rate = bytestream2_get_le32(&gbc) & 0x7FFFFFFF;
352 ctx->ch_layout.nb_channels = (unsigned)bytestream2_get_le32(&gbc) % FF_SANE_NB_CHANNELS;
353 ctx->block_align = bytestream2_get_le32(&gbc) & 0x7FFFFFFF;
354 ctx->codec_tag = bytestream2_get_le32(&gbc);
360 keyframes = bytestream2_get_le64(&gbc);
361 request_channel_layout = bytestream2_get_le64(&gbc);
363 ctx->idct_algo = bytestream2_get_byte(&gbc) % 25;
364 flushpattern = bytestream2_get_le64(&gbc);
365 ctx->skip_frame = bytestream2_get_byte(&gbc) - 254 + AVDISCARD_ALL;
372 av_dict_set_int(&opts, "cons_noisegen", bytestream2_get_byte(&gbc) & 1, 0);
373 av_dict_set_int(&opts, "heavy_compr", bytestream2_get_byte(&gbc) & 1, 0);
374 av_dict_set_int(&opts, "target_level", (int)(bytestream2_get_byte(&gbc) % 32) - 31, 0);
375 av_dict_set_int(&opts, "dmix_mode", (int)(bytestream2_get_byte(&gbc) % 4) - 1, 0);
405 flags64 = bytestream2_get_le64(&gbc);