FFmpeg
|
#include <stdint.h>
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | AVDVProfile |
Macros | |
#define | DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */ |
Functions | |
const AVDVProfile * | avpriv_dv_frame_profile2 (AVCodecContext *codec, const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) |
const AVDVProfile * | avpriv_dv_frame_profile (const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) |
const AVDVProfile * | avpriv_dv_codec_profile (AVCodecContext *codec) |
const AVDVProfile * | av_dv_frame_profile (const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) |
Get a DV profile for the provided compressed frame. | |
const AVDVProfile * | av_dv_codec_profile (int width, int height, enum AVPixelFormat pix_fmt) |
Get a DV profile for the provided stream parameters. | |
#define DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */ |
Definition at line 30 of file dv_profile.h.
Referenced by avpriv_dv_frame_profile2(), avpriv_dv_produce_packet(), and dv_read_header().
const AVDVProfile* avpriv_dv_frame_profile2 | ( | AVCodecContext * | codec, |
const AVDVProfile * | sys, | ||
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Definition at line 268 of file dv_profile.c.
Referenced by av_dv_frame_profile(), and dvvideo_decode_frame().
const AVDVProfile* avpriv_dv_frame_profile | ( | const AVDVProfile * | sys, |
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Definition at line 332 of file dv_profile.c.
const AVDVProfile* avpriv_dv_codec_profile | ( | AVCodecContext * | codec | ) |
Definition at line 338 of file dv_profile.c.
Referenced by dvvideo_encode_init().
const AVDVProfile* av_dv_frame_profile | ( | const AVDVProfile * | sys, |
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Get a DV profile for the provided compressed frame.
sys | the profile used for the previous frame, may be NULL |
frame | the compressed data buffer |
buf_size | size of the buffer in bytes |
Definition at line 309 of file dv_profile.c.
Referenced by avpriv_dv_frame_profile(), avpriv_dv_produce_packet(), and dv_read_header().
const AVDVProfile* av_dv_codec_profile | ( | int | width, |
int | height, | ||
enum AVPixelFormat | pix_fmt | ||
) |
Get a DV profile for the provided stream parameters.
Definition at line 315 of file dv_profile.c.
Referenced by avpriv_dv_codec_profile(), dv_frame_offset(), and dv_init_mux().