diff mpegvideo_xvmc.c @ 8855:6ce8ebfc9d86 libavcodec

use ff_xvmc for function names instead of XVMC_
author iive
date Sat, 14 Feb 2009 18:25:41 +0000
parents aee8c48ff4b0
children e5cf06287032
line wrap: on
line diff
--- a/mpegvideo_xvmc.c	Sat Feb 14 18:15:59 2009 +0000
+++ b/mpegvideo_xvmc.c	Sat Feb 14 18:25:41 2009 +0000
@@ -36,7 +36,7 @@
 #include "xvmc.h"
 
 //set s->block
-void XVMC_init_block(MpegEncContext *s)
+void ff_xvmc_init_block(MpegEncContext *s)
 {
     struct xvmc_render_state * render;
     render = (struct xvmc_render_state*)s->current_picture.data[2];
@@ -48,7 +48,7 @@
     s->block = (DCTELEM *)(render->data_blocks+(render->next_free_data_block_num)*64);
 }
 
-void XVMC_pack_pblocks(MpegEncContext *s, int cbp)
+void ff_xvmc_pack_pblocks(MpegEncContext *s, int cbp)
 {
     int i,j;
     const int mb_block_count = 4 + (1 << s->chroma_format);
@@ -67,7 +67,7 @@
 
 //These functions should be called on every new field and/or frame.
 //They should be safe if they are called a few times for the same field!
-int XVMC_field_start(MpegEncContext*s, AVCodecContext *avctx)
+int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
 {
     struct xvmc_render_state * render, * last, * next;
 
@@ -112,7 +112,7 @@
 return -1;
 }
 
-void XVMC_field_end(MpegEncContext *s)
+void ff_xvmc_field_end(MpegEncContext *s)
 {
     struct xvmc_render_state * render;
     render = (struct xvmc_render_state*)s->current_picture.data[2];
@@ -122,7 +122,7 @@
         ff_draw_horiz_band(s,0,0);
 }
 
-void XVMC_decode_mb(MpegEncContext *s)
+void ff_xvmc_decode_mb(MpegEncContext *s)
 {
     XvMCMacroBlock * mv_block;
     struct xvmc_render_state * render;