Opened 13 years ago Closed 13 years ago #257 closed defect (fixed)Null Pointer check missing
Description
The line:
The scenario occurs for sliceMode=1. Attachments (1)Change History (9)comment:1 Changed 13 years ago by DefaultCC Plugin
Changed 13 years ago by csghonecomment:2 Changed 13 years ago by geertv
See ticket #256 for suggested patch. comment:3 Changed 13 years ago by geertv
After patch from ticket #256 is applied, the encoder crashes at this point:
Assertion failed: pcSlice->getMaxNumMergeCand()<=MRG_MAX_NUM_CANDS_SIGNALED, fil comment:4 Changed 13 years ago by ksuehring
Did you have a look at #258? This seems to be related. comment:5 Changed 13 years ago by ksuehring
comment:6 Changed 13 years ago by geertv
In addition to the NULL pointer patch which was provided to fix ticket #256, it may be also good to change the getPULeft and getPUAbove function arguments within the DBF_DQP macro as below (see SLICEBOUNDARY_PATCH macro, which is to be applied to functions TComLoopFilter::xEdgeFilterLuma and TComLoopFilter::xEdgeFilterChroma). This makes the usage of getPULeft and getPUAbove functions similar as in functions TComLoopFilter::xGetBoundaryStrengthSingle and TComLoopFilter::xSetLoopfilterParam. #if DBF_DQP iQP_Q = pcCU->getQP( uiBsAbsIdx ); uiPartQIdx = uiBsAbsIdx; // Derive neighboring PU index #if SLICEBOUNDARY_PATCH if (iDir == EDGE_VER) { pcCUP = pcCUQ->getPULeft (uiPartPIdx, uiPartQIdx, !pcCU->getSlice()->getSPS()->getLFCrossSliceBoundaryFlag(), false); } else // (iDir == EDGE_HOR) { pcCUP = pcCUQ->getPUAbove(uiPartPIdx, uiPartQIdx, !pcCU->getSlice()->getSPS()->getLFCrossSliceBoundaryFlag(), false); } #else if (iDir == EDGE_VER) { pcCUP = pcCUQ->getPULeft (uiPartPIdx, uiPartQIdx); } else // (iDir == EDGE_HOR) { pcCUP = pcCUQ->getPUAbove(uiPartPIdx, uiPartQIdx); } #endif #if TILEBOUNDARYINDEPENDENCE_PATCH if (!pcCUP) { return; } #endif iQP_P = pcCUP->getQP(uiPartPIdx); if(pcCU->getIPCMFlag(uiPartQIdx)) { iQP_Q = 0; } if(pcCUP->getIPCMFlag(uiPartPIdx)) { iQP_P = 0; } iQP = (iQP_P + iQP_Q + 1) >> 1; #endif comment:7 Changed 13 years ago by davidf
comment:8 Changed 13 years ago by ksuehring
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
|
Crash Configuration