A video coding device generates first and second components of a current picture. Additionally, the video coding device determines a first parameter and a second parameter. The first and second parameters are each based on a value of a current sample in the first component. The video coding device applies a cross-component filter to the current sample, thereby determining a filtered value of the current sample based on the first parameter, the second parameter, and one or more cross-component samples. Each of the one or more cross-component samples is in the second component.