Home
last modified time | relevance | path

Searched refs:num_substreams (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dtruehd_core_bsf.c73 if (s->hdr.num_substreams > MAX_SUBSTREAMS) { in truehd_core_filter()
78 for (i = 0; i < s->hdr.num_substreams; i++) { in truehd_core_filter()
107 header[16] = (header[16] & 0x0c) | (FFMIN(s->hdr.num_substreams, 3) << 4); in truehd_core_filter()
125 for (i = 0; i < FFMIN(s->hdr.num_substreams, 3); i++) { in truehd_core_filter()
Dmlp_parser.c43 int num_substreams; member
145 for (i = -1; i < mp->num_substreams; i++) { in mlp_parse()
198 mp->num_substreams = mh.num_substreams; in mlp_parse()
Dmlpenc.c106 int num_substreams; ///< Number of substreams contained within this stream. member
386 DecodingParams *dp = ctx->seq_decoding_params + index*(ctx->num_substreams) + substr; in copy_restart_frame_params()
410 for (substr = 0; substr < ctx->num_substreams; substr++) { in clear_decoding_params()
446 for (substr = 0; substr < ctx->num_substreams; substr++) { in default_decoding_params()
612 ctx->num_substreams = 1; // TODO: change this after adding multi-channel support for TrueHD in mlp_encode_init()
687 * ctx->num_substreams * ctx->max_restart_interval; in mlp_encode_init()
709 * ctx->restart_intervals * ctx->sequence_size * ctx->num_substreams; in mlp_encode_init()
717 for (substr = 0; substr < ctx->num_substreams; substr++) { in mlp_encode_init()
1061 lossless_check_data += ctx->frame_index * ctx->num_substreams; in write_substrs()
1063 for (substr = 0; substr < ctx->num_substreams; substr++) { in write_substrs()
[all …]
Dmlpdec.c144 uint8_t num_substreams; member
347 if (mh.num_substreams == 0) in read_major_sync()
349 if (m->avctx->codec_id == AV_CODEC_ID_MLP && mh.num_substreams > 2) { in read_major_sync()
353 if (mh.num_substreams > MAX_SUBSTREAMS) { in read_major_sync()
357 mh.num_substreams); in read_major_sync()
366 m->num_substreams = mh.num_substreams; in read_major_sync()
369 m->max_decoded_substream = FFMIN(m->num_substreams - 1, 2); in read_major_sync()
398 if ((substr = (mh.num_substreams > 1))) in read_major_sync()
408 if ((substr = (mh.num_substreams > 1))) in read_major_sync()
410 if (mh.num_substreams > 2) in read_major_sync()
[all …]
Dmlp_parse.h56 int num_substreams; ///< Number of substreams within stream member
Dmlp_parse.c160 mh->num_substreams = get_bits(gb, 4); in ff_mlp_read_major_sync()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff2.c835 FT_UInt num_substreams = 7; in reconstruct_glyf() local
858 if ( FT_NEW_ARRAY( substreams, num_substreams ) ) in reconstruct_glyf()
882 offset = ( 2 + num_substreams ) * 4; in reconstruct_glyf()
886 for ( i = 0; i < num_substreams; ++i ) in reconstruct_glyf()
/third_party/freetype/src/sfnt/
Dsfwoff2.c840 FT_UInt num_substreams = 7; in reconstruct_glyf() local
866 if ( FT_NEW_ARRAY( substreams, num_substreams ) ) in reconstruct_glyf()
892 offset = 2 + 2 + 2 + 2 + ( num_substreams * 4 ); in reconstruct_glyf()
896 for ( i = 0; i < num_substreams; ++i ) in reconstruct_glyf()
/third_party/chromium/patch/
D0001-cve.patch22576 FT_UInt num_substreams = 7;
22598 - if ( FT_NEW_ARRAY( substreams, num_substreams ) )
22599 + if ( FT_QNEW_ARRAY( substreams, num_substreams ) )
22623 - offset = ( 2 + num_substreams ) * 4;
22624 + offset = 2 + 2 + 2 + 2 + ( num_substreams * 4 );