A system and method for encoding and decoding video data. A predicted residual signal of a target color component is determined as a function of one or more linear parameters of a linear model and of a residual signal of a source color component. A residual signal of the target color component is determined as a function of a remaining residual signal of the target color component and of the predicted residual signal of the target color component.