FFmpeg
|
#include "config.h"
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dv_profile.h"
#include "dv_profile_internal.h"
Go to the source code of this file.
Functions | |
const AVDVProfile * | ff_dv_frame_profile (AVCodecContext *codec, const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) |
Get a DV profile for the provided compressed frame. | |
const AVDVProfile * | avpriv_dv_frame_profile2 (AVCodecContext *codec, const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) |
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. | |
const AVDVProfile * | av_dv_codec_profile2 (int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate) |
Get a DV profile for the provided stream parameters. | |
const AVDVProfile* ff_dv_frame_profile | ( | AVCodecContext * | codec, |
const AVDVProfile * | sys, | ||
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Get a DV profile for the provided compressed frame.
Definition at line 260 of file dv_profile.c.
Referenced by av_dv_frame_profile(), avpriv_dv_frame_profile2(), and dvvideo_decode_frame().
const AVDVProfile* avpriv_dv_frame_profile2 | ( | AVCodecContext * | codec, |
const AVDVProfile * | sys, | ||
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Definition at line 301 of file dv_profile.c.
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 308 of file dv_profile.c.
Referenced by 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 314 of file dv_profile.c.
const AVDVProfile* av_dv_codec_profile2 | ( | int | width, |
int | height, | ||
enum AVPixelFormat | pix_fmt, | ||
AVRational | frame_rate | ||
) |
Get a DV profile for the provided stream parameters.
The frame rate is used as a best-effort parameter.
Definition at line 324 of file dv_profile.c.
Referenced by av_dv_codec_profile(), dv_frame_offset(), dv_init_mux(), and dvvideo_encode_init().