mh 107 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 113 libavcodec/jpeg2000dwt.c l = line + mh; mh 120 libavcodec/jpeg2000dwt.c sd_1d53(line, mh, mh + lh); mh 123 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 125 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 177 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 183 libavcodec/jpeg2000dwt.c l = line + mh; mh 190 libavcodec/jpeg2000dwt.c sd_1d97_float(line, mh, mh + lh); mh 193 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 195 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 248 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 254 libavcodec/jpeg2000dwt.c l = line + mh; mh 261 libavcodec/jpeg2000dwt.c sd_1d97_int(line, mh, mh + lh); mh 264 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i+=2, j++) mh 266 libavcodec/jpeg2000dwt.c for (i = 1-mh; i < lh; i+=2, j++) mh 314 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 320 libavcodec/jpeg2000dwt.c l = line + mh; mh 324 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 326 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 329 libavcodec/jpeg2000dwt.c sr_1d53(line, mh, mh + lh); mh 387 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 392 libavcodec/jpeg2000dwt.c l = line + mh; mh 396 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 398 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 401 libavcodec/jpeg2000dwt.c sr_1d97_float(line, mh, mh + lh); mh 459 libavcodec/jpeg2000dwt.c mh = s->mod[lev][0], mh 464 libavcodec/jpeg2000dwt.c l = line + mh; mh 468 libavcodec/jpeg2000dwt.c for (i = mh; i < lh; i += 2, j++) mh 470 libavcodec/jpeg2000dwt.c for (i = 1 - mh; i < lh; i += 2, j++) mh 473 libavcodec/jpeg2000dwt.c sr_1d97_int(line, mh, mh + lh); mh 145 libavcodec/mlp_parser.c int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb) mh 167 libavcodec/mlp_parser.c mh->stream_type = get_bits(gb, 8); mh 168 libavcodec/mlp_parser.c mh->header_size = header_size; mh 170 libavcodec/mlp_parser.c if (mh->stream_type == 0xbb) { mh 171 libavcodec/mlp_parser.c mh->group1_bits = mlp_quants[get_bits(gb, 4)]; mh 172 libavcodec/mlp_parser.c mh->group2_bits = mlp_quants[get_bits(gb, 4)]; mh 175 libavcodec/mlp_parser.c mh->group1_samplerate = mlp_samplerate(ratebits); mh 176 libavcodec/mlp_parser.c mh->group2_samplerate = mlp_samplerate(get_bits(gb, 4)); mh 180 libavcodec/mlp_parser.c mh->channel_arrangement= mh 182 libavcodec/mlp_parser.c mh->channels_mlp = mlp_channels[channel_arrangement]; mh 183 libavcodec/mlp_parser.c mh->channel_layout_mlp = ff_mlp_layout[channel_arrangement]; mh 184 libavcodec/mlp_parser.c } else if (mh->stream_type == 0xba) { mh 185 libavcodec/mlp_parser.c mh->group1_bits = 24; // TODO: Is this information actually conveyed anywhere? mh 186 libavcodec/mlp_parser.c mh->group2_bits = 0; mh 189 libavcodec/mlp_parser.c mh->group1_samplerate = mlp_samplerate(ratebits); mh 190 libavcodec/mlp_parser.c mh->group2_samplerate = 0; mh 194 libavcodec/mlp_parser.c mh->channel_modifier_thd_stream0 = get_bits(gb, 2); mh 195 libavcodec/mlp_parser.c mh->channel_modifier_thd_stream1 = get_bits(gb, 2); mh 197 libavcodec/mlp_parser.c mh->channel_arrangement= mh 199 libavcodec/mlp_parser.c mh->channels_thd_stream1 = truehd_channels(channel_arrangement); mh 200 libavcodec/mlp_parser.c mh->channel_layout_thd_stream1 = ff_truehd_layout(channel_arrangement); mh 202 libavcodec/mlp_parser.c mh->channel_modifier_thd_stream2 = get_bits(gb, 2); mh 205 libavcodec/mlp_parser.c mh->channels_thd_stream2 = truehd_channels(channel_arrangement); mh 206 libavcodec/mlp_parser.c mh->channel_layout_thd_stream2 = ff_truehd_layout(channel_arrangement); mh 210 libavcodec/mlp_parser.c mh->access_unit_size = 40 << (ratebits & 7); mh 211 libavcodec/mlp_parser.c mh->access_unit_size_pow2 = 64 << (ratebits & 7); mh 215 libavcodec/mlp_parser.c mh->is_vbr = get_bits1(gb); mh 217 libavcodec/mlp_parser.c mh->peak_bitrate = (get_bits(gb, 15) * mh->group1_samplerate + 8) >> 4; mh 219 libavcodec/mlp_parser.c mh->num_substreams = get_bits(gb, 4); mh 343 libavcodec/mlp_parser.c MLPHeaderInfo mh; mh 346 libavcodec/mlp_parser.c if (ff_mlp_read_major_sync(avctx, &mh, &gb) < 0) mh 349 libavcodec/mlp_parser.c avctx->bits_per_raw_sample = mh.group1_bits; mh 354 libavcodec/mlp_parser.c avctx->sample_rate = mh.group1_samplerate; mh 355 libavcodec/mlp_parser.c s->duration = mh.access_unit_size; mh 358 libavcodec/mlp_parser.c if (mh.stream_type == 0xbb) { mh 363 libavcodec/mlp_parser.c mh.num_substreams > 1) { mh 372 libavcodec/mlp_parser.c mh.num_substreams > 1) { mh 376 libavcodec/mlp_parser.c avctx->channels = mh.channels_mlp; mh 377 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_mlp; mh 384 libavcodec/mlp_parser.c mh.num_substreams > 1) { mh 388 libavcodec/mlp_parser.c avctx->request_channels <= mh.channels_thd_stream1) { mh 389 libavcodec/mlp_parser.c avctx->channels = mh.channels_thd_stream1; mh 390 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_thd_stream1; mh 397 libavcodec/mlp_parser.c mh.num_substreams > 1) { mh 400 libavcodec/mlp_parser.c } else if (!mh.channels_thd_stream2 || mh 402 libavcodec/mlp_parser.c (avctx->request_channel_layout & mh.channel_layout_thd_stream1) == mh 404 libavcodec/mlp_parser.c avctx->channels = mh.channels_thd_stream1; mh 405 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_thd_stream1; mh 407 libavcodec/mlp_parser.c avctx->channels = mh.channels_thd_stream2; mh 408 libavcodec/mlp_parser.c avctx->channel_layout = mh.channel_layout_thd_stream2; mh 413 libavcodec/mlp_parser.c if (!mh.is_vbr) /* Stream is CBR */ mh 414 libavcodec/mlp_parser.c avctx->bit_rate = mh.peak_bitrate; mh 416 libavcodec/mlp_parser.c mp->num_substreams = mh.num_substreams; mh 66 libavcodec/mlp_parser.h int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb); mh 296 libavcodec/mlpdec.c MLPHeaderInfo mh; mh 299 libavcodec/mlpdec.c if ((ret = ff_mlp_read_major_sync(m->avctx, &mh, gb)) != 0) mh 302 libavcodec/mlpdec.c if (mh.group1_bits == 0) { mh 306 libavcodec/mlpdec.c if (mh.group2_bits > mh.group1_bits) { mh 312 libavcodec/mlpdec.c if (mh.group2_samplerate && mh.group2_samplerate != mh.group1_samplerate) { mh 318 libavcodec/mlpdec.c if (mh.group1_samplerate == 0) { mh 322 libavcodec/mlpdec.c if (mh.group1_samplerate > MAX_SAMPLERATE) { mh 325 libavcodec/mlpdec.c mh.group1_samplerate, MAX_SAMPLERATE); mh 328 libavcodec/mlpdec.c if (mh.access_unit_size > MAX_BLOCKSIZE) { mh 331 libavcodec/mlpdec.c mh.access_unit_size, MAX_BLOCKSIZE); mh 334 libavcodec/mlpdec.c if (mh.access_unit_size_pow2 > MAX_BLOCKSIZE_POW2) { mh 337 libavcodec/mlpdec.c mh.access_unit_size_pow2, MAX_BLOCKSIZE_POW2); mh 341 libavcodec/mlpdec.c if (mh.num_substreams == 0) mh 343 libavcodec/mlpdec.c if (m->avctx->codec_id == AV_CODEC_ID_MLP && mh.num_substreams > 2) { mh 347 libavcodec/mlpdec.c if (mh.num_substreams > MAX_SUBSTREAMS) { mh 351 libavcodec/mlpdec.c mh.num_substreams); mh 355 libavcodec/mlpdec.c m->major_sync_header_size = mh.header_size; mh 357 libavcodec/mlpdec.c m->access_unit_size = mh.access_unit_size; mh 358 libavcodec/mlpdec.c m->access_unit_size_pow2 = mh.access_unit_size_pow2; mh 360 libavcodec/mlpdec.c m->num_substreams = mh.num_substreams; mh 365 libavcodec/mlpdec.c m->avctx->sample_rate = mh.group1_samplerate; mh 366 libavcodec/mlpdec.c m->avctx->frame_size = mh.access_unit_size; mh 368 libavcodec/mlpdec.c m->avctx->bits_per_raw_sample = mh.group1_bits; mh 369 libavcodec/mlpdec.c if (mh.group1_bits > 16) mh 386 libavcodec/mlpdec.c if (mh.stream_type != 0xbb) { mh 389 libavcodec/mlpdec.c mh.stream_type); mh 392 libavcodec/mlpdec.c if ((substr = (mh.num_substreams > 1))) mh 394 libavcodec/mlpdec.c m->substream[substr].ch_layout = mh.channel_layout_mlp; mh 396 libavcodec/mlpdec.c if (mh.stream_type != 0xba) { mh 399 libavcodec/mlpdec.c mh.stream_type); mh 402 libavcodec/mlpdec.c if ((substr = (mh.num_substreams > 1))) mh 404 libavcodec/mlpdec.c if (mh.num_substreams > 2) mh 405 libavcodec/mlpdec.c if (mh.channel_layout_thd_stream2) mh 406 libavcodec/mlpdec.c m->substream[2].ch_layout = mh.channel_layout_thd_stream2; mh 408 libavcodec/mlpdec.c m->substream[2].ch_layout = mh.channel_layout_thd_stream1; mh 409 libavcodec/mlpdec.c m->substream[substr].ch_layout = mh.channel_layout_thd_stream1; mh 419 libavcodec/mlpdec.c m->needs_reordering = mh.channel_arrangement >= 18 && mh.channel_arrangement <= 20; mh 436 libavcodec/mlpdec.c if (mh.num_substreams > 2 && mh 437 libavcodec/mlpdec.c mh.channel_layout_thd_stream2 & AV_CH_SIDE_LEFT && mh 438 libavcodec/mlpdec.c mh.channel_layout_thd_stream2 & AV_CH_SIDE_RIGHT && mh 439 libavcodec/mlpdec.c mh.channel_modifier_thd_stream2 == THD_CH_MODIFIER_SURROUNDEX) mh 442 libavcodec/mlpdec.c if (mh.num_substreams > 1 && mh 443 libavcodec/mlpdec.c mh.channel_layout_thd_stream1 & AV_CH_SIDE_LEFT && mh 444 libavcodec/mlpdec.c mh.channel_layout_thd_stream1 & AV_CH_SIDE_RIGHT && mh 445 libavcodec/mlpdec.c mh.channel_modifier_thd_stream1 == THD_CH_MODIFIER_SURROUNDEX) mh 448 libavcodec/mlpdec.c if (mh.num_substreams > 0) mh 449 libavcodec/mlpdec.c switch (mh.channel_modifier_thd_stream0) { mh 115 libavfilter/vf_colormatrix.c double det = ma * (me * mi - mf * mh) - mb * (md * mi - mf * mg) + mc * (md * mh - me * mg); mh 117 libavfilter/vf_colormatrix.c ima = det * (me * mi - mf * mh); mh 118 libavfilter/vf_colormatrix.c imb = det * (mc * mh - mb * mi); mh 123 libavfilter/vf_colormatrix.c img = det * (md * mh - me * mg); mh 124 libavfilter/vf_colormatrix.c imh = det * (mb * mg - ma * mh); mh 96 libavutil/file.c HANDLE mh, fh = (HANDLE)_get_osfhandle(fd); mh 98 libavutil/file.c mh = CreateFileMapping(fh, NULL, PAGE_READONLY, 0, 0, NULL); mh 99 libavutil/file.c if (!mh) { mh 105 libavutil/file.c ptr = MapViewOfFile(mh, FILE_MAP_READ, 0, 0, *size); mh 106 libavutil/file.c CloseHandle(mh);