#include <ffmpeg.h>
Public Member Functions | |
| FFMPEG (Asset *asset_in) | |
| ~FFMPEG () | |
| int | init (char *codec_string) |
| int | decode (uint8_t *data, long data_size, VFrame *frame_out) |
Static Public Member Functions | |
| static int | convert_cmodel (AVPicture *picture_in, PixelFormat pix_fmt, int width_in, int height_in, VFrame *frame_out) |
| static int | convert_cmodel (VFrame *frame_in, VFrame *frame_out) |
| static int | convert_cmodel_transfer (VFrame *frame_in, VFrame *frame_out) |
| static int | init_picture_from_frame (AVPicture *picture, VFrame *frame) |
| static CodecID | codec_id (char *codec_string) |
Static Private Member Functions | |
| static PixelFormat | color_model_to_pix_fmt (int color_model) |
| static int | pix_fmt_to_color_model (PixelFormat pix_fmt) |
Private Attributes | |
| int | got_picture |
| Asset * | asset |
| AVCodec * | codec |
| AVCodecContext * | context |
| AVFrame * | picture |
Definition at line 11 of file ffmpeg.h.
|
|
Definition at line 8 of file ffmpeg.C. References codec, context, got_picture, and picture. |
|
|
|
|
|
Definition at line 47 of file ffmpeg.C. References CODEC_IS. Referenced by FileYUV::can_copy_from(), init(), and FileYUV::write_frames(). |
|
|
Definition at line 61 of file ffmpeg.C. Referenced by convert_cmodel(), and init_picture_from_frame(). |
|
||||||||||||
|
Definition at line 136 of file ffmpeg.C. References color_model_to_pix_fmt(), convert_cmodel_transfer(), and init_picture_from_frame(). |
|
||||||||||||||||||||||||
|
Definition at line 201 of file ffmpeg.C. References color_model_to_pix_fmt(), init_picture_from_frame(), and pix_fmt_to_color_model(). Referenced by decode(), FileYUV::read_frame(), and FileYUV::write_frames(). |
|
||||||||||||
|
Definition at line 167 of file ffmpeg.C. Referenced by convert_cmodel(). |
|
||||||||||||||||
|
Definition at line 306 of file ffmpeg.C. References asset, context, convert_cmodel(), FFMPEG_LATENCY, got_picture, Asset::height, picture, and Asset::width. Referenced by FileYUV::close_file(), and FileYUV::write_frames(). |
|
|
Definition at line 16 of file ffmpeg.C. References codec, codec_id(), context, and picture. Referenced by FileYUV::write_frames(). |
|
||||||||||||
|
Definition at line 113 of file ffmpeg.C. References color_model_to_pix_fmt(). Referenced by convert_cmodel(). |
|
|
Definition at line 87 of file ffmpeg.C. Referenced by convert_cmodel(). |
|
|
Definition at line 34 of file ffmpeg.h. Referenced by decode(). |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4