mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.
Originally committed as revision 16521 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1968e438d0
commit
c639fc7213
@ -7425,8 +7425,8 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
|
|||||||
&& avctx->skip_frame < AVDISCARD_ALL){
|
&& avctx->skip_frame < AVDISCARD_ALL){
|
||||||
if(ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU){
|
if(ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU){
|
||||||
static const uint8_t start_code[] = {0x00, 0x00, 0x01};
|
static const uint8_t start_code[] = {0x00, 0x00, 0x01};
|
||||||
ff_vdpau_h264_add_data_chunk(s, start_code, sizeof(start_code));
|
ff_vdpau_add_data_chunk(s, start_code, sizeof(start_code));
|
||||||
ff_vdpau_h264_add_data_chunk(s, &buf[buf_index - consumed], consumed );
|
ff_vdpau_add_data_chunk(s, &buf[buf_index - consumed], consumed );
|
||||||
}else
|
}else
|
||||||
context_count++;
|
context_count++;
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "h264.h"
|
#include "h264.h"
|
||||||
|
|
||||||
void ff_vdpau_h264_add_data_chunk(MpegEncContext *s, const uint8_t *buf,
|
void ff_vdpau_add_data_chunk(MpegEncContext *s, const uint8_t *buf,
|
||||||
int buf_size);
|
int buf_size);
|
||||||
void ff_vdpau_h264_set_reference_frames(H264Context *h);
|
void ff_vdpau_h264_set_reference_frames(H264Context *h);
|
||||||
void ff_vdpau_h264_picture_complete(H264Context *h);
|
void ff_vdpau_h264_picture_complete(H264Context *h);
|
||||||
|
|
||||||
|
@ -106,8 +106,8 @@ void ff_vdpau_h264_set_reference_frames(H264Context *h)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_vdpau_h264_add_data_chunk(MpegEncContext *s,
|
void ff_vdpau_add_data_chunk(MpegEncContext *s,
|
||||||
const uint8_t *buf, int buf_size)
|
const uint8_t *buf, int buf_size)
|
||||||
{
|
{
|
||||||
struct vdpau_render_state * render;
|
struct vdpau_render_state * render;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user