diff options
author | Joseph Artsimovich <joseph@mirriad.com> | 2011-07-20 21:58:27 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-21 21:44:40 +0400 |
commit | 5ab21439fdfb8e239eb778128590d95967067b46 (patch) | |
tree | beb40a4c054dff651f6afa91649ab7882559f08e /libavcodec/x86 | |
parent | a617c6aaa3e6c0201c9ea31d319808273efd78b0 (diff) |
dnxhd: 10-bit support
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dnxhd_mmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/x86/dnxhd_mmx.c b/libavcodec/x86/dnxhd_mmx.c index f00ce9b188..e193d62e21 100644 --- a/libavcodec/x86/dnxhd_mmx.c +++ b/libavcodec/x86/dnxhd_mmx.c @@ -53,6 +53,7 @@ static void get_pixels_8x4_sym_sse2(DCTELEM *block, const uint8_t *pixels, int l void ff_dnxhd_init_mmx(DNXHDEncContext *ctx) { if (av_get_cpu_flags() & AV_CPU_FLAG_SSE2) { - ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2; + if (ctx->cid_table->bit_depth == 8) + ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2; } } |