Searched refs:video_par (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | yop.c | 61 AVCodecParameters *audio_par, *video_par; in yop_read_header() local 80 video_par = video_stream->codecpar; in yop_read_header() 81 video_par->codec_type = AVMEDIA_TYPE_VIDEO; in yop_read_header() 82 video_par->codec_id = AV_CODEC_ID_YOP; in yop_read_header() 88 video_par->width = avio_rl16(pb); in yop_read_header() 89 video_par->height = avio_rl16(pb); in yop_read_header() 93 ret = ff_get_extradata(s, video_par, pb, 8); in yop_read_header() 97 yop->palette_size = video_par->extradata[0] * 3 + 4; in yop_read_header() 98 yop->audio_block_length = AV_RL16(video_par->extradata + 6); in yop_read_header() 100 video_par->bit_rate = 8 * (yop->frame_size - yop->audio_block_length) * frame_rate; in yop_read_header()
|
D | swfenc.c | 204 if (swf->video_par) { in swf_write_header() 212 swf->video_par = par; in swf_write_header() 220 if (!swf->video_par) { in swf_write_header() 227 width = swf->video_par->width; in swf_write_header() 228 height = swf->video_par->height; in swf_write_header() 243 else if (swf->video_par && swf->video_par->codec_id == AV_CODEC_ID_VP6F) in swf_write_header() 245 else if (swf->video_par && swf->video_par->codec_id == AV_CODEC_ID_FLV1) in swf_write_header() 271 if (swf->video_par && swf->video_par->codec_id == AV_CODEC_ID_MJPEG) { in swf_write_header() 466 if (!swf->video_par) in swf_write_audio() 485 AVCodecParameters *par, *video_par; in swf_write_trailer() local [all …]
|
D | flvenc.c | 116 AVCodecParameters *video_par; member 299 metadata_count = 4 * !!flv->video_par + in write_metadata() 314 if (flv->video_par) { in write_metadata() 316 put_amf_double(pb, flv->video_par->width); in write_metadata() 319 put_amf_double(pb, flv->video_par->height); in write_metadata() 322 put_amf_double(pb, flv->video_par->bit_rate / 1024.0); in write_metadata() 331 put_amf_double(pb, flv->video_par->codec_tag); in write_metadata() 399 put_amf_bool(pb, !!flv->video_par); in write_metadata() 667 if (flv->video_par) { in flv_init() 672 flv->video_par = par; in flv_init() [all …]
|
D | swf.h | 134 AVCodecParameters *audio_par, *video_par; member
|
D | avienc.c | 264 AVCodecParameters *video_par; in avi_write_header() local 291 video_par = NULL; in avi_write_header() 301 video_par = par; in avi_write_header() 341 if (video_par) { in avi_write_header() 342 avio_wl32(pb, video_par->width); in avi_write_header() 343 avio_wl32(pb, video_par->height); in avi_write_header()
|
D | movenc.c | 4943 AVCodecParameters *video_par = s->streams[0]->codecpar; in mov_write_uuidprof_tag() local 4950 int video_kbitrate = FFMIN(video_par->bit_rate / 1000, 800 - audio_kbitrate); in mov_write_uuidprof_tag() 4990 if (video_par->codec_id == AV_CODEC_ID_H264) { in mov_write_uuidprof_tag() 5004 avio_wb16(pb, video_par->width); in mov_write_uuidprof_tag() 5005 avio_wb16(pb, video_par->height); in mov_write_uuidprof_tag()
|