mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-29 04:17:06 +08:00
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne. Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Benoit Fouet

parent
3bc5f6f9a6
commit
044f0296a4
@ -80,6 +80,11 @@ const enum PixelFormat ff_pixfmt_list_420[] = {
|
|||||||
PIX_FMT_NONE
|
PIX_FMT_NONE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const enum PixelFormat ff_hwaccel_pixfmt_list_420[] = {
|
||||||
|
PIX_FMT_YUV420P,
|
||||||
|
PIX_FMT_NONE
|
||||||
|
};
|
||||||
|
|
||||||
const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
|
const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -709,6 +709,7 @@ void ff_init_block_index(MpegEncContext *s);
|
|||||||
void ff_copy_picture(Picture *dst, Picture *src);
|
void ff_copy_picture(Picture *dst, Picture *src);
|
||||||
|
|
||||||
extern const enum PixelFormat ff_pixfmt_list_420[];
|
extern const enum PixelFormat ff_pixfmt_list_420[];
|
||||||
|
extern const enum PixelFormat ff_hwaccel_pixfmt_list_420[];
|
||||||
|
|
||||||
static inline void ff_update_block_index(MpegEncContext *s){
|
static inline void ff_update_block_index(MpegEncContext *s){
|
||||||
const int block_size= 8>>s->avctx->lowres;
|
const int block_size= 8>>s->avctx->lowres;
|
||||||
|
Reference in New Issue
Block a user