38 const AVFrame *pic,
int *got_packet)
43 int pad = (aligned_width - avctx->
width) * 4;
53 src_line = pic->
data[0];
56 for (i = 0; i < avctx->
height; i++) {
57 uint16_t *src = (uint16_t *)src_line;
58 for (j = 0; j < avctx->
width; j++) {
60 uint16_t
r = *src++ >> 6;
61 uint16_t
g = *src++ >> 6;
62 uint16_t
b = *src++ >> 4;
64 pixel = (r << 20) | (g << 10) | b >> 2;
66 pixel = (r << 22) | (g << 12) |
b;
68 bytestream_put_le32(&dst, pixel);
70 bytestream_put_be32(&dst, pixel);
89 #if CONFIG_R210_ENCODER
101 #if CONFIG_R10K_ENCODER
113 #if CONFIG_AVRP_ENCODER