Lines Matching refs:channel_depth
53 uint16_t channel_depth;
121 s->channel_depth = bytestream2_get_be16(&s->gb);
305 s->channel_depth = 0;
314 s->pixel_size = s->channel_depth >> 3;/* in byte */
319 if (s->channel_depth != 1 || s->channel_count != 1) {
321 "Invalid bitmap file (channel_depth %d, channel_count %d)\n",
322 s->channel_depth, s->channel_count);
329 if (s->channel_depth != 8 || s->channel_count != 1) {
331 "Invalid indexed file (channel_depth %d, channel_count %d)\n",
332 s->channel_depth, s->channel_count);
339 if (s->channel_depth == 8) {
341 } else if (s->channel_depth == 16) {
344 avpriv_report_missing_feature(avctx, "channel depth %d for cmyk", s->channel_depth);
348 if (s->channel_depth == 8) {
350 } else if (s->channel_depth == 16) {
353 avpriv_report_missing_feature(avctx, "channel depth %d for cmyk", s->channel_depth);
363 if (s->channel_depth == 8) {
365 } else if (s->channel_depth == 16) {
368 avpriv_report_missing_feature(avctx, "channel depth %d for rgb", s->channel_depth);
372 if (s->channel_depth == 8) {
374 } else if (s->channel_depth == 16) {
377 avpriv_report_missing_feature(avctx, "channel depth %d for rgb", s->channel_depth);
389 if (s->channel_depth == 8) {
391 } else if (s->channel_depth == 16) {
393 } else if (s->channel_depth == 32) {
396 avpriv_report_missing_feature(avctx, "channel depth %d for grayscale", s->channel_depth);
400 if (s->channel_depth == 8) {
402 } else if (s->channel_depth == 16) {
405 avpriv_report_missing_feature(avctx, "channel depth %d for grayscale", s->channel_depth);
466 if (s->channel_depth == 8) {