45 const uint32_t *src = (
const uint32_t *)avpkt->
data;
53 if (avpkt->
size < 4 * aligned_width * avctx->
height) {
64 dst_line = pic->
data[0];
66 for (h = 0; h < avctx->
height; h++) {
67 uint16_t *
dst = (uint16_t *)dst_line;
68 for (w = 0; w < avctx->
width; w++) {
78 g = (pixel >> 4) & 0xffc0;
79 r = (pixel >> 14) & 0xffc0;
82 g = (pixel >> 6) & 0xffc0;
83 r = (pixel >> 16) & 0xffc0;
85 *dst++ = r | (r >> 10);
86 *dst++ = g | (g >> 10);
87 *dst++ = b | (b >> 10);
89 src += aligned_width - avctx->
width;
109 #if CONFIG_R210_DECODER
121 #if CONFIG_R10K_DECODER
133 #if CONFIG_AVRP_DECODER