Lines Matching defs:nplanes
60 * @param nplanes number of planes in input buffer
62 * @bug will not work for nplanes != 1 && bpp != 8
65 const uint8_t *src, int src_plane_size, int nplanes)
71 if (dst_size < 2LL * src_plane_size * nplanes || src_plane_size <= 0)
74 for (p = 0; p < nplanes; p++) {
77 const uint8_t *src_plane_end = src_plane + src_plane_size * nplanes;
79 src_plane += nplanes;
81 for (; ; src_plane += nplanes) {
110 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh;
123 nplanes = 3;
131 nplanes = 1;
137 nplanes = 1;
142 nplanes = 1;
153 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0);
177 bytestream_put_byte(&buf, nplanes); // number of planes
187 src, line_bytes, nplanes)) < 0) {
195 if (nplanes == 1 && bpp == 8) {