From: ChengHsin H. <ch...@cs...> - 2012-03-31 11:28:01
|
Greetings, I like to thank all the developers for their contributions toward this wonderful software. I'm reading some of the opensvc code, in particular, I like to understand how does DisplayOrderSVC() work. I'm not following the if-clause quoted below. Why do we want to check if nb_img_display - num_free_poc_address >= nb_img_display? //Detect if we have waited enough decoded frame except for the first frame. if (Nal -> DqIdMax == Nal -> DqId && ((Mmo -> nb_img_display - Mmo -> num_free_poc_address >= Mmo -> nb_img_display) || (!Mmo -> LayerMMO [0] . num_decoded_frame))){ SearchFrameToDisplay(Nal, Mmo, x_size, y_size, Crop, ImgToDisplay, address_pic); }else{ ....... } Also, I'm guessing nb_img_display is the number of frames in the current GoP. Am I right? Any hints are highly appreciated. Best regards, Chenghsin |