Lines Matching refs:sample_size
53 int sample_size; /* size of one sample (or packet) member
139 if (ast->sample_size) in get_duration()
301 int max = ast->sample_size; in clean_index()
304 if (n != 1 || ast->sample_size == 0) in clean_index()
697 ast->sample_size = avio_rl32(pb); in avi_read_header()
698 ast->cum_len *= FFMAX(1, ast->sample_size); in avi_read_header()
700 ast->rate, ast->scale, ast->sample_size); in avi_read_header()
706 ast->sample_size = 0; in avi_read_header()
722 if (ast->sample_size < 0) { in avi_read_header()
726 ast->sample_size, in avi_read_header()
733 ast->sample_size, in avi_read_header()
735 ast->sample_size = 0; in avi_read_header()
738 if (ast->sample_size == 0) { in avi_read_header()
889 if (ast->sample_size && st->codecpar->block_align && in avi_read_header()
890 ast->sample_size != st->codecpar->block_align) { in avi_read_header()
894 ast->sample_size, in avi_read_header()
896 ast->sample_size = st->codecpar->block_align; in avi_read_header()
931 …ecpar->codec_id == AV_CODEC_ID_AAC && ast->dshow_block_align == 1024 && ast->sample_size == 1024 || in avi_read_header()
932 …ecpar->codec_id == AV_CODEC_ID_AAC && ast->dshow_block_align == 4096 && ast->sample_size == 4096 || in avi_read_header()
933 …ecpar->codec_id == AV_CODEC_ID_MP3 && ast->dshow_block_align == 1152 && ast->sample_size == 1152) { in avi_read_header()
935 ast->sample_size = 0; in avi_read_header()
1409 (AVRational) { FFMAX(1, ast->sample_size), in ni_prepare_read()
1488 if (ast->sample_size <= 1) in avi_read_packet()
1490 else if (ast->sample_size < 32) in avi_read_packet()
1492 size = 1024 * ast->sample_size; in avi_read_packet()
1494 size = ast->sample_size; in avi_read_packet()
1534 if (ast->sample_size) in avi_read_packet()
1535 pkt->dts /= ast->sample_size; in avi_read_packet()
1715 FFMAX(ast->sample_size, 1), in check_stream_max_drift()
1729 FFMAX(ast->sample_size, 1), in check_stream_max_drift()
1872 timestamp * FFMAX(ast->sample_size, 1), in avi_read_seek()
1877 timestamp * FFMAX(ast->sample_size, 1), in avi_read_seek()
1885 timestamp = sti->index_entries[index].timestamp / FFMAX(ast->sample_size, 1); in avi_read_seek()
1928 FFMAX(ast2->sample_size, 1), in avi_read_seek()
1947 … av_rescale_q(timestamp, st->time_base, st2->time_base) * FFMAX(ast2->sample_size, 1), in avi_read_seek()