Revision 8dbe5856 libavcodec/arm/h264pred_init_arm.c
libavcodec/arm/h264pred_init_arm.c | ||
---|---|---|
42 | 42 |
void ff_pred8x8_l00_dc_neon(uint8_t *src, int stride); |
43 | 43 |
void ff_pred8x8_0l0_dc_neon(uint8_t *src, int stride); |
44 | 44 |
|
45 |
static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id) |
|
45 |
static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int bit_depth)
|
|
46 | 46 |
{ |
47 |
const int high_depth = bit_depth > 8; |
|
48 |
|
|
49 |
if (high_depth) |
|
50 |
return; |
|
51 |
|
|
47 | 52 |
h->pred8x8[VERT_PRED8x8 ] = ff_pred8x8_vert_neon; |
48 | 53 |
h->pred8x8[HOR_PRED8x8 ] = ff_pred8x8_hor_neon; |
49 | 54 |
if (codec_id != CODEC_ID_VP8) |
... | ... | |
69 | 74 |
h->pred16x16[PLANE_PRED8x8 ] = ff_pred16x16_plane_neon; |
70 | 75 |
} |
71 | 76 |
|
72 |
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id) |
|
77 |
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, bit_depth)
|
|
73 | 78 |
{ |
74 |
if (HAVE_NEON) ff_h264_pred_init_neon(h, codec_id); |
|
79 |
if (HAVE_NEON) ff_h264_pred_init_neon(h, codec_id, bit_depth);
|
|
75 | 80 |
} |
Also available in: Unified diff