29 if (avctx->
width & 1) {
46 const uint8_t *psrc = avpkt->
data;
48 int aligned_width = ((avctx->
width + 47) / 48) * 48;
49 int stride = aligned_width * 8 / 3;
63 y = (uint16_t*)pic->
data[0];
64 u = (uint16_t*)pic->
data[1];
65 v = (uint16_t*)pic->
data[2];
73 *
b++ = (val >> 10) & 0x3FF; \
74 *c++ = (val >> 20) & 0x3FF; \
77 for (h = 0; h < avctx->
height; h++) {
78 const uint32_t *src = (
const uint32_t*)psrc;
80 for (w = 0; w < avctx->
width - 5; w += 6) {
86 if (w < avctx->
width - 1) {
92 if (w < avctx->
width - 3) {
93 *u++ = (val >> 10) & 0x3FF;
94 *y++ = (val >> 20) & 0x3FF;
98 *y++ = (val >> 10) & 0x3FF;