Merge "Inter-frame non-RD mode decision"