Lines Matching defs:scale
41 int scale;
43 int sample_size; /* size of one sample (or packet) (in the rate/scale sense) in bytes */
369 ast->scale = get_le32(pb);
374 if (ast->scale > 0 && ast->rate > 0 && dv_dur > 0) {
376 s->duration = av_rescale(dv_dur, ast->scale, ast->rate);
395 ast->scale = get_le32(pb);
397 if(!(ast->scale && ast->rate)){
398 av_log(s, AV_LOG_WARNING, "scale/rate is %u/%u which is invalid. (This file has been generated by broken software.)\n", ast->scale, ast->rate);
401 ast->scale = frame_period;
404 ast->scale = 1;
407 av_set_pts_info(st, 64, ast->scale, ast->rate);
418 // av_log(s, AV_LOG_DEBUG, "%d %d %d %d\n", ast->rate, ast->scale, ast->start, ast->sample_size);
760 //av_log(s, AV_LOG_DEBUG, "dts:%"PRId64" offset:%"PRId64" %d/%d smpl_siz:%d base:%d st:%d size:%d\n", pkt->dts, ast->frame_offset, ast->scale, ast->rate, ast->sample_size, AV_TIME_BASE, avi->stream_index, size);
1068 assert((int64_t)st2->time_base.num*ast2->rate == (int64_t)st2->time_base.den*ast2->scale);