1. A video codec configured to: obtain a current block and a plurality of neighboring pixels, wherein the current block comprises a first partition and a second partition, wherein the first partition comprises at least top-right, top-left, and bottom-left corner pixels of the current block, wherein the second partition comprises at least one pixel in a top row of the current block, and wherein one of two pixels, located at the middle of a bottom row of an upper neighboring block with respect to the current block, is selected as a reference pixel; select one or more reference pixels from the plurality of neighboring pixels; and predict a plurality of pixels located in the second partition based on the reference pixels.