Home
last modified time | relevance | path

Searched refs:log2_blocksize (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddvdec.c333 const int log2_blocksize = 3-s->avctx->lowres; in dv_decode_video_segment() local
384 mb->idct_put = s->idct_put[dct_mode && log2_blocksize == 3]; in dv_decode_video_segment()
480 ((!is_field_mode[mb_index]) * log2_blocksize)); in dv_decode_video_segment()
482 y_stride = (2 << log2_blocksize); in dv_decode_video_segment()
485 ((mb_y * s->frame->linesize[0] + mb_x) << log2_blocksize); in dv_decode_video_segment()
492 mb[2].idct_put(y_ptr + (1 << log2_blocksize), linesize, block + 2 * 64); in dv_decode_video_segment()
494 mb[1].idct_put(y_ptr + (1 << log2_blocksize), linesize, block + 1 * 64); in dv_decode_video_segment()
496 mb[3].idct_put(y_ptr + (1 << log2_blocksize) + y_stride, linesize, block + 3 * 64); in dv_decode_video_segment()
504 … (mb_x >> ((s->sys->pix_fmt == AV_PIX_FMT_YUV411P) ? 2 : 1))) << log2_blocksize); in dv_decode_video_segment()
513 … for (y = 0; y < (1 << log2_blocksize); y++, c_ptr += s->frame->linesize[j], pixels += 8) { in dv_decode_video_segment()
[all …]
Dvorbisenc.c107 int log2_blocksize[2]; member
258 venc->win[0] = ff_vorbis_vwin[venc->log2_blocksize[0] - 6]; in dsp_init()
259 venc->win[1] = ff_vorbis_vwin[venc->log2_blocksize[1] - 6]; in dsp_init()
261 if ((ret = ff_mdct_init(&venc->mdct[0], venc->log2_blocksize[0], 0, 1.0)) < 0) in dsp_init()
263 if ((ret = ff_mdct_init(&venc->mdct[1], venc->log2_blocksize[1], 0, 1.0)) < 0) in dsp_init()
279 venc->log2_blocksize[0] = venc->log2_blocksize[1] = 11; in create_vorbis_context()
355 fc->rangebits = venc->log2_blocksize[1] - 1; in create_vorbis_context()
455 …venc->saved = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]) … in create_vorbis_context()
456 …venc->samples = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1])); in create_vorbis_context()
457 …venc->floor = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]) … in create_vorbis_context()
[all …]