Lines Matching defs:pixel
44 * @param pixelstride pixel stride of input buffer
50 unsigned char pixel, count;
57 pixel = bytestream2_get_byteu(&s->g);
58 if (!(count = (pixel & 0x7f))) {
64 av_log(s->avctx, AV_LOG_ERROR, "Invalid pixel count.\n");
68 if (pixel & 0x80) {
74 pixel = bytestream2_get_byte(&s->g);
77 *out_buf = pixel;
88 unsigned short pixel;
96 pixel = bytestream2_get_be16u(&s->g);
97 if (!(count = (pixel & 0x7f)))
102 av_log(s->avctx, AV_LOG_ERROR, "Invalid pixel count.\n");
106 if (pixel & 0x80) {
108 pixel = bytestream2_get_ne16(&s->g);
109 AV_WN16A(out_buf, pixel);
113 pixel = bytestream2_get_ne16(&s->g);
116 AV_WN16A(out_buf, pixel);