mh 107 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 130 libavcodec/jpeg2000dwt.c l = line + mh; mh 137 libavcodec/jpeg2000dwt.c sd_1d53(line, mh, mh + lh); mh 140 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 142 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 182 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 188 libavcodec/jpeg2000dwt.c l = line + mh; mh 195 libavcodec/jpeg2000dwt.c sd_1d97_float(line, mh, mh + lh); mh 198 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 200 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 263 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 286 libavcodec/jpeg2000dwt.c l = line + mh; mh 293 libavcodec/jpeg2000dwt.c sd_1d97_int(line, mh, mh + lh); mh 296 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 298 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 336 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 342 libavcodec/jpeg2000dwt.c l = line + mh; mh 346 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 348 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 351 libavcodec/jpeg2000dwt.c sr_1d53(line, mh, mh + lh); mh 414 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 419 libavcodec/jpeg2000dwt.c l = line + mh; mh 423 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 425 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 428 libavcodec/jpeg2000dwt.c sr_1d97_float(line, mh, mh + lh); mh 496 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 501 libavcodec/jpeg2000dwt.c l = line + mh; mh 505 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 507 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 510 libavcodec/jpeg2000dwt.c sr_1d97_int(line, mh, mh + lh); mh 86 libavcodec/mlp_parse.c int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb) mh 108 libavcodec/mlp_parse.c mh->stream_type = get_bits(gb, 8); mh 109 libavcodec/mlp_parse.c mh->header_size = header_size; mh 111 libavcodec/mlp_parse.c if (mh->stream_type == 0xbb) { mh 112 libavcodec/mlp_parse.c mh->group1_bits = mlp_quants[get_bits(gb, 4)]; mh 113 libavcodec/mlp_parse.c mh->group2_bits = mlp_quants[get_bits(gb, 4)]; mh 116 libavcodec/mlp_parse.c mh->group1_samplerate = mlp_samplerate(ratebits); mh 117 libavcodec/mlp_parse.c mh->group2_samplerate = mlp_samplerate(get_bits(gb, 4)); mh 121 libavcodec/mlp_parse.c mh->channel_arrangement= mh 123 libavcodec/mlp_parse.c mh->channels_mlp = mlp_channels[channel_arrangement]; mh 124 libavcodec/mlp_parse.c mh->channel_layout_mlp = mlp_layout[channel_arrangement]; mh 125 libavcodec/mlp_parse.c } else if (mh->stream_type == 0xba) { mh 126 libavcodec/mlp_parse.c mh->group1_bits = 24; // TODO: Is this information actually conveyed anywhere? mh 127 libavcodec/mlp_parse.c mh->group2_bits = 0; mh 130 libavcodec/mlp_parse.c mh->group1_samplerate = mlp_samplerate(ratebits); mh 131 libavcodec/mlp_parse.c mh->group2_samplerate = 0; mh 135 libavcodec/mlp_parse.c mh->channel_modifier_thd_stream0 = get_bits(gb, 2); mh 136 libavcodec/mlp_parse.c mh->channel_modifier_thd_stream1 = get_bits(gb, 2); mh 138 libavcodec/mlp_parse.c mh->channel_arrangement= mh 140 libavcodec/mlp_parse.c mh->channels_thd_stream1 = truehd_channels(channel_arrangement); mh 141 libavcodec/mlp_parse.c mh->channel_layout_thd_stream1 = truehd_layout(channel_arrangement); mh 143 libavcodec/mlp_parse.c mh->channel_modifier_thd_stream2 = get_bits(gb, 2); mh 146 libavcodec/mlp_parse.c mh->channels_thd_stream2 = truehd_channels(channel_arrangement); mh 147 libavcodec/mlp_parse.c mh->channel_layout_thd_stream2 = truehd_layout(channel_arrangement); mh 151 libavcodec/mlp_parse.c mh->access_unit_size = 40 << (ratebits & 7); mh 152 libavcodec/mlp_parse.c mh->access_unit_size_pow2 = 64 << (ratebits & 7); mh 156 libavcodec/mlp_parse.c mh->is_vbr = get_bits1(gb); mh 158 libavcodec/mlp_parse.c mh->peak_bitrate = (get_bits(gb, 15) * mh->group1_samplerate + 8) >> 4; mh 160 libavcodec/mlp_parse.c mh->num_substreams = get_bits(gb, 4); mh 109 libavcodec/mlp_parse.h int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb); mh 161 libavcodec/mlp_parser.c MLPHeaderInfo mh; mh 164 libavcodec/mlp_parser.c if (ff_mlp_read_major_sync(avctx, &mh, &gb) < 0) mh 169 libavcodec/mlp_parser.c avctx->bits_per_raw_sample = mh.group1_bits; mh 174 libavcodec/mlp_parser.c avctx->sample_rate = mh.group1_samplerate; mh 176 libavcodec/mlp_parser.c s->duration = mh.access_unit_size; mh 179 libavcodec/mlp_parser.c if (mh.stream_type == 0xbb) { mh 181 libavcodec/mlp_parser.c avctx->channels = mh.channels_mlp; mh 182 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_mlp; mh 185 libavcodec/mlp_parser.c if (!mh.channels_thd_stream2) { mh 186 libavcodec/mlp_parser.c avctx->channels = mh.channels_thd_stream1; mh 187 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_thd_stream1; mh 189 libavcodec/mlp_parser.c avctx->channels = mh.channels_thd_stream2; mh 190 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_thd_stream2; mh 195 libavcodec/mlp_parser.c if (!mh.is_vbr) /* Stream is CBR */ mh 196 libavcodec/mlp_parser.c avctx->bit_rate = mh.peak_bitrate; mh 198 libavcodec/mlp_parser.c mp->num_substreams = mh.num_substreams; mh 301 libavcodec/mlpdec.c MLPHeaderInfo mh; mh 304 libavcodec/mlpdec.c if ((ret = ff_mlp_read_major_sync(m->avctx, &mh, gb)) != 0) mh 307 libavcodec/mlpdec.c if (mh.group1_bits == 0) { mh 311 libavcodec/mlpdec.c if (mh.group2_bits > mh.group1_bits) { mh 317 libavcodec/mlpdec.c if (mh.group2_samplerate && mh.group2_samplerate != mh.group1_samplerate) { mh 323 libavcodec/mlpdec.c if (mh.group1_samplerate == 0) { mh 327 libavcodec/mlpdec.c if (mh.group1_samplerate > MAX_SAMPLERATE) { mh 330 libavcodec/mlpdec.c mh.group1_samplerate, MAX_SAMPLERATE); mh 333 libavcodec/mlpdec.c if (mh.access_unit_size > MAX_BLOCKSIZE) { mh 336 libavcodec/mlpdec.c mh.access_unit_size, MAX_BLOCKSIZE); mh 339 libavcodec/mlpdec.c if (mh.access_unit_size_pow2 > MAX_BLOCKSIZE_POW2) { mh 342 libavcodec/mlpdec.c mh.access_unit_size_pow2, MAX_BLOCKSIZE_POW2); mh 346 libavcodec/mlpdec.c if (mh.num_substreams == 0) mh 348 libavcodec/mlpdec.c if (m->avctx->codec_id == AV_CODEC_ID_MLP && mh.num_substreams > 2) { mh 352 libavcodec/mlpdec.c if (mh.num_substreams > MAX_SUBSTREAMS) { mh 356 libavcodec/mlpdec.c mh.num_substreams); mh 360 libavcodec/mlpdec.c m->major_sync_header_size = mh.header_size; mh 362 libavcodec/mlpdec.c m->access_unit_size = mh.access_unit_size; mh 363 libavcodec/mlpdec.c m->access_unit_size_pow2 = mh.access_unit_size_pow2; mh 365 libavcodec/mlpdec.c m->num_substreams = mh.num_substreams; mh 370 libavcodec/mlpdec.c m->avctx->sample_rate = mh.group1_samplerate; mh 371 libavcodec/mlpdec.c m->avctx->frame_size = mh.access_unit_size; mh 373 libavcodec/mlpdec.c m->avctx->bits_per_raw_sample = mh.group1_bits; mh 374 libavcodec/mlpdec.c if (mh.group1_bits > 16) mh 391 libavcodec/mlpdec.c if (mh.stream_type != 0xbb) { mh 394 libavcodec/mlpdec.c mh.stream_type); mh 397 libavcodec/mlpdec.c if ((substr = (mh.num_substreams > 1))) mh 399 libavcodec/mlpdec.c m->substream[substr].mask = mh.channel_layout_mlp; mh 401 libavcodec/mlpdec.c if (mh.stream_type != 0xba) { mh 404 libavcodec/mlpdec.c mh.stream_type); mh 407 libavcodec/mlpdec.c if ((substr = (mh.num_substreams > 1))) mh 409 libavcodec/mlpdec.c if (mh.num_substreams > 2) mh 410 libavcodec/mlpdec.c if (mh.channel_layout_thd_stream2) mh 411 libavcodec/mlpdec.c m->substream[2].mask = mh.channel_layout_thd_stream2; mh 413 libavcodec/mlpdec.c m->substream[2].mask = mh.channel_layout_thd_stream1; mh 414 libavcodec/mlpdec.c m->substream[substr].mask = mh.channel_layout_thd_stream1; mh 424 libavcodec/mlpdec.c m->needs_reordering = mh.channel_arrangement >= 18 && mh.channel_arrangement <= 20; mh 441 libavcodec/mlpdec.c if (mh.num_substreams > 2 && mh 442 libavcodec/mlpdec.c mh.channel_layout_thd_stream2 & AV_CH_SIDE_LEFT && mh 443 libavcodec/mlpdec.c mh.channel_layout_thd_stream2 & AV_CH_SIDE_RIGHT && mh 444 libavcodec/mlpdec.c mh.channel_modifier_thd_stream2 == THD_CH_MODIFIER_SURROUNDEX) mh 447 libavcodec/mlpdec.c if (mh.num_substreams > 1 && mh 448 libavcodec/mlpdec.c mh.channel_layout_thd_stream1 & AV_CH_SIDE_LEFT && mh 449 libavcodec/mlpdec.c mh.channel_layout_thd_stream1 & AV_CH_SIDE_RIGHT && mh 450 libavcodec/mlpdec.c mh.channel_modifier_thd_stream1 == THD_CH_MODIFIER_SURROUNDEX) mh 453 libavcodec/mlpdec.c if (mh.num_substreams > 0) mh 454 libavcodec/mlpdec.c switch (mh.channel_modifier_thd_stream0) { mh 122 libavfilter/vf_colormatrix.c double det = ma * (me * mi - mf * mh) - mb * (md * mi - mf * mg) + mc * (md * mh - me * mg); mh 124 libavfilter/vf_colormatrix.c ima = det * (me * mi - mf * mh); mh 125 libavfilter/vf_colormatrix.c imb = det * (mc * mh - mb * mi); mh 130 libavfilter/vf_colormatrix.c img = det * (md * mh - me * mg); mh 131 libavfilter/vf_colormatrix.c imh = det * (mb * mg - ma * mh); mh 107 libavutil/file.c HANDLE mh, fh = (HANDLE)_get_osfhandle(fd); mh 109 libavutil/file.c mh = CreateFileMapping(fh, NULL, PAGE_READONLY, 0, 0, NULL); mh 110 libavutil/file.c if (!mh) { mh 117 libavutil/file.c ptr = MapViewOfFile(mh, FILE_MAP_READ, 0, 0, *size); mh 118 libavutil/file.c CloseHandle(mh);