31 #define READ_PIXELS(a, b, c) \
33 val = av_le2ne32(*src++); \
35 *b++ = (val >> 10) & 0x3FF; \
36 *c++ = (val >> 20) & 0x3FF; \
44 for( i = 0; i < width-5; i += 6 ){
56 if (avctx->
width & 1) {
80 int h, w,
stride, aligned_input;
88 int aligned_width = ((avctx->
width + 47) / 48) * 48;
89 stride = aligned_width * 8 / 3;
93 if ((((avctx->
width + 23) / 24) * 24 * 8) / 3 * avctx->
height == avpkt->
size) {
104 aligned_input = !((uintptr_t)psrc & 0xf) && !(stride & 0xf);
118 y = (uint16_t*)pic->
data[0];
119 u = (uint16_t*)pic->
data[1];
120 v = (uint16_t*)pic->
data[2];
125 const uint32_t *src = (
const uint32_t*)psrc;
128 w = (avctx->
width / 6) * 6;
136 if (w < avctx->
width - 1) {
141 if (w < avctx->
width - 3) {
142 *u++ = (val >> 10) & 0x3FF;
143 *y++ = (val >> 20) & 0x3FF;
147 *y++ = (val >> 10) & 0x3FF;
173 #define V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM