aboutsummaryrefslogtreecommitdiff
path: root/common/svc/isvc_mem_fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/svc/isvc_mem_fns.c')
-rw-r--r--common/svc/isvc_mem_fns.c158
1 files changed, 0 insertions, 158 deletions
diff --git a/common/svc/isvc_mem_fns.c b/common/svc/isvc_mem_fns.c
index 345715a..35a4c66 100644
--- a/common/svc/isvc_mem_fns.c
+++ b/common/svc/isvc_mem_fns.c
@@ -124,164 +124,6 @@ void isvc_memset_2d(UWORD8 *pu1_dst, WORD32 i4_dst_stride, UWORD8 u1_val, WORD32
*******************************************************************************
*
* @brief
- * Function for copying to an interleaved destination
- *
- * @par Description:
- * Copies the array of width 'wd' and height 'ht' from the location pointed
- * by 'src' to the location pointed by 'dst'
- *
- * @param[in] pu1_src
- * UWORD8 pointer to the source
- *
- * @param[out] pu1_dst
- * UWORD8 pointer to the destination
- *
- * @param[in] src_strd
- * integer source stride
- *
- * @param[in] dst_strd
- * integer destination stride
- *
- * @param[in] ht
- * integer height of the array
- *
- * @param[in] wd
- * integer width of the array
- *
- * @returns
- *
- * @remarks
- * The alternate elements of src will be copied to alternate locations in dsr
- * Other locations are not touched
- *
- *******************************************************************************
- */
-void isvc_interleaved_copy(UWORD8 *pu1_src, UWORD8 *pu1_dst, WORD32 src_strd, WORD32 dst_strd,
- WORD32 ht, WORD32 wd)
-{
- WORD32 row, col;
- wd *= 2;
-
- for(row = 0; row < ht; row++)
- {
- for(col = 0; col < wd; col += 2)
- {
- pu1_dst[col] = pu1_src[col];
- }
-
- pu1_src += src_strd;
- pu1_dst += dst_strd;
- }
-}
-
-/**
- *******************************************************************************
- *
- * @brief
- * Function for copying to an interleaved destination
- *
- * @par Description:
- * Copies the array of width 'wd' and height 'ht' from the location pointed
- * by 'src' to the location pointed by 'dst'
- *
- * @param[in] pu1_src
- * UWORD8 pointer to the source
- *
- * @param[out] pu1_dst
- * UWORD8 pointer to the destination
- *
- * @param[in] src_strd
- * integer source stride
- *
- * @param[in] dst_strd
- * integer destination stride
- *
- * @param[in] ht
- * integer height of the array
- *
- * @param[in] wd
- * integer width of the array
- *
- * @returns
- *
- * @remarks
- * The alternate elements of src will be copied to alternate locations in dsr
- * Other locations are not touched
- *
- *******************************************************************************
- */
-void isvc_16bit_interleaved_copy(WORD16 *pi2_src, WORD16 *pi2_dst, WORD32 src_strd, WORD32 dst_strd,
- WORD32 ht, WORD32 wd)
-{
- WORD32 row, col;
- wd *= 2;
-
- for(row = 0; row < ht; row++)
- {
- for(col = 0; col < wd; col += 2)
- {
- pi2_dst[col] = pi2_src[col];
- }
-
- pi2_src += src_strd;
- pi2_dst += dst_strd;
- }
-}
-
-/**
- *******************************************************************************
- *
- * @brief
- * Function for memsetting to an interleaved destination
- *
- * @par Description:
- * Memsets the array of width 'wd' and height 'ht' pointed by 'src'
- *
- * @param[in] pu1_src
- * UWORD8 pointer to the source
- *
- * @param[in] src_strd
- * integer source stride
- *
- * @param[in] value
- * Value to set
- *
- * @param[in] ht
- * integer height of the array
- *
- * @param[in] wd
- * integer width of the array
- *
- * @returns
- *
- * @remarks
- * The alternate elements of src will be copied to alternate locations in dsr
- * Other locations are not touched
- *
- *******************************************************************************
- */
-void isvc_16bit_interleaved_memset(WORD16 *pi2_src, WORD32 i4_src_strd, WORD16 i2_value,
- WORD32 i4_wd, WORD32 i4_ht)
-{
- WORD32 row, col;
-
- i4_wd *= 2;
-
- for(row = 0; row < i4_ht; row++)
- {
- for(col = 0; col < i4_wd; col += 2)
- {
- pi2_src[col] = i2_value;
- }
-
- pi2_src += i4_src_strd;
- }
-}
-
-/**
- *******************************************************************************
- *
- * @brief
* Checks if any pixel in a block is non-zero
*
* @param[in] pu1_data