56 case MKTAG(
'U',
'L',
'H',
'0'):
61 case MKTAG(
'U',
'L',
'H',
'2'):
67 case MKTAG(
'U',
'L',
'Y',
'0'):
71 case MKTAG(
'U',
'L',
'Y',
'2'):
75 case MKTAG(
'U',
'L',
'R',
'G'):
79 case MKTAG(
'U',
'L',
'R',
'A'):
85 "Not a Ut Video FOURCC: %X\n", avctx->
codec_tag);
114 utv->
codec = CCodec::CreateInstance(UNFCC(avctx->
codec_tag),
"libavcodec");
121 if (begin_ret != 0) {
123 "Could not initialize decoder: %d\n", begin_ret);
148 pic->linesize[0] = w;
149 pic->linesize[1] = pic->linesize[2] = w / 2;
150 pic->data[0] = utv->
buffer;
151 pic->data[2] = utv->
buffer + (w * h);
152 pic->data[1] = pic->data[2] + (w * h / 4);
155 pic->linesize[0] = w * 2;
156 pic->data[0] = utv->
buffer;
181 utv->
codec->DecodeEnd();
182 CCodec::DeleteInstance(utv->
codec);