Lines Matching refs:plane
91 * Decode interleaved plane buffer up to 8bpp
96 * @param plane plane number to decode as
98 static void decodeplane8(uint8_t *dst, const uint8_t *const buf, int buf_size, int bps, int plane)
105 dst[i] |= get_bits1(&gb) << plane;
110 * Decode interleaved plane buffer up to 24bpp
115 * @param plane plane number to decode as
117 static void decodeplane32(uint32_t *dst, const uint8_t *const buf, int buf_size, int bps, int plane)
124 dst[i] |= get_bits1(&gb) << plane;
136 int y, plane;
147 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
148 decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
156 for (plane = 0; plane < avctx->bits_per_coded_sample && buf < buf_end; plane++) {
157 decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
176 int y, plane, x;
188 for (plane = 0; plane < avctx->bits_per_coded_sample; plane++) {
204 decodeplane8(row, s->planebuf, s->planesize, avctx->bits_per_coded_sample, plane);
211 for (plane = 0; plane < avctx->bits_per_coded_sample; plane++) {
227 decodeplane32((uint32_t *) row, s->planebuf, s->planesize, avctx->bits_per_coded_sample, plane);