[M4IF Technotes] About VTC

loo yee loo_yee 263.net
Wed Mar 12 19:22:35 EST 2003


Hi,
    I have a puzzle in VTC of Microsoft MPEG-4 Visual Codec FDIS 1.02(990812).
    In \demo\readme, it says:"For object-based coding, a segmentation mask file must also be present with a .seg extension. This should contain binary mask or alpha-plane mask data, where a transparent pixel has value 0, and an opaque pixel is represented by 255".
    In source codes, there are five macro, 
    #define DWT_OUT0    0
    #define DWT_IN      1
    #define DWT_OUT1    2
    #define DWT_OUT2    3
    #define DWT_OUT3    4
    I think they are used for deciding the object segment with mask file. That's right?
    But I can not understand how to use these macro. In encoder, I cann't find any evaluation, such as "xxx = DWT_OUT0", but I find some judgement, such as "if( xxx == DWT_OUT0 )". Ohh, please tell me where I have a mistake. Could you tell me a right way?
Thank you for your attention!
Yi Lu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20030312/ea93996f/attachment.html


More information about the Mp4-tech mailing list