Opened 11 years ago Closed 10 years ago #1282 closed defect (fixed)Frame level PSNR function for fields
Description
Function: xCalculateInterlacedAddPSNR
Issue:
Test case:
Some condition should be added based on "IRAPtoReorder" flag Attachments (2)Change History (8)comment:1 Changed 11 years ago by DefaultCC Plugin
Changed 11 years ago by barrouxgcomment:2 Changed 11 years ago by barrouxg
I added a patch taking in account the IRAPtoReorder to only call IRAPtoReorder at the right time. I tested it over few different configurations (LD / RA field mode and frame mode) and it seems to work. comment:3 Changed 11 years ago by ksuehring
comment:4 Changed 10 years ago by barrouxg
My ticket_1282.patch was only good when using a configuration file that would not invert the first top and bottom fields of a GOP. It was relying on the wrong assumption that the field swapping would only be done through the code associated to the EFFICIENT_FIELD_IRAP parameter.
The problem here is that when our encoder gets a field, it does not know whether the corresponding top or bottom field has already been encoded as well.
I added some code on the GOP level so that we can always check which picture has been encoded or not within the encoded GOP. This way our encoder can now scan through the GOP and look for the corresponding field to the one that is being encoded. If the corresponding field has been encoded then the encoder proceeds to the computation of the frame level PSNR values. comment:5 Changed 10 years ago by ksuehring
comment:6 Changed 10 years ago by ksuehring
the patch has been applied in r4130 Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
patch to solve the problem of frame equivalent PSNR computation being performed at the wrong moment in field mode