Direct current mode is one of the primary prediction modes for intra coding. In the coding standard, it has not concerned the spatial correlations between neighboring pixels, which limits its coding performance. To address this problem, an improved prediction method is proposed in this paper. In the prediction scheme, prediction pixel uses its available neighbor samples and its value is set to be the mean of the references. The reference samples are not only from other encoder blocks but also pixels predicted in current block. Experimental results demonstrate that the proposed method advances in both coding performance and coding efficiency, compared with the existing method.