comparison dv.c @ 9626:bd3e11b60ccd libavcodec

Add a chroma_sample_location field to define positioning of chroma samples
author conrad
date Mon, 11 May 2009 04:34:23 +0000
parents 0dce4fe6e6f3
children e52891e48ceb
comparison
equal deleted inserted replaced
9625:7c4ab94a82d8 9626:bd3e11b60ccd
391 }else 391 }else
392 memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64); 392 memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64);
393 393
394 avctx->coded_frame = &s->picture; 394 avctx->coded_frame = &s->picture;
395 s->avctx = avctx; 395 s->avctx = avctx;
396 avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;
396 397
397 return 0; 398 return 0;
398 } 399 }
399 400
400 // #define VLC_DEBUG 401 // #define VLC_DEBUG