From: jf w <jfw...@gm...> - 2011-03-09 02:57:51
|
Dear Mederic, Thank you for your reply. I'll still confused about the function UpdateReferenceListAddress. 1. Can you explain why the condition of invoking UpdateReferenceListAddress is as follows: if ((Nal -> DqId != Nal -> DqIdToDisplay) && ((Nal -> DqId >> 4) == (Nal -> DqIdToDisplay >> 4))) (SliceHeaderExtension.c line:157) 2. UpdateReferenceListAddress is to replace some picture in RefPicListLx with the picture, which has the same poc, in displayLayer (dqID=Nal -> DqIdToDisplay). Why is the base layer picture stored in displayLayer. I think the base layer's dqId should be Nal->DqidToDisplay>>4<<4. Thank you very much. 2011/3/8 Médéric Blestel <Med...@in...> > Dear jfwang, > > I know that the decoder has got problems with MGS decoding process. > > Reference lists are created and stored into fill_default_ref_list function > as you said. > These lists are updated in UpdateReferenceListAddress > (SliceHeaderExtension.c, line 162) function in order to change the memory > address with those of the layer which is displayed. > > As you said, when use_ref_base_pic_flag = 1, base layer picture should be > used as reference frmaes. So the list should not be updated in order to use > the base layer as reference. > Maybe, it can be corrected just by testing if use_ref_base_pic_flag is > different of 1. > > Kind regards, > Médéric > > Le 08/03/2011 16:12, jf w a écrit : > > Hi all, > > The performance of opensvcdecoder is very good. But when I decode some > video, there are some distortion. So I'm trying to understand the code of > opensvcdecoder. However, I encounter some problems. > > I think the function fill_default_ref_list in Pic_list.c is to construct > refPicLXl0 and refPicLXl1. But I don't find the code about the scenario > with use_ref_base_pic_flag=1. When use_ref_base_pic_flag =1, the refPicLXl0 > and refPicLXl1 should use the reference base picture when it is available. > > Is the scenario handled by other code? Any suggestion is helpful. > > -- > Thanks, > jfwang > BUAA > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > > > _______________________________________________ > Opensvcdecoder-support mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support > > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Opensvcdecoder-support mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support > > -- Thanks, jianfei BUAA |