Lines Matching defs:bytes
85 int bytes;
118 ea->bytes = 2;
276 ea->bytes = avio_r8(pb); /* 1=8-bit, 2=16-bit */
283 switch (ea->bytes) {
294 ea->bytes = 1;
312 ea->bytes = avio_rl32(pb); /* 1=8-bit, 2=16-bit */
540 if (ea->bytes <= 0 || ea->bytes > 2) {
542 "Invalid number of bytes per sample: %d\n", ea->bytes);
556 st->codecpar->bits_per_coded_sample = ea->bytes * 8;
662 pkt->duration = chunk_size / (ea->bytes * ea->num_channels);