comparison dsputil.c @ 11784:eaf3ffb5df56 libavcodec

Add const to ff_emulated_edge_mc
author conrad
date Thu, 27 May 2010 04:39:27 +0000
parents f97b1759c39a
children f2007d7c3f1d
comparison
equal deleted inserted replaced
11783:f97b1759c39a 11784:eaf3ffb5df56
367 * @param src_x x coordinate of the top left sample of the block in the source buffer 367 * @param src_x x coordinate of the top left sample of the block in the source buffer
368 * @param src_y y coordinate of the top left sample of the block in the source buffer 368 * @param src_y y coordinate of the top left sample of the block in the source buffer
369 * @param w width of the source buffer 369 * @param w width of the source buffer
370 * @param h height of the source buffer 370 * @param h height of the source buffer
371 */ 371 */
372 void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h, 372 void ff_emulated_edge_mc(uint8_t *buf, const uint8_t *src, int linesize, int block_w, int block_h,
373 int src_x, int src_y, int w, int h){ 373 int src_x, int src_y, int w, int h){
374 int x, y; 374 int x, y;
375 int start_y, start_x, end_y, end_x; 375 int start_y, start_x, end_y, end_x;
376 376
377 if(src_y>= h){ 377 if(src_y>= h){