+#elif BIT_DEPTH == 12
+# define put_h264_qpel8_mc00_12_c ff_put_pixels8x8_12_c
+# define avg_h264_qpel8_mc00_12_c ff_avg_pixels8x8_12_c
+# define put_h264_qpel16_mc00_12_c ff_put_pixels16x16_12_c
+# define avg_h264_qpel16_mc00_12_c ff_avg_pixels16x16_12_c
+#elif BIT_DEPTH == 14
+# define put_h264_qpel8_mc00_14_c ff_put_pixels8x8_14_c
+# define avg_h264_qpel8_mc00_14_c ff_avg_pixels8x8_14_c
+# define put_h264_qpel16_mc00_14_c ff_put_pixels16x16_14_c
+# define avg_h264_qpel16_mc00_14_c ff_avg_pixels16x16_14_c