Mercurial > libavcodec.hg
changeset 8553:6ce9f5616a57 libavcodec
Rename bitstreamBuffers* as bitstream_buffers*
author | cehoyos |
---|---|
date | Wed, 07 Jan 2009 23:42:07 +0000 |
parents | d0e2e91f9fb5 |
children | 13d14e77e91a |
files | vdpau.h vdpauvideo.c |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/vdpau.h Wed Jan 07 23:38:54 2009 +0000 +++ b/vdpau.h Wed Jan 07 23:42:07 2009 +0000 @@ -74,9 +74,9 @@ } info; /** Describe size/location of the compressed video data. */ - int bitstreamBuffersAllocated; - int bitstreamBuffersUsed; - VdpBitstreamBuffer *bitstreamBuffers; + int bitstream_buffers_allocated; + int bitstream_buffers_used; + VdpBitstreamBuffer *bitstream_buffers; }; /* @}*/
--- a/vdpauvideo.c Wed Jan 07 23:38:54 2009 +0000 +++ b/vdpauvideo.c Wed Jan 07 23:42:07 2009 +0000 @@ -114,19 +114,19 @@ render = (struct vdpau_render_state*)s->current_picture_ptr->data[0]; assert(render); - if (!render->bitstreamBuffersUsed) + if (!render->bitstream_buffers_used) VDPAU_h264_set_reference_frames(h); - render->bitstreamBuffers= av_fast_realloc( - render->bitstreamBuffers, - &render->bitstreamBuffersAllocated, - sizeof(*render->bitstreamBuffers)*(render->bitstreamBuffersUsed + 1) + render->bitstream_buffers= av_fast_realloc( + render->bitstream_buffers, + &render->bitstream_buffers_allocated, + sizeof(*render->bitstream_buffers)*(render->bitstream_buffers_used + 1) ); - render->bitstreamBuffers[render->bitstreamBuffersUsed].struct_version = VDP_BITSTREAM_BUFFER_VERSION; - render->bitstreamBuffers[render->bitstreamBuffersUsed].bitstream = buf; - render->bitstreamBuffers[render->bitstreamBuffersUsed].bitstream_bytes = buf_size; - render->bitstreamBuffersUsed++; + render->bitstream_buffers[render->bitstream_buffers_used].struct_version = VDP_BITSTREAM_BUFFER_VERSION; + render->bitstream_buffers[render->bitstream_buffers_used].bitstream = buf; + render->bitstream_buffers[render->bitstream_buffers_used].bitstream_bytes = buf_size; + render->bitstream_buffers_used++; } void ff_VDPAU_h264_picture_complete(H264Context *h) @@ -177,7 +177,7 @@ memcpy(render->info.h264.scaling_lists_8x8, h->pps.scaling_matrix8, sizeof(render->info.h264.scaling_lists_8x8)); ff_draw_horiz_band(s, 0, s->avctx->height); - render->bitstreamBuffersUsed = 0; + render->bitstream_buffers_used = 0; } /* @}*/