1. A video codec comprising: a processor configured to: generate a prediction block for a chroma block, wherein the prediction block comprises a predicted chroma sample, wherein the predicted chroma sample is based on: a first reconstructed luma sample located in a corresponding reconstructed luma block; a second reconstructed luma sample located in a neighboring block of the corresponding reconstructed luma block; and a look-up table, wherein a value of an index of the look-up table is based on the second reconstructed luma sample, wherein a number of the index of the look-up table is less than 63.