Searched refs:video_par (Results 1 – 5 of 5) 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 | 42 AVCodecParameters *audio_par, *video_par; member 222 if (swf->video_par) { in swf_write_header() 230 swf->video_par = par; in swf_write_header() 238 if (!swf->video_par) { in swf_write_header() 245 width = swf->video_par->width; in swf_write_header() 246 height = swf->video_par->height; in swf_write_header() 261 else if (swf->video_par && (swf->video_par->codec_id == AV_CODEC_ID_VP6A || in swf_write_header() 262 swf->video_par->codec_id == AV_CODEC_ID_VP6F || in swf_write_header() 263 swf->video_par->codec_id == AV_CODEC_ID_PNG)) in swf_write_header() 265 else if (swf->video_par && swf->video_par->codec_id == AV_CODEC_ID_FLASHSV) in swf_write_header() [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 | avienc.c | 266 AVCodecParameters *video_par; in avi_write_header() local 297 video_par = NULL; in avi_write_header() 307 video_par = par; in avi_write_header() 347 if (video_par) { in avi_write_header() 348 avio_wl32(pb, video_par->width); in avi_write_header() 349 avio_wl32(pb, video_par->height); in avi_write_header()
|
D | movenc.c | 5081 AVCodecParameters *video_par = s->streams[0]->codecpar; in mov_write_uuidprof_tag() local 5088 int video_kbitrate = FFMIN(video_par->bit_rate / 1000, 800 - audio_kbitrate); in mov_write_uuidprof_tag() 5128 if (video_par->codec_id == AV_CODEC_ID_H264) { in mov_write_uuidprof_tag() 5142 avio_wb16(pb, video_par->width); in mov_write_uuidprof_tag() 5143 avio_wb16(pb, video_par->height); in mov_write_uuidprof_tag()
|