Video Compression

VideoNerd

Note: DPB is sampled and updated at Tr(n) times, sampling at another times is pointless.

For each arriving frame #N Do

 //******* marking process – to mark frame(s) “unused for reference”  ************
If the decoded frame is IDR then mark all frames in DPB as unused-for-reference
{

       if no_output_of_prior_pics_flag (signaled only with IDR slice header) is equal to 1 then the whole DPB is emptied (all frames are removed).

        // Of course, for the very first IDR the flag no_output_of_prior_pics_flag has no effect.
}
else // non-idr
{
        if memory_management_control_operation present in the slice header of the current picture and equal to memory_management_control_operation=5 then

        {
all frames in DPB marked as unused-for-reference and removed   // in such case current frame must be non-IDR I-picture

       }
    else
{
loop over frames in DPB and mark frame(s) as unused-for-reference (according to sliding windows or memory_management_control_operation)
}
}

 //****** Storing process *******
1) When the current picture #N is specified as “unused-for-reference” (i.e. ref_idc=0 in NAL header) and  Tdpb(N) > Tr(N), the current picture #N is stored in DPB (and to be removed lately).
otherwise the current frame is removed ( see the Removal Process section below)

 2) When the current picture #N is specified as “reference picture” (i.e. ref_idc!=0),  it’s stored in DPB regardless Tdpb(N).

  

     //**** Removal process *********

   Loop over all frames in DPB
           if k-th frame in DBP is marked as “unused-for-reference” and Tdpb(k) <= Tr(N) then remove the k-th frame from DPB

   

13 Responses

  1. Thanks for sharing excellent informations. Your website is very cool. I am impressed by the details that you¦ve on this website. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for more articles. You, my pal, ROCK! I found simply the info I already searched all over the place and simply couldn’t come across. What a great web-site.

  2. I will right away take hold of your rss feed as I can not find your e-mail subscription link or e-newsletter service. Do you have any? Please let me recognize so that I may subscribe. Thanks.

  3. I just could not depart your website prior to suggesting that I really enjoyed the standard info a person provide for your visitors? Is going to be back often in order to check up on new posts

  4. I like what you guys are up also. Such intelligent work and reporting! Carry on the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my web site 🙂

  5. Terrific work! This is the type of information that should be shared around the internet. Shame on Google for not positioning this post higher! Come on over and visit my web site . Thanks =)

Leave a Reply

Your email address will not be published. Required fields are marked *