Index: source/libvpx/vp8/encoder/ethreading.c |
diff --git a/source/libvpx/vp8/encoder/ethreading.c b/source/libvpx/vp8/encoder/ethreading.c |
index a6b30a6bcafa43aa6665f0ab89bf40236daf0f3d..977b0b0321e09c2b48e300cf3f4d276cd5dbad47 100644 |
--- a/source/libvpx/vp8/encoder/ethreading.c |
+++ b/source/libvpx/vp8/encoder/ethreading.c |
@@ -416,14 +416,13 @@ static void setup_mbby_copy(MACROBLOCK *mbdst, MACROBLOCK *mbsrc) |
zd->subpixel_predict16x16 = xd->subpixel_predict16x16; |
zd->segmentation_enabled = xd->segmentation_enabled; |
zd->mb_segement_abs_delta = xd->mb_segement_abs_delta; |
- vpx_memcpy(zd->segment_feature_data, xd->segment_feature_data, |
- sizeof(xd->segment_feature_data)); |
+ memcpy(zd->segment_feature_data, xd->segment_feature_data, |
+ sizeof(xd->segment_feature_data)); |
- vpx_memcpy(zd->dequant_y1_dc, xd->dequant_y1_dc, |
- sizeof(xd->dequant_y1_dc)); |
- vpx_memcpy(zd->dequant_y1, xd->dequant_y1, sizeof(xd->dequant_y1)); |
- vpx_memcpy(zd->dequant_y2, xd->dequant_y2, sizeof(xd->dequant_y2)); |
- vpx_memcpy(zd->dequant_uv, xd->dequant_uv, sizeof(xd->dequant_uv)); |
+ memcpy(zd->dequant_y1_dc, xd->dequant_y1_dc, sizeof(xd->dequant_y1_dc)); |
+ memcpy(zd->dequant_y1, xd->dequant_y1, sizeof(xd->dequant_y1)); |
+ memcpy(zd->dequant_y2, xd->dequant_y2, sizeof(xd->dequant_y2)); |
+ memcpy(zd->dequant_uv, xd->dequant_uv, sizeof(xd->dequant_uv)); |
#if 1 |
/*TODO: Remove dequant from BLOCKD. This is a temporary solution until |
@@ -438,15 +437,14 @@ static void setup_mbby_copy(MACROBLOCK *mbdst, MACROBLOCK *mbsrc) |
#endif |
- vpx_memcpy(z->rd_threshes, x->rd_threshes, sizeof(x->rd_threshes)); |
- vpx_memcpy(z->rd_thresh_mult, x->rd_thresh_mult, |
- sizeof(x->rd_thresh_mult)); |
+ memcpy(z->rd_threshes, x->rd_threshes, sizeof(x->rd_threshes)); |
+ memcpy(z->rd_thresh_mult, x->rd_thresh_mult, sizeof(x->rd_thresh_mult)); |
z->zbin_over_quant = x->zbin_over_quant; |
z->zbin_mode_boost_enabled = x->zbin_mode_boost_enabled; |
z->zbin_mode_boost = x->zbin_mode_boost; |
- vpx_memset(z->error_bins, 0, sizeof(z->error_bins)); |
+ memset(z->error_bins, 0, sizeof(z->error_bins)); |
} |
} |
@@ -472,7 +470,7 @@ void vp8cx_init_mbrthread_data(VP8_COMP *cpi, |
mbd->subpixel_predict16x16 = xd->subpixel_predict16x16; |
mb->gf_active_ptr = x->gf_active_ptr; |
- vpx_memset(mbr_ei[i].segment_counts, 0, sizeof(mbr_ei[i].segment_counts)); |
+ memset(mbr_ei[i].segment_counts, 0, sizeof(mbr_ei[i].segment_counts)); |
mbr_ei[i].totalrate = 0; |
mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); |
@@ -547,7 +545,7 @@ int vp8cx_create_encoder_threads(VP8_COMP *cpi) |
vpx_malloc(sizeof(sem_t) * th_count)); |
CHECK_MEM_ERROR(cpi->mb_row_ei, |
vpx_memalign(32, sizeof(MB_ROW_COMP) * th_count)); |
- vpx_memset(cpi->mb_row_ei, 0, sizeof(MB_ROW_COMP) * th_count); |
+ memset(cpi->mb_row_ei, 0, sizeof(MB_ROW_COMP) * th_count); |
CHECK_MEM_ERROR(cpi->en_thread_data, |
vpx_malloc(sizeof(ENCODETHREAD_DATA) * th_count)); |