41 const uint32_t *
src = (
const uint32_t *)avpkt->
data;
46 if (avpkt->
size < 4 * aligned_width * avctx->
height) {
56 dst_line = pic->
data[0];
58 for (h = 0; h < avctx->
height; h++) {
59 uint16_t *dst = (uint16_t *)dst_line;
60 for (w = 0; w < avctx->
width; w++) {
70 g = (pixel >> 4) & 0xffc0;
71 r = (pixel >> 14) & 0xffc0;
74 g = (pixel >> 6) & 0xffc0;
75 r = (pixel >> 16) & 0xffc0;
77 *dst++ = r | (r >> 10);
78 *dst++ = g | (g >> 10);
79 *dst++ = b | (b >> 10);
81 src += aligned_width - avctx->
width;
90 #if CONFIG_R210_DECODER
101 #if CONFIG_R10K_DECODER
112 #if CONFIG_AVRP_DECODER