Commit 96711ecf authored by Michael Niedermayer's avatar Michael Niedermayer

const src for bswap

Originally committed as revision 11732 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2ec38612
......@@ -214,7 +214,7 @@ static int pix_norm1_c(uint8_t * pix, int line_size)
return s;
}
static void bswap_buf(uint32_t *dst, uint32_t *src, int w){
static void bswap_buf(uint32_t *dst, const uint32_t *src, int w){
int i;
for(i=0; i+8<=w; i+=8){
......
......@@ -310,7 +310,7 @@ typedef struct DSPContext {
* note, this might read from src1[-1], src2[-1]
*/
void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top);
void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w);
void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w);
void (*h264_v_loop_filter_luma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0);
void (*h264_h_loop_filter_luma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0);
......
......@@ -374,7 +374,7 @@ static void avg_pixels8_xy2_mlib(uint8_t * dest, const uint8_t * ref,
/* swap byte order of a buffer */
static void bswap_buf_mlib(uint32_t *dst, uint32_t *src, int w)
static void bswap_buf_mlib(uint32_t *dst, const uint32_t *src, int w)
{
mlib_VectorReverseByteOrder_U32_U32(dst, src, w);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment