chroma inter prediction refactoring