[FFmpeg-cvslog] r16492 - in trunk/libavcodec: h264.c vdpau_internal.h vdpauvideo.c

cehoyos subversion
Thu Jan 8 00:48:32 CET 2009


Author: cehoyos
Date: Thu Jan  8 00:48:32 2009
New Revision: 16492

Log:
Rename ff_VDPAU as ff_vdpau.

Modified:
   trunk/libavcodec/h264.c
   trunk/libavcodec/vdpau_internal.h
   trunk/libavcodec/vdpauvideo.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Thu Jan  8 00:42:07 2009	(r16491)
+++ trunk/libavcodec/h264.c	Thu Jan  8 00:48:32 2009	(r16492)
@@ -7425,8 +7425,8 @@ static int decode_nal_units(H264Context 
                && avctx->skip_frame < AVDISCARD_ALL){
                 if(ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU){
                     static const uint8_t start_code[] = {0x00, 0x00, 0x01};
-                    ff_VDPAU_h264_add_data_chunk(h, start_code, sizeof(start_code));
-                    ff_VDPAU_h264_add_data_chunk(h, &buf[buf_index - consumed], consumed );
+                    ff_vdpau_h264_add_data_chunk(h, start_code, sizeof(start_code));
+                    ff_vdpau_h264_add_data_chunk(h, &buf[buf_index - consumed], consumed );
                 }else
                     context_count++;
             }
@@ -7633,7 +7633,7 @@ static int decode_frame(AVCodecContext *
         h->prev_frame_num= h->frame_num;
 
         if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU)
-            ff_VDPAU_h264_picture_complete(h);
+            ff_vdpau_h264_picture_complete(h);
 
         /*
          * FIXME: Error handling code does not seem to support interlaced

Modified: trunk/libavcodec/vdpau_internal.h
==============================================================================
--- trunk/libavcodec/vdpau_internal.h	Thu Jan  8 00:42:07 2009	(r16491)
+++ trunk/libavcodec/vdpau_internal.h	Thu Jan  8 00:48:32 2009	(r16492)
@@ -27,8 +27,8 @@
 #include <stdint.h>
 #include "h264.h"
 
-void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf,
+void ff_vdpau_h264_add_data_chunk(H264Context *h, const uint8_t *buf,
                                   int buf_size);
-void ff_VDPAU_h264_picture_complete(H264Context *h);
+void ff_vdpau_h264_picture_complete(H264Context *h);
 
 #endif /* AVCODEC_VDPAU_INTERNAL_H */

Modified: trunk/libavcodec/vdpauvideo.c
==============================================================================
--- trunk/libavcodec/vdpauvideo.c	Thu Jan  8 00:42:07 2009	(r16491)
+++ trunk/libavcodec/vdpauvideo.c	Thu Jan  8 00:48:32 2009	(r16492)
@@ -37,7 +37,7 @@
  * @{
  */
 
-static void VDPAU_h264_set_reference_frames(H264Context *h)
+static void vdpau_h264_set_reference_frames(H264Context *h)
 {
     MpegEncContext * s = &h->s;
     struct vdpau_render_state * render, * render_ref;
@@ -106,7 +106,7 @@ static void VDPAU_h264_set_reference_fra
     }
 }
 
-void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_size)
+void ff_vdpau_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_size)
 {
     MpegEncContext * s = &h->s;
     struct vdpau_render_state * render;
@@ -115,7 +115,7 @@ void ff_VDPAU_h264_add_data_chunk(H264Co
     assert(render);
 
     if (!render->bitstream_buffers_used)
-        VDPAU_h264_set_reference_frames(h);
+        vdpau_h264_set_reference_frames(h);
 
     render->bitstream_buffers= av_fast_realloc(
         render->bitstream_buffers,
@@ -129,7 +129,7 @@ void ff_VDPAU_h264_add_data_chunk(H264Co
     render->bitstream_buffers_used++;
 }
 
-void ff_VDPAU_h264_picture_complete(H264Context *h)
+void ff_vdpau_h264_picture_complete(H264Context *h)
 {
     MpegEncContext * s = &h->s;
     struct vdpau_render_state * render;




More information about the ffmpeg-cvslog mailing list