#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "common.h"#include "avcodec.h"#include "dsputil.h"#include "mpegvideo.h"

Go to the source code of this file.
Data Structures | |
| struct | CyuvDecodeContext |
Functions | |
| static int | cyuv_decode_init (AVCodecContext *avctx) |
| static int | cyuv_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
| static int | cyuv_decode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | cyuv_decoder |
Definition in file cyuv.c.
| static int cyuv_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int cyuv_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 61 of file cyuv.c.
References av_log(), AV_LOG_ERROR, FF_BUFFER_HINTS_VALID, CyuvDecodeContext::frame, AVCodecContext::get_buffer, CyuvDecodeContext::height, AVCodecContext::priv_data, AVCodecContext::release_buffer, s, and CyuvDecodeContext::width.

| static int cyuv_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 48 of file cyuv.c.
References CyuvDecodeContext::avctx, AVCodecContext::has_b_frames, AVCodecContext::height, CyuvDecodeContext::height, AVCodecContext::pix_fmt, PIX_FMT_YUV411P, AVCodecContext::priv_data, s, AVCodecContext::width, and CyuvDecodeContext::width.
Initial value:
{
"cyuv",
CODEC_TYPE_VIDEO,
CODEC_ID_CYUV,
sizeof(CyuvDecodeContext),
cyuv_decode_init,
NULL,
cyuv_decode_end,
cyuv_decode_frame,
CODEC_CAP_DR1,
NULL
}
Definition at line 173 of file cyuv.c.
Referenced by avcodec_register_all().
1.5.5