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) {
84 int aligned_width = ((avctx->
width + 47) / 48) * 48;
85 stride = aligned_width * 8 / 3;
89 if ((((avctx->
width + 23) / 24) * 24 * 8) / 3 * avctx->
height == avpkt->
size) {
100 aligned_input = !((uintptr_t)psrc & 0xf) && !(stride & 0xf);
110 y = (uint16_t*)pic->
data[0];
111 u = (uint16_t*)pic->
data[1];
112 v = (uint16_t*)pic->
data[2];
117 const uint32_t *
src = (
const uint32_t*)psrc;
120 w = (avctx->
width / 6) * 6;
128 if (w < avctx->
width - 1) {
133 if (w < avctx->
width - 3) {
134 *u++ = (val >> 10) & 0x3FF;
135 *y++ = (val >> 20) & 0x3FF;
139 *y++ = (val >> 10) & 0x3FF;
154 #define V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM