Home
last modified time | relevance | path

Searched refs:shorten_by (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmlpdec.c1317 int shorten_by; in read_access_unit() local
1322 shorten_by = get_bits(&gb, 16); in read_access_unit()
1323 if (m->avctx->codec_id == AV_CODEC_ID_TRUEHD && shorten_by & 0x2000) in read_access_unit()
1324 s->blockpos -= FFMIN(shorten_by & 0x1FFF, s->blockpos); in read_access_unit()
1325 else if (m->avctx->codec_id == AV_CODEC_ID_MLP && shorten_by != 0xD234) in read_access_unit()
H A Dmlpenc.c207 int shorten_by; member
1054 if (ctx->last_frames == 0 && ctx->shorten_by) { in write_substr()
1057 put_bits(&pb, 16, (ctx->shorten_by & 0x1FFF) | 0x2000); in write_substr()
2126 ctx->shorten_by = avctx->frame_size - frame->nb_samples; in mlp_encode_frame()

Completed in 6 milliseconds