Tremendous efforts have been made to reduce the cycles per macroblock for intra prediction and transform function blocks for H.264/AVC encoders. We propose a high performance intra prediction and transform logic that can be used for all prediction cases, even when considering the interface with inter prediction results; the overall performance of the encoder is therefore ensured for real-time operation for UHD images.