Lines Matching refs:bytes_per_channel
102 unsigned int bytes_per_channel, pixmax, put_be;
106 bytes_per_channel = 1;
126 bytes_per_channel = 2;
134 bytes_per_channel = 2;
142 bytes_per_channel = 2;
158 if ((ret = ff_alloc_packet(avctx, pkt, bytes_per_channel * length)) < 0)
166 bytestream2_put_byte(&pbc, bytes_per_channel);
199 if (!(encode_buf = av_malloc(width * bytes_per_channel)))
203 in_buf = p->data[0] + p->linesize[0] * (height - 1) + z * bytes_per_channel;
208 for (x = 0; x < width * bytes_per_channel; x += bytes_per_channel)
209 if (bytes_per_channel == 1) {
220 bytes_per_channel);
234 in_buf = p->data[0] + p->linesize[0] * (height - 1) + z * bytes_per_channel;
238 if (bytes_per_channel == 1)