45 const uint32_t *
src = (
const uint32_t *)avpkt->
data;
49 int r10 = (avctx->
codec_tag & 0xFFFFFF) ==
MKTAG(
'r',
'1',
'0', 0);
54 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;
81 b = (pixel << 4) & 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;
98 #if CONFIG_R210_DECODER
109 #if CONFIG_R10K_DECODER
120 #if CONFIG_AVRP_DECODER