亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? avformat.h

?? rtsp協(xié)議的主要實現(xiàn)代碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
/*
 * copyright (c) 2001 Fabrice Bellard
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef AVFORMAT_H
#define AVFORMAT_H

#ifdef __cplusplus
extern "C" {
#endif

#define LIBAVFORMAT_VERSION_INT ((51<<16)+(11<<8)+0)
#define LIBAVFORMAT_VERSION     51.11.0
#define LIBAVFORMAT_BUILD       LIBAVFORMAT_VERSION_INT

#define LIBAVFORMAT_IDENT       "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)

#include <time.h>
#include <stdio.h>  /* FILE */
#include "avcodec.h"

#include "avio.h"

/* packet functions */

typedef struct AVPacket {
    int64_t pts;                            ///< presentation time stamp in time_base units
    int64_t dts;                            ///< decompression time stamp in time_base units
    uint8_t *data;
    int   size;
    int   stream_index;
    int   flags;
    int   duration;                         ///< presentation duration in time_base units (0 if not available)
    void  (*destruct)(struct AVPacket *);
    void  *priv;
    int64_t pos;                            ///< byte position in stream, -1 if unknown
} AVPacket;
#define PKT_FLAG_KEY   0x0001

void av_destruct_packet_nofree(AVPacket *pkt);

/**
 * Default packet destructor.
 */
void av_destruct_packet(AVPacket *pkt);

/* initialize optional fields of a packet */
static inline void av_init_packet(AVPacket *pkt)
{
    pkt->pts   = AV_NOPTS_VALUE;
    pkt->dts   = AV_NOPTS_VALUE;
    pkt->pos   = -1;
    pkt->duration = 0;
    pkt->flags = 0;
    pkt->stream_index = 0;
    pkt->destruct= av_destruct_packet_nofree;
}

/**
 * Allocate the payload of a packet and intialized its fields to default values.
 *
 * @param pkt packet
 * @param size wanted payload size
 * @return 0 if OK. AVERROR_xxx otherwise.
 */
int av_new_packet(AVPacket *pkt, int size);

/**
 * Allocate and read the payload of a packet and intialized its fields to default values.
 *
 * @param pkt packet
 * @param size wanted payload size
 * @return >0 (read size) if OK. AVERROR_xxx otherwise.
 */
int av_get_packet(ByteIOContext *s, AVPacket *pkt, int size);

/**
 * @warning This is a hack - the packet memory allocation stuff is broken. The
 * packet is allocated if it was not really allocated
 */
int av_dup_packet(AVPacket *pkt);

/**
 * Free a packet
 *
 * @param pkt packet to free
 */
static inline void av_free_packet(AVPacket *pkt)
{
    if (pkt && pkt->destruct) {
        pkt->destruct(pkt);
    }
}

/*************************************************/
/* fractional numbers for exact pts handling */

/* the exact value of the fractional number is: 'val + num / den'. num
   is assumed to be such as 0 <= num < den */
typedef struct AVFrac {
    int64_t val, num, den;
} AVFrac attribute_deprecated;

/*************************************************/
/* input/output formats */

struct AVCodecTag;

struct AVFormatContext;

/** this structure contains the data a format has to probe a file */
typedef struct AVProbeData {
    const char *filename;
    unsigned char *buf;
    int buf_size;
} AVProbeData;

#define AVPROBE_SCORE_MAX 100               ///< max score, half of that is used for file extension based detection

typedef struct AVFormatParameters {
    AVRational time_base;
    int sample_rate;
    int channels;
    int width;
    int height;
    enum PixelFormat pix_fmt;
    int channel; /**< used to select dv channel */
#if LIBAVFORMAT_VERSION_INT < (52<<16)
    const char *device; /**< video, audio or DV device */
#endif
    const char *standard; /**< tv standard, NTSC, PAL, SECAM */
    int mpeg2ts_raw:1;  /**< force raw MPEG2 transport stream output, if possible */
    int mpeg2ts_compute_pcr:1; /**< compute exact PCR for each transport
                                  stream packet (only meaningful if
                                  mpeg2ts_raw is TRUE */
    int initial_pause:1;       /**< do not begin to play the stream
                                  immediately (RTSP only) */
    int prealloced_context:1;
    enum CodecID video_codec_id;
    enum CodecID audio_codec_id;
} AVFormatParameters;

//! demuxer will use url_fopen, no opened file should be provided by the caller
#define AVFMT_NOFILE        0x0001
#define AVFMT_NEEDNUMBER    0x0002 /**< needs '%d' in filename */
#define AVFMT_SHOW_IDS      0x0008 /**< show format stream IDs numbers */
#define AVFMT_RAWPICTURE    0x0020 /**< format wants AVPicture structure for
                                      raw picture data */
#define AVFMT_GLOBALHEADER  0x0040 /**< format wants global header */
#define AVFMT_NOTIMESTAMPS  0x0080 /**< format doesnt need / has any timestamps */
#define AVFMT_GENERIC_INDEX 0x0100 /**< use generic index building code */

typedef struct AVOutputFormat {
    const char *name;
    const char *long_name;
    const char *mime_type;
    const char *extensions; /**< comma separated filename extensions */
    /** size of private data so that it can be allocated in the wrapper */
    int priv_data_size;
    /* output support */
    enum CodecID audio_codec; /**< default audio codec */
    enum CodecID video_codec; /**< default video codec */
    int (*write_header)(struct AVFormatContext *);
    int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
    int (*write_trailer)(struct AVFormatContext *);
    /** can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER */
    int flags;
    /** currently only used to set pixel format if not YUV420P */
    int (*set_parameters)(struct AVFormatContext *, AVFormatParameters *);
    int (*interleave_packet)(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush);

    /**
     * list of supported codec_id-codec_tag pairs, ordered by "better choice first"
     * the arrays are all CODEC_ID_NONE terminated
     */
    const struct AVCodecTag **codec_tag;

    /* private fields */
    struct AVOutputFormat *next;
} AVOutputFormat;

typedef struct AVInputFormat {
    const char *name;
    const char *long_name;
    /** size of private data so that it can be allocated in the wrapper */
    int priv_data_size;
    /** tell if a given file has a chance of being parsing by this format */
    int (*read_probe)(AVProbeData *);
    /** read the format header and initialize the AVFormatContext
       structure. Return 0 if OK. 'ap' if non NULL contains
       additionnal paramters. Only used in raw format right
       now. 'av_new_stream' should be called to create new streams.  */
    int (*read_header)(struct AVFormatContext *,
                       AVFormatParameters *ap);
    /** read one packet and put it in 'pkt'. pts and flags are also
       set. 'av_new_stream' can be called only if the flag
       AVFMTCTX_NOHEADER is used. */
    int (*read_packet)(struct AVFormatContext *, AVPacket *pkt);
    /** close the stream. The AVFormatContext and AVStreams are not
       freed by this function */
    int (*read_close)(struct AVFormatContext *);
    /**
     * seek to a given timestamp relative to the frames in
     * stream component stream_index
     * @param stream_index must not be -1
     * @param flags selects which direction should be preferred if no exact
     *              match is available
     */
    int (*read_seek)(struct AVFormatContext *,
                     int stream_index, int64_t timestamp, int flags);
    /**
     * gets the next timestamp in AV_TIME_BASE units.
     */
    int64_t (*read_timestamp)(struct AVFormatContext *s, int stream_index,
                              int64_t *pos, int64_t pos_limit);
    /** can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER */
    int flags;
    /** if extensions are defined, then no probe is done. You should
       usually not use extension format guessing because it is not
       reliable enough */
    const char *extensions;
    /** general purpose read only value that the format can use */
    int value;

    /** start/resume playing - only meaningful if using a network based format
       (RTSP) */
    int (*read_play)(struct AVFormatContext *);

    /** pause playing - only meaningful if using a network based format
       (RTSP) */
    int (*read_pause)(struct AVFormatContext *);

    const struct AVCodecTag **codec_tag;

    /* private fields */
    struct AVInputFormat *next;
} AVInputFormat;

typedef struct AVIndexEntry {
    int64_t pos;
    int64_t timestamp;
#define AVINDEX_KEYFRAME 0x0001
    int flags:2;
    int size:30; //yeah trying to keep the size of this small to reduce memory requirements (its 24 vs 32 byte due to possible 8byte align)
    int min_distance;         /**< min distance between this and the previous keyframe, used to avoid unneeded searching */
} AVIndexEntry;

typedef struct AVStream {
    int index;    /**< stream index in AVFormatContext */
    int id;       /**< format specific stream id */
    AVCodecContext *codec; /**< codec context */
    /**
     * real base frame rate of the stream.
     * this is the lowest framerate with which all timestamps can be
     * represented accurately (its the least common multiple of all
     * framerates in the stream), Note, this value is just a guess!
     * for example if the timebase is 1/90000 and all frames have either
     * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1
     */
    AVRational r_frame_rate;
    void *priv_data;
#if LIBAVFORMAT_VERSION_INT < (52<<16)
    /* internal data used in av_find_stream_info() */
    int64_t codec_info_duration;
    int codec_info_nb_frames;
#endif
    /** encoding: PTS generation when outputing stream */
    AVFrac pts;

    /**
     * this is the fundamental unit of time (in seconds) in terms
     * of which frame timestamps are represented. for fixed-fps content,
     * timebase should be 1/framerate and timestamp increments should be
     * identically 1.
     */
    AVRational time_base;
    int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
    /* ffmpeg.c private use */
    int stream_copy; /**< if set, just copy stream */
    enum AVDiscard discard; ///< selects which packets can be discarded at will and dont need to be demuxed

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产大片| 91精品办公室少妇高潮对白| 五月婷婷欧美视频| 一区二区三区中文字幕电影 | 99热这里都是精品| 国产iv一区二区三区| 成人高清av在线| 99国产精品久久| 在线欧美日韩国产| 欧美伦理影视网| 日韩一级二级三级精品视频| 欧美一区日本一区韩国一区| 欧美一区二区三区性视频| 欧美一区二区美女| 久久久亚洲高清| 国产精品伦理一区二区| 亚洲另类一区二区| 日韩不卡一区二区| 国产精品一区二区久久精品爱涩| 大美女一区二区三区| 91美女片黄在线观看91美女| 一本到三区不卡视频| 777亚洲妇女| 久久日韩粉嫩一区二区三区| 亚洲男帅同性gay1069| 午夜精品久久久久久久久| 久久精品噜噜噜成人av农村| 国产suv一区二区三区88区| 色综合久久中文综合久久97| 日韩欧美中文字幕一区| 中文字幕在线观看不卡视频| 亚洲成人免费观看| 国产成人啪午夜精品网站男同| www.亚洲色图.com| 日韩三级高清在线| 国产精品美女久久久久av爽李琼 | 欧美精品一卡两卡| 久久久午夜电影| 亚洲成人免费av| 成人禁用看黄a在线| 日韩一级二级三级精品视频| 中文字幕亚洲电影| 久久99精品久久久久久动态图| 91偷拍与自偷拍精品| 337p粉嫩大胆色噜噜噜噜亚洲| 一区二区三区欧美日韩| 成人一道本在线| 日韩欧美在线不卡| 亚洲国产精品久久久久婷婷884| 国产在线一区观看| 欧美一区二区三区在线观看视频| 亚洲免费av网站| 国产高清不卡二三区| 欧美一级日韩免费不卡| 亚洲伊人色欲综合网| 91社区在线播放| 国产欧美一区在线| 精品一区二区综合| 欧美日韩成人综合天天影院| 亚洲色图丝袜美腿| proumb性欧美在线观看| 欧美激情在线观看视频免费| 国产乱人伦偷精品视频不卡| 91麻豆精品国产91久久久久| 亚洲成人av一区二区| 91久久精品日日躁夜夜躁欧美| 中文字幕亚洲一区二区va在线| 国产精品18久久久久久久久| 久久精品男人天堂av| 国产一区二区不卡| 久久女同互慰一区二区三区| 精品一区二区三区在线视频| 日韩三级视频中文字幕| 日韩中文字幕一区二区三区| 欧美午夜精品免费| 亚洲成a人v欧美综合天堂 | 日韩欧美亚洲国产另类| 婷婷夜色潮精品综合在线| 欧美日韩中文一区| 午夜欧美一区二区三区在线播放| 欧美午夜视频网站| 日韩综合一区二区| 日韩免费观看2025年上映的电影| 精品午夜久久福利影院| 欧美精品一区二区三区高清aⅴ | 国产高清一区日本| 欧美韩国日本不卡| 色哟哟日韩精品| 亚洲18色成人| 欧美不卡一区二区三区| 国产精品1区2区3区| 亚洲欧洲日韩综合一区二区| 欧美三级日韩在线| 久久国产综合精品| 久久精品亚洲一区二区三区浴池| 国产精品1024| 日韩美女精品在线| 7777精品伊人久久久大香线蕉经典版下载 | 一区二区三区中文字幕精品精品| 欧美日韩在线三级| 国产一区在线看| 亚洲欧美日韩国产中文在线| 欧美精品乱码久久久久久按摩| 久久国产精品色婷婷| 国产精品美女一区二区三区 | 9l国产精品久久久久麻豆| 亚洲最新视频在线观看| 日韩三级在线免费观看| av中文字幕亚洲| 天天av天天翘天天综合网 | 国产午夜精品一区二区| 91传媒视频在线播放| 免费观看日韩av| 综合久久综合久久| 日韩一级大片在线| 91污在线观看| 韩国一区二区三区| 夜夜嗨av一区二区三区网页 | 亚洲精品免费一二三区| 欧美一级片在线看| 91在线精品一区二区三区| 麻豆国产精品官网| 亚洲精品中文字幕乱码三区 | 99re在线视频这里只有精品| 免费人成网站在线观看欧美高清| 日韩一区中文字幕| 亚洲精品一区二区三区99| 欧美日韩精品免费观看视频| eeuss鲁一区二区三区| 老汉av免费一区二区三区| 一区二区三区美女视频| 欧美极品另类videosde| 精品日韩av一区二区| 欧美日韩国产一级片| 色视频成人在线观看免| 成人毛片老司机大片| 国产一区美女在线| 美女mm1313爽爽久久久蜜臀| 亚洲一区二区三区四区在线 | 欧美性猛交xxxx黑人交| 成人一道本在线| 国产成人午夜精品影院观看视频| 午夜精品福利一区二区蜜股av| 综合久久给合久久狠狠狠97色| 欧美激情中文不卡| 国产视频一区在线观看| 欧美va亚洲va香蕉在线| 日韩欧美专区在线| 日韩欧美www| 日韩精品综合一本久道在线视频| 777久久久精品| 欧美一级高清大全免费观看| 欧美二区在线观看| 欧美日韩国产精品自在自线| 欧美中文字幕亚洲一区二区va在线 | 亚洲电影在线播放| 亚洲精品免费一二三区| 亚洲与欧洲av电影| 婷婷久久综合九色国产成人| 奇米精品一区二区三区在线观看| 日韩中文字幕1| 日本 国产 欧美色综合| 日韩国产在线观看| 国产综合久久久久久久久久久久| 国产美女久久久久| 成熟亚洲日本毛茸茸凸凹| 波多野结衣一区二区三区 | 国产精品免费网站在线观看| 亚洲欧洲精品一区二区三区 | 色婷婷综合五月| 欧美日韩一本到| 日韩亚洲欧美高清| 26uuu另类欧美| 自拍av一区二区三区| 亚洲成人精品在线观看| 韩国精品主播一区二区在线观看| 国产精品中文欧美| 91免费在线播放| 91精品在线观看入口| 日本一区二区三区dvd视频在线| 一区二区三区四区高清精品免费观看| 亚洲成a人片综合在线| 国产精品一区专区| 欧美性色黄大片| 久久久久99精品一区| 一区二区三区中文免费| 国产在线不卡一卡二卡三卡四卡| 国产成人av影院| 欧美日韩久久久一区| 国产欧美精品区一区二区三区| 一区二区三区在线免费播放 | 亚洲免费大片在线观看| 日本欧美一区二区三区乱码| 丁香婷婷综合五月| 777久久久精品| 亚洲精选一二三| 国产盗摄女厕一区二区三区| 欧美日韩视频在线一区二区| 欧美激情一区在线观看| 老司机午夜精品|