FFALIGN 69 doc/examples/qsvdec.c frames_ctx->width = FFALIGN(avctx->coded_width, 32); FFALIGN 70 doc/examples/qsvdec.c frames_ctx->height = FFALIGN(avctx->coded_height, 32); FFALIGN 93 fftools/ffmpeg_qsv.c frames_ctx->width = FFALIGN(s->coded_width, 32); FFALIGN 94 fftools/ffmpeg_qsv.c frames_ctx->height = FFALIGN(s->coded_height, 32); FFALIGN 727 libavcodec/4xm.c const int mbs = (FFALIGN(width, 16) >> 4) * (FFALIGN(height, 16) >> 4); FFALIGN 137 libavcodec/ac3enc_template.c num_cpl_coefs = FFALIGN(s->num_cpl_subbands * 12 + 1, 32); FFALIGN 398 libavcodec/aic.c off = FFALIGN(AIC_HDR_SIZE + ctx->num_x_slices * ctx->mb_height * 2, 4); FFALIGN 460 libavcodec/aic.c ctx->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 461 libavcodec/aic.c ctx->mb_height = FFALIGN(avctx->height, 16) >> 4; FFALIGN 494 libavcodec/alacenc.c return FFALIGN(header_bits + bps * ch * frame_size + 3, 8) / 8; FFALIGN 1526 libavcodec/apedec.c decoded_buffer_size = 2LL * FFALIGN(blockstodecode, 8) * sizeof(*s->decoded_buffer); FFALIGN 1541 libavcodec/apedec.c s->decoded[1] = s->decoded_buffer + FFALIGN(blockstodecode, 8); FFALIGN 229 libavcodec/asvenc.c clone->width = FFALIGN(pict->width, 16); FFALIGN 230 libavcodec/asvenc.c clone->height = FFALIGN(pict->height, 16); FFALIGN 970 libavcodec/atrac3.c q->decoded_bytes_buffer = av_mallocz(FFALIGN(avctx->block_align, 4) + FFALIGN 155 libavcodec/bink.c width = FFALIGN(width, 8); FFALIGN 1026 libavcodec/cavsdec.c int alloc_size = FFALIGN(FFABS(h->cur.f->linesize[0]) + 32, 32); FFALIGN 276 libavcodec/cdxl.c aligned_width = FFALIGN(c->avctx->width, 16); FFALIGN 325 libavcodec/cfhd.c ptrdiff_t stride = FFALIGN(width / 8, 8) * 8; FFALIGN 327 libavcodec/cfhd.c height = FFALIGN(height / 8, 2) * 8; FFALIGN 332 libavcodec/cfhd.c w8 = FFALIGN(s->plane[i].width / 8, 8); FFALIGN 538 libavcodec/cfhd.c s->plane[s->channel_num].band[s->level][s->subband_num].stride = FFALIGN(data, 8); FFALIGN 555 libavcodec/cfhd.c s->plane[s->channel_num].band[s->level][s->subband_num].stride = FFALIGN(data, 8); FFALIGN 769 libavcodec/cfhd.c bytes = FFALIGN(AV_CEIL_RSHIFT(get_bits_count(&s->gb), 3), 4); FFALIGN 676 libavcodec/clearvideo.c ret = ff_set_dimensions(avctx, FFALIGN(w, 1 << c->tile_shift), FFALIGN(h, 1 << c->tile_shift)); FFALIGN 683 libavcodec/clearvideo.c c->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 684 libavcodec/clearvideo.c c->mb_height = FFALIGN(avctx->height, 16) >> 4; FFALIGN 885 libavcodec/cook.c FFALIGN(q->samples_per_channel, 8), -1.0f, 1.0f); FFALIGN 43 libavcodec/cscd.c int i, src_stride = FFALIGN(linelen, 4); FFALIGN 56 libavcodec/cscd.c int i, j, src_stride = FFALIGN(linelen, 4); FFALIGN 148 libavcodec/cscd.c stride = FFALIGN(c->linelen, 4); FFALIGN 84 libavcodec/cyuv.c int rawsize = s->height * FFALIGN(s->width,2) * 2; FFALIGN 116 libavcodec/cyuv.c int linesize = FFALIGN(s->width,2) * 2; FFALIGN 287 libavcodec/dca_parser.c frame_size = FFALIGN(h.frame_size, 4); FFALIGN 190 libavcodec/dcadec.c frame_size = FFALIGN(s->core.frame_size, 4); FFALIGN 236 libavcodec/dcaenc.c c->frame_bits = FFALIGN((avctx->bit_rate * 512 + avctx->sample_rate - 1) / avctx->sample_rate, 32); FFALIGN 645 libavcodec/dds.c avctx->coded_width = FFALIGN(avctx->width, TEXTURE_BLOCK_W); FFALIGN 646 libavcodec/dds.c avctx->coded_height = FFALIGN(avctx->height, TEXTURE_BLOCK_H); FFALIGN 1861 libavcodec/decode.c if ((ret = av_image_check_size2(FFALIGN(avctx->width, STRIDE_ALIGN), avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx)) < 0 || avctx->pix_fmt<0) { FFALIGN 303 libavcodec/diracdec.c w = FFALIGN(CALC_PADDING(w, MAX_DWT_LEVELS), 8); /* FIXME: Should this be 16 for SSE??? */ FFALIGN 1059 libavcodec/diracdec.c p->idwt.stride = FFALIGN(p->idwt.width, 8) << (1 + s->pshift); FFALIGN 1895 libavcodec/diracdec.c s->edge_emu_buffer[i] = s->edge_emu_buffer_base + i*FFALIGN(p->width, 16); FFALIGN 101 libavcodec/dnxhddec.c avctx->coded_width = FFALIGN(avctx->width, 16); FFALIGN 102 libavcodec/dnxhddec.c avctx->coded_height = FFALIGN(avctx->height, 16); FFALIGN 291 libavcodec/dpx.c need_align = FFALIGN(stride, 4); FFALIGN 304 libavcodec/dpx.c stride = FFALIGN(stride, 4); FFALIGN 153 libavcodec/dpxenc.c pad = (FFALIGN(pad, 4) - pad) >> 1; FFALIGN 189 libavcodec/dpxenc.c size = FFALIGN(len, 4); FFALIGN 195 libavcodec/dpxenc.c size = FFALIGN(len, 4); FFALIGN 69 libavcodec/dxtory.c if (src_size < FFALIGN(avctx->width, 4) * FFALIGN(avctx->height, 4) * 9LL / 8) { FFALIGN 112 libavcodec/dxtory.c if (src_size < FFALIGN(avctx->width, 2) * FFALIGN(avctx->height, 2) * 3LL / 2) { FFALIGN 231 libavcodec/dxtory.c *off = FFALIGN(*nslices * 4 + 2, 16); FFALIGN 1243 libavcodec/dxv.c avctx->coded_width = FFALIGN(avctx->width, 16); FFALIGN 1244 libavcodec/dxv.c avctx->coded_height = FFALIGN(avctx->height, 16); FFALIGN 625 libavcodec/dxva2.c frames_ctx->width = FFALIGN(avctx->coded_width, surface_alignment); FFALIGN 626 libavcodec/dxva2.c frames_ctx->height = FFALIGN(avctx->coded_height, surface_alignment); FFALIGN 237 libavcodec/eatgq.c for (y = 0; y < FFALIGN(avctx->height, 16) >> 4; y++) FFALIGN 238 libavcodec/eatgq.c for (x = 0; x < FFALIGN(avctx->width, 16) >> 4; x++) FFALIGN 928 libavcodec/error_resilience.c && (FFALIGN(s->avctx->height, 16)&16) FFALIGN 353 libavcodec/fic.c ctx->slice_h = FFALIGN(ctx->slice_h - 16, 16); FFALIGN 385 libavcodec/fic.c slice_h = FFALIGN(avctx->height - ctx->slice_h * (nslices - 1), 16); FFALIGN 460 libavcodec/fic.c ctx->aligned_width = FFALIGN(avctx->width, 16); FFALIGN 461 libavcodec/fic.c ctx->aligned_height = FFALIGN(avctx->height, 16); FFALIGN 432 libavcodec/flicvideo.c if (chunk_size - 6 != FFALIGN(s->avctx->width, 4) * s->avctx->height) { FFALIGN 732 libavcodec/flicvideo.c if (chunk_size - 6 > (unsigned int)(FFALIGN(s->avctx->width, 2) * s->avctx->height)*2) { FFALIGN 1019 libavcodec/flicvideo.c if (chunk_size - 6 > (unsigned int)(FFALIGN(s->avctx->width, 2) * s->avctx->height)*3) { FFALIGN 308 libavcodec/g2meet.c width = FFALIGN(width, 16); FFALIGN 917 libavcodec/g2meet.c awidth = FFALIGN(tile_width, 16); FFALIGN 918 libavcodec/g2meet.c aheight = FFALIGN(tile_height, 16); FFALIGN 978 libavcodec/g2meet.c int bstride = FFALIGN(tile_width, 16) >> 3; FFALIGN 1041 libavcodec/g2meet.c int align_width = FFALIGN(width, 16); FFALIGN 1142 libavcodec/g2meet.c bstride = FFALIGN(width, 16) >> 3; FFALIGN 1145 libavcodec/g2meet.c for (i = 0; i < (FFALIGN(height, 16) >> 4); i++) { FFALIGN 1146 libavcodec/g2meet.c for (j = 0; j < (FFALIGN(width, 16) >> 4); j++) { FFALIGN 1183 libavcodec/g2meet.c c->framebuf_stride = FFALIGN(c->width + 15, 16) * 3; FFALIGN 1194 libavcodec/g2meet.c c->tile_stride = FFALIGN(c->tile_width, 16) * 3; FFALIGN 1195 libavcodec/g2meet.c c->epic_buf_stride = FFALIGN(c->tile_width * 4, 16); FFALIGN 1196 libavcodec/g2meet.c aligned_height = FFALIGN(c->tile_height, 16); FFALIGN 1239 libavcodec/g2meet.c cursor_stride = FFALIGN(cursor_w, cursor_fmt==1 ? 32 : 1) * 4; FFALIGN 1324 libavcodec/g2meet.c bytestream2_skip(gb, c->cursor_h * (FFALIGN(c->cursor_w, 32) >> 3)); FFALIGN 131 libavcodec/h264_slice.c int alloc_size = FFALIGN(FFABS(linesize) + 32, 32); FFALIGN 885 libavcodec/h264_slice.c FFALIGN(h->width_from_caller, 16) == FFALIGN(width, 16) && FFALIGN 886 libavcodec/h264_slice.c FFALIGN(h->height_from_caller, 16) == FFALIGN(height, 16) && FFALIGN 415 libavcodec/hapdec.c avctx->coded_width = FFALIGN(avctx->width, TEXTURE_BLOCK_W); FFALIGN 416 libavcodec/hapdec.c avctx->coded_height = FFALIGN(avctx->height, TEXTURE_BLOCK_H); FFALIGN 283 libavcodec/hapenc.c ctx->tex_size = FFALIGN(avctx->width, TEXTURE_BLOCK_W) * FFALIGN 284 libavcodec/hapenc.c FFALIGN(avctx->height, TEXTURE_BLOCK_H) * 4 / ratio; FFALIGN 314 libavcodec/hevc_filter.c int tab = sao_tab[(FFALIGN(width, 8) >> 3) - 1]; FFALIGN 133 libavcodec/hq_hqa.c ctx->avctx->coded_width = FFALIGN(profile->width, 16); FFALIGN 134 libavcodec/hq_hqa.c ctx->avctx->coded_height = FFALIGN(profile->height, 16); FFALIGN 261 libavcodec/hq_hqa.c ctx->avctx->coded_width = FFALIGN(width, 16); FFALIGN 262 libavcodec/hq_hqa.c ctx->avctx->coded_height = FFALIGN(height, 16); FFALIGN 468 libavcodec/hqx.c avctx->coded_width = FFALIGN(ctx->width, 16); FFALIGN 469 libavcodec/hqx.c avctx->coded_height = FFALIGN(ctx->height, 16); FFALIGN 434 libavcodec/iff.c s->planesize = FFALIGN(avctx->width, 16) >> 3; // Align plane size in bits to word-boundary FFALIGN 442 libavcodec/iff.c s->video_size = FFALIGN(avctx->width, 2) * avctx->height * s->bpp; FFALIGN 445 libavcodec/iff.c s->video[0] = av_calloc(FFALIGN(avctx->width, 2) * avctx->height, s->bpp); FFALIGN 446 libavcodec/iff.c s->video[1] = av_calloc(FFALIGN(avctx->width, 2) * avctx->height, s->bpp); FFALIGN 812 libavcodec/iff.c int planepitch = FFALIGN(w, 16) >> 3; FFALIGN 1339 libavcodec/iff.c int planepitch = FFALIGN(w, 16) >> 3; FFALIGN 1398 libavcodec/iff.c int planepitch = FFALIGN(w, 16) >> 3; FFALIGN 381 libavcodec/imm4.c FFALIGN(avpkt->size, 4)); FFALIGN 389 libavcodec/imm4.c if ((ret = init_get_bits8(gb, s->bitstream, FFALIGN(avpkt->size, 4))) < 0) FFALIGN 183 libavcodec/indeo3.c chroma_width = FFALIGN(luma_width >> 2, 4); FFALIGN 184 libavcodec/indeo3.c chroma_height = FFALIGN(luma_height >> 2, 4); FFALIGN 186 libavcodec/indeo3.c luma_pitch = FFALIGN(luma_width, 16); FFALIGN 187 libavcodec/indeo3.c chroma_pitch = FFALIGN(chroma_width, 16); FFALIGN 344 libavcodec/ivi.c width_aligned = FFALIGN(b_width , align_fac); FFALIGN 345 libavcodec/ivi.c height_aligned = FFALIGN(b_height, align_fac); FFALIGN 188 libavcodec/lcldec.c if (c->imgtype == IMGTYPE_RGB24 && len == FFALIGN(width * 3, 4) * height || FFALIGN 407 libavcodec/lcldec.c linesize = len < FFALIGN(3 * width, 4) * height ? 3 * width : FFALIGN(3 * width, 4); FFALIGN 475 libavcodec/lcldec.c unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN 476 libavcodec/lcldec.c FFALIGN(avctx->height, 4); FFALIGN 385 libavcodec/libaomenc.c FFALIGN((FFALIGN(avctx->width, 128) + FFALIGN 388 libavcodec/libaomenc.c (max_tile_width * FFALIGN(avctx->height, 128) + FFALIGN 69 libavcodec/libdav1d.c int ret, linesize[4], h = FFALIGN(p->p.h, 128); FFALIGN 73 libavcodec/libdav1d.c ret = av_image_fill_arrays(data, linesize, NULL, format, FFALIGN(p->p.w, 128), FFALIGN 96 libavcodec/libdav1d.c aligned_ptr = (uint8_t *)FFALIGN((uintptr_t)buf->data, DAV1D_PICTURE_ALIGNMENT); FFALIGN 206 libavcodec/libmp3lame.c if (frame->linesize[0] < 4 * FFALIGN(frame->nb_samples, 8)) { FFALIGN 214 libavcodec/libmp3lame.c FFALIGN(frame->nb_samples, 8)); FFALIGN 176 libavcodec/libtheoraenc.c t_info.frame_width = FFALIGN(avc_context->width, 16); FFALIGN 177 libavcodec/libtheoraenc.c t_info.frame_height = FFALIGN(avc_context->height, 16); FFALIGN 294 libavcodec/libtheoraenc.c t_yuv_buffer[i].width = FFALIGN(avc_context->width, 16) >> (i && h->uv_hshift); FFALIGN 295 libavcodec/libtheoraenc.c t_yuv_buffer[i].height = FFALIGN(avc_context->height, 16) >> (i && h->uv_vshift); FFALIGN 242 libavcodec/lpc.c LOCAL_ALIGNED(32, double, var, [FFALIGN(MAX_LPC_ORDER+1,4)]); FFALIGN 244 libavcodec/lpc.c memset(var, 0, FFALIGN(MAX_LPC_ORDER+1,4)*sizeof(*var)); FFALIGN 307 libavcodec/lpc.c s->windowed_buffer = av_mallocz((blocksize + 2 + FFALIGN(max_order, 4)) * FFALIGN 311 libavcodec/lpc.c s->windowed_samples = s->windowed_buffer + FFALIGN(max_order, 4); FFALIGN 119 libavcodec/mediacodec_sw_buffer.c width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2) / 2); FFALIGN 167 libavcodec/mediacodec_sw_buffer.c width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2)); FFALIGN 215 libavcodec/mediacodec_sw_buffer.c width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2)); FFALIGN 480 libavcodec/mediacodecdec_common.c s->slice_height = FFALIGN(s->height, 16); FFALIGN 71 libavcodec/midivid.c mask_size = (FFALIGN(avctx->width, 32) >> 2) * (avctx->height >> 2) >> 3; FFALIGN 72 libavcodec/midivid.c padding = (FFALIGN(avctx->width, 32) - avctx->width) >> 2; FFALIGN 391 libavcodec/mmaldec.c format_in->es->video.width = FFALIGN(avctx->width, 32); FFALIGN 392 libavcodec/mmaldec.c format_in->es->video.height = FFALIGN(avctx->height, 16); FFALIGN 642 libavcodec/mmaldec.c int w = FFALIGN(avctx->width, 32); FFALIGN 643 libavcodec/mmaldec.c int h = FFALIGN(avctx->height, 16); FFALIGN 1274 libavcodec/mpeg12dec.c (s1->save_progressive_seq != s->progressive_sequence && FFALIGN(s->height, 16) != FFALIGN(s->height, 32)) || FFALIGN 89 libavcodec/mpegaudiodsp.h #define MDCT_BUF_SIZE FFALIGN(36, 2*4) FFALIGN 62 libavcodec/mpegpicture.c int alloc_size = FFALIGN(FFABS(linesize) + 64, 32); FFALIGN 1245 libavcodec/mpegvideo_enc.c && FFALIGN(s->height, 32) - s->height > 16) FFALIGN 173 libavcodec/mpegvideo_parser.c s->coded_width = FFALIGN(pc->width, 16); FFALIGN 174 libavcodec/mpegvideo_parser.c s->coded_height = FFALIGN(pc->height, 16); FFALIGN 90 libavcodec/msrle.c int istride = FFALIGN(avctx->width*avctx->bits_per_coded_sample, 32) / 8; FFALIGN 671 libavcodec/mss12.c c->mask_stride = FFALIGN(avctx->width, 16); FFALIGN 555 libavcodec/mss4.c mb_width = FFALIGN(width, 16) >> 4; FFALIGN 556 libavcodec/mss4.c mb_height = FFALIGN(height, 16) >> 4; FFALIGN 655 libavcodec/mss4.c c->dc_stride[i] = FFALIGN(avctx->width, 16) >> (2 + !!i); FFALIGN 85 libavcodec/msvideo1enc.c prevptr = c->prev + avctx->width * 3 * (FFALIGN(avctx->height, 4) - 1); FFALIGN 86 libavcodec/msvideo1enc.c src = (uint16_t*)(p->data[0] + p->linesize[0]*(FFALIGN(avctx->height, 4) - 1)); FFALIGN 551 libavcodec/mv30.c if (px < 0 || px > FFALIGN(avctx->width , 16) - 16 || FFALIGN 552 libavcodec/mv30.c py < 0 || py > FFALIGN(avctx->height, 16) - 16) FFALIGN 123 libavcodec/nuv.c width = FFALIGN(width, 2); FFALIGN 124 libavcodec/nuv.c height = FFALIGN(height, 2); FFALIGN 419 libavcodec/opus_celt.c f->dsp->vector_fmac_scalar(f->block[0].coeffs, f->block[1].coeffs, 1.0, FFALIGN(frame_size, 16)); FFALIGN 78 libavcodec/opus_celt.h DECLARE_ALIGNED(32, float, overlap)[FFALIGN(CELT_OVERLAP, 16)]; FFALIGN 79 libavcodec/opus_celt.h DECLARE_ALIGNED(32, float, samples)[FFALIGN(CELT_MAX_FRAME_SIZE, 16)]; FFALIGN 558 libavcodec/opusdec.c c->gain, FFALIGN(decoded_samples, 8)); FFALIGN 484 libavcodec/opusenc.c dst[0] = FFMIN(v - FFALIGN(v - 255, 4), v); FFALIGN 360 libavcodec/opusenc_psy.c f_out->framebits = FFALIGN(f_out->framebits, 8); FFALIGN 95 libavcodec/pafvideo.c ret = av_image_check_size2(avctx->width, FFALIGN(avctx->height, 256), avctx->max_pixels, avctx->pix_fmt, 0, avctx); FFALIGN 103 libavcodec/pafvideo.c c->frame_size = avctx->width * FFALIGN(avctx->height, 256); FFALIGN 115 libavcodec/pcm-bluray.c avctx->bit_rate = FFALIGN(avctx->channels, 2) * avctx->sample_rate * FFALIGN 151 libavcodec/pcm-bluray.c num_source_channels = FFALIGN(avctx->channels, 2); FFALIGN 97 libavcodec/pcm-dvdenc.c frame_size = FFALIGN(2008 / s->block_size, s->samples_per_block); FFALIGN 534 libavcodec/pcm.c s->scale, FFALIGN(frame->nb_samples * avctx->channels, 4)); FFALIGN 620 libavcodec/pixlet.c w = FFALIGN(width, 1 << (NB_LEVELS + 1)); FFALIGN 621 libavcodec/pixlet.c h = FFALIGN(height, 1 << (NB_LEVELS + 1)); FFALIGN 725 libavcodec/proresenc_anatoliy.c int frame_size = FFALIGN(avctx->width, 16) * FFALIGN(avctx->height, 16)*16 + 500 + AV_INPUT_BUFFER_MIN_SIZE; //FIXME choose tighter limit FFALIGN 744 libavcodec/proresenc_kostya.c return FFALIGN(bits, 8); FFALIGN 1247 libavcodec/proresenc_kostya.c ctx->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 1250 libavcodec/proresenc_kostya.c ctx->mb_height = FFALIGN(avctx->height, 32) >> 5; FFALIGN 1252 libavcodec/proresenc_kostya.c ctx->mb_height = FFALIGN(avctx->height, 16) >> 4; FFALIGN 342 libavcodec/prosumer.c s->stride = 3LL * FFALIGN(avctx->width, 8) >> 1; FFALIGN 1551 libavcodec/qdm2.c for (i = 0; i < FFALIGN(q->fft_size, 8); i++) { FFALIGN 70 libavcodec/qsvdec.c frame->linesize[0] = FFALIGN(avctx->width, 128); FFALIGN 73 libavcodec/qsvdec.c frame->linesize[0] = 2 * FFALIGN(avctx->width, 128); FFALIGN 87 libavcodec/qsvdec.c frame->linesize[0] * FFALIGN(avctx->height, 64); FFALIGN 253 libavcodec/qsvdec.c FFALIGN(avctx->width, 128), FFALIGN(avctx->height, 64), 1), av_buffer_allocz); FFALIGN 453 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Width = FFALIGN(avctx->width, 16); FFALIGN 454 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Height = FFALIGN(avctx->height, 16); FFALIGN 478 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Width = FFALIGN(avctx->width, q->width_align); FFALIGN 479 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Height = FFALIGN(avctx->height, q->height_align); FFALIGN 559 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Width = FFALIGN(avctx->width, q->width_align); FFALIGN 575 libavcodec/qsvenc.c q->param.mfx.FrameInfo.Height = FFALIGN(avctx->height, q->height_align); FFALIGN 1330 libavcodec/qsvenc.c (frame->data[1] - frame->data[0] != frame->linesize[0] * FFALIGN(qf->frame->height, q->height_align))) { FFALIGN 1331 libavcodec/qsvenc.c qf->frame->height = FFALIGN(frame->height, q->height_align); FFALIGN 1332 libavcodec/qsvenc.c qf->frame->width = FFALIGN(frame->width, q->width_align); FFALIGN 42 libavcodec/r210dec.c int aligned_width = FFALIGN(avctx->width, FFALIGN 29 libavcodec/r210enc.c int aligned_width = FFALIGN(avctx->width, FFALIGN 43 libavcodec/r210enc.c int aligned_width = FFALIGN(avctx->width, FFALIGN 63 libavcodec/ra144.h DECLARE_ALIGNED(16, int16_t, buffer_a)[FFALIGN(BLOCKSIZE,16)]; FFALIGN 43 libavcodec/ra288.c DECLARE_ALIGNED(32, float, sp_lpc)[FFALIGN(36, 16)]; ///< LPC coefficients for speech data (spec: A) FFALIGN 44 libavcodec/ra288.c DECLARE_ALIGNED(32, float, gain_lpc)[FFALIGN(10, 16)]; ///< LPC coefficients for gain (spec: GB) FFALIGN 155 libavcodec/ra288.c LOCAL_ALIGNED(32, float, work, [FFALIGN(MAX_BACKWARD_FILTER_ORDER + FFALIGN 161 libavcodec/ra288.c ractx->fdsp->vector_fmul(work, window, hist, FFALIGN(order + n + non_rec, 16)); FFALIGN 188 libavcodec/ra288.c ractx->fdsp->vector_fmul(lpc, lpc, tab, FFALIGN(order, 16)); FFALIGN 100 libavcodec/ra288.h DECLARE_ALIGNED(32, static const float, syn_window)[FFALIGN(111, 16)]={ FFALIGN 122 libavcodec/ra288.h DECLARE_ALIGNED(32, static const float, gain_window)[FFALIGN(38, 16)]={ FFALIGN 133 libavcodec/ra288.h DECLARE_ALIGNED(32, static const float, syn_bw_tab)[FFALIGN(36, 16)] = { FFALIGN 143 libavcodec/ra288.h DECLARE_ALIGNED(32, static const float, gain_bw_tab)[FFALIGN(10, 16)] = { FFALIGN 138 libavcodec/rasc.c case 8: s->stride = FFALIGN(w, 4); FFALIGN 219 libavcodec/rawdec.c FFALIGN(row_bytes, 16) * 8, FFALIGN 223 libavcodec/rawdec.c FFALIGN(avctx->width, 16), FFALIGN 415 libavcodec/rawdec.c FFALIGN(frame->linesize[0], linesize_align) * avctx->height <= buf_size) FFALIGN 416 libavcodec/rawdec.c frame->linesize[0] = FFALIGN(frame->linesize[0], linesize_align); FFALIGN 419 libavcodec/rawdec.c FFALIGN(frame->linesize[0], linesize_align) * avctx->height + FFALIGN 420 libavcodec/rawdec.c FFALIGN(frame->linesize[1], linesize_align) * ((avctx->height + 1) / 2) <= buf_size) { FFALIGN 421 libavcodec/rawdec.c int la0 = FFALIGN(frame->linesize[0], linesize_align); FFALIGN 424 libavcodec/rawdec.c frame->linesize[1] = FFALIGN(frame->linesize[1], linesize_align); FFALIGN 443 libavcodec/sanm.c ctx->aligned_width = FFALIGN(width, 8); FFALIGN 444 libavcodec/sanm.c ctx->aligned_height = FFALIGN(height, 8); FFALIGN 154 libavcodec/screenpresso.c src_linesize = FFALIGN(avctx->width * component_size, 4); FFALIGN 442 libavcodec/speedhq.c avctx->coded_width = FFALIGN(avctx->width, 16); FFALIGN 443 libavcodec/speedhq.c avctx->coded_height = FFALIGN(avctx->height, 16); FFALIGN 182 libavcodec/sunrastenc.c s->length = avctx->height * (FFALIGN(avctx->width * s->depth, 16) >> 3); FFALIGN 682 libavcodec/svq1dec.c pmv = av_malloc((FFALIGN(s->width, 16) / 8 + 3) * sizeof(*pmv)); FFALIGN 690 libavcodec/svq1dec.c width = FFALIGN(s->width, 16); FFALIGN 691 libavcodec/svq1dec.c height = FFALIGN(s->height, 16); FFALIGN 695 libavcodec/svq1dec.c width = FFALIGN(s->width / 4, 16); FFALIGN 696 libavcodec/svq1dec.c height = FFALIGN(s->height / 4, 16); FFALIGN 179 libavcodec/takdec.c s->uval = FFALIGN(avctx->sample_rate + 511LL >> 9, 4) << shift; FFALIGN 180 libavcodec/takdec.c s->subframe_scale = FFALIGN(avctx->sample_rate + 511LL >> 9, 4) << 1; FFALIGN 39 libavcodec/targa_y216dec.c int aligned_width = FFALIGN(avctx->width, 4); FFALIGN 198 libavcodec/tdsc.c ctx->cursor_stride = FFALIGN(ctx->cursor_w, 32) * 4; FFALIGN 280 libavcodec/tdsc.c ctx->cursor_h * (FFALIGN(ctx->cursor_w, 32) >> 3)); FFALIGN 358 libavcodec/tscc2.c c->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 359 libavcodec/tscc2.c c->mb_height = FFALIGN(avctx->height, 8) >> 3; FFALIGN 78 libavcodec/txd.c avctx->coded_width = FFALIGN(w, 4); FFALIGN 79 libavcodec/txd.c avctx->coded_height = FFALIGN(h, 4); FFALIGN 317 libavcodec/utils.c *width = FFALIGN(*width, w_align); FFALIGN 318 libavcodec/utils.c *height = FFALIGN(*height, h_align); FFALIGN 350 libavcodec/utils.c *width = FFALIGN(*width, align); FFALIGN 1734 libavcodec/utils.c return (frame_bytes - 4) / ((FFALIGN(ch, 2) * bps) / 8); FFALIGN 67 libavcodec/utvideoenc.c c->slice_stride = FFALIGN(avctx->width, 32); FFALIGN 121 libavcodec/v4l2_context.c size = FFALIGN(height, 32) * FFALIGN(width, 32) * 3 / 2 / 2; FFALIGN 122 libavcodec/v4l2_context.c return FFALIGN(size, SZ_4K); FFALIGN 1071 libavcodec/vaapi_encode_h264.c priv->mb_width = FFALIGN(avctx->width, 16) / 16; FFALIGN 1072 libavcodec/vaapi_encode_h264.c priv->mb_height = FFALIGN(avctx->height, 16) / 16; FFALIGN 1230 libavcodec/vaapi_encode_h264.c ctx->surface_width = FFALIGN(avctx->width, 16); FFALIGN 1231 libavcodec/vaapi_encode_h264.c ctx->surface_height = FFALIGN(avctx->height, 16); FFALIGN 1175 libavcodec/vaapi_encode_h265.c ctx->surface_width = FFALIGN(avctx->width, 16); FFALIGN 1176 libavcodec/vaapi_encode_h265.c ctx->surface_height = FFALIGN(avctx->height, 16); FFALIGN 512 libavcodec/vaapi_encode_mjpeg.c ctx->surface_width = FFALIGN(avctx->width, 8); FFALIGN 513 libavcodec/vaapi_encode_mjpeg.c ctx->surface_height = FFALIGN(avctx->height, 8); FFALIGN 549 libavcodec/vaapi_encode_mpeg2.c ctx->slice_block_rows = FFALIGN(avctx->height, 16) / 16; FFALIGN 550 libavcodec/vaapi_encode_mpeg2.c ctx->slice_block_cols = FFALIGN(avctx->width, 16) / 16; FFALIGN 626 libavcodec/vaapi_encode_mpeg2.c ctx->surface_width = FFALIGN(avctx->width, 16); FFALIGN 627 libavcodec/vaapi_encode_mpeg2.c ctx->surface_height = FFALIGN(avctx->height, 16); FFALIGN 213 libavcodec/vaapi_encode_vp8.c ctx->surface_width = FFALIGN(avctx->width, 16); FFALIGN 214 libavcodec/vaapi_encode_vp8.c ctx->surface_height = FFALIGN(avctx->height, 16); FFALIGN 247 libavcodec/vaapi_encode_vp9.c ctx->surface_width = FFALIGN(avctx->width, 64); FFALIGN 248 libavcodec/vaapi_encode_vp9.c ctx->surface_height = FFALIGN(avctx->height, 64); FFALIGN 881 libavcodec/vc1.c || v->s.mb_height == FFALIGN(v->s.height + 15 >> 4, 2)); FFALIGN 883 libavcodec/vc1.c v->s.mb_height = FFALIGN(v->s.height + 15 >> 4, 2); FFALIGN 123 libavcodec/vc1_parser.c s->coded_width = FFALIGN(avctx->coded_width, 16); FFALIGN 124 libavcodec/vc1_parser.c s->coded_height = FFALIGN(avctx->coded_height, 16); FFALIGN 328 libavcodec/vc1dec.c int mb_height = FFALIGN(s->mb_height, 2); FFALIGN 33 libavcodec/vc2enc.c #define SSIZE_ROUND(b) (FFALIGN((b), s->size_scaler) + 4 + s->prefix_bytes) FFALIGN 600 libavcodec/vc2enc.c bits += FFALIGN(bits, 8) - bits; FFALIGN 602 libavcodec/vc2enc.c pad_s = FFALIGN(bytes_len, s->size_scaler)/s->size_scaler; FFALIGN 760 libavcodec/vc2enc.c pad_s = FFALIGN((bytes_len + len_diff), s->size_scaler)/s->size_scaler; FFALIGN 763 libavcodec/vc2enc.c pad_s = FFALIGN(bytes_len, s->size_scaler)/s->size_scaler; FFALIGN 1132 libavcodec/vc2enc.c p->dwt_width = w = FFALIGN(p->width, (1 << s->wavelet_depth)); FFALIGN 1133 libavcodec/vc2enc.c p->dwt_height = h = FFALIGN(p->height, (1 << s->wavelet_depth)); FFALIGN 1134 libavcodec/vc2enc.c p->coef_stride = FFALIGN(p->dwt_width, 32); FFALIGN 2338 libavcodec/vp3.c s->width = FFALIGN(avctx->coded_width, 16); FFALIGN 2339 libavcodec/vp3.c s->height = FFALIGN(avctx->coded_height, 16); FFALIGN 89 libavcodec/vp6.c FFALIGN(s->avctx->width, 16) == 16 * cols && FFALIGN 90 libavcodec/vp6.c FFALIGN(s->avctx->height, 16) == 16 * rows) { FFALIGN 69 libavcodec/vp8_parser.c s->coded_width = FFALIGN(width, 16); FFALIGN 70 libavcodec/vp8_parser.c s->coded_height = FFALIGN(height, 16); FFALIGN 459 libavcodec/webp.c blocks_w = FFALIGN((w), 1 << block_bits) >> block_bits; \ FFALIGN 460 libavcodec/webp.c blocks_h = FFALIGN((h), 1 << block_bits) >> block_bits; \ FFALIGN 774 libavcodec/wmalosslessdec.c FFALIGN(s->cdlms[ch][ilms].order, ROUND), \ FFALIGN 175 libavcodec/xsubenc.c width = FFALIGN(h->rects[0]->w, 2) + PADDING * 2; FFALIGN 176 libavcodec/xsubenc.c height = FFALIGN(h->rects[0]->h, 2); FFALIGN 142 libavcodec/xwddec.c rsize = FFALIGN(avctx->width * bpp, bpad) / 8; FFALIGN 146 libavcodec/xwdenc.c lsize = FFALIGN(bpp * avctx->width, bpad) / 8; FFALIGN 46 libavcodec/y41pdec.c if (avpkt->size < 3LL * avctx->height * FFALIGN(avctx->width, 8) / 2) { FFALIGN 410 libavcodec/zmbvenc.c c->pstride = FFALIGN((avctx->width + c->lrange) * c->bypp, 16); FFALIGN 411 libavcodec/zmbvenc.c prev_size = FFALIGN(c->lrange * c->bypp, 16) + c->pstride * (c->lrange + avctx->height + c->urange); FFALIGN 412 libavcodec/zmbvenc.c prev_offset = FFALIGN(c->lrange * c->bypp, 16) + c->pstride * c->lrange; FFALIGN 82 libavfilter/af_afir.c s->fdsp->vector_fmul_scalar(src + seg->input_offset, in, s->dry_gain, FFALIGN(nb_samples, 4)); FFALIGN 175 libavfilter/af_afir.c s->fdsp->vector_fmul_scalar(ptr, ptr, s->wet_gain, FFALIGN(nb_samples, 4)); FFALIGN 386 libavfilter/af_afir.c seg->block_size = FFALIGN(seg->fft_length, 32); FFALIGN 387 libavfilter/af_afir.c seg->coeff_size = FFALIGN(seg->part_size + 1, 32); FFALIGN 539 libavfilter/af_afir.c s->fdsp->vector_fmul_scalar(time, time, s->gain, FFALIGN(cur_nb_taps, 4)); FFALIGN 354 libavfilter/af_amix.c plane_size = FFALIGN(plane_size, 16); FFALIGN 102 libavfilter/af_amultiply.c plane_samples = FFALIGN(s->frames[0]->nb_samples, s->samples_align); FFALIGN 104 libavfilter/af_amultiply.c plane_samples = FFALIGN(s->frames[0]->nb_samples * s->channels, s->samples_align); FFALIGN 258 libavfilter/af_anlms.c s->kernel_size = FFALIGN(s->order, 16); FFALIGN 258 libavfilter/af_arnndn.c float *values = av_calloc(FFALIGN((len0), 4) * FFALIGN((len1), 4) * (len2), sizeof(float)); \ FFALIGN 271 libavfilter/af_arnndn.c values[j * (len2) * FFALIGN((len0), 4) + i * FFALIGN((len0), 4) + k] = in; \ FFALIGN 358 libavfilter/af_arnndn.c st->rnn.vad_gru_state = av_calloc(sizeof(float), FFALIGN(s->model->vad_gru_size, 16)); FFALIGN 359 libavfilter/af_arnndn.c st->rnn.noise_gru_state = av_calloc(sizeof(float), FFALIGN(s->model->noise_gru_size, 16)); FFALIGN 360 libavfilter/af_arnndn.c st->rnn.denoise_gru_state = av_calloc(sizeof(float), FFALIGN(s->model->denoise_gru_size, 16)); FFALIGN 1270 libavfilter/af_arnndn.c const int AN = FFALIGN(N, 4); FFALIGN 1271 libavfilter/af_arnndn.c const int AM = FFALIGN(M, 4); FFALIGN 222 libavfilter/af_headphone.c dst[0] += s->fdsp->scalarproduct_float(temp_ir, temp_src, FFALIGN(ir_len, 32)); FFALIGN 412 libavfilter/af_sofalizer.c dst[0] += s->fdsp->scalarproduct_float(temp_ir, temp_src, FFALIGN(ir_samples, 32)); FFALIGN 431 libavfilter/af_volume.c plane_samples = FFALIGN(nb_samples, vol->samples_align); FFALIGN 433 libavfilter/af_volume.c plane_samples = FFALIGN(nb_samples * vol->channels, vol->samples_align); FFALIGN 81 libavfilter/framepool.c FFALIGN(pool->width, i)); FFALIGN 90 libavfilter/framepool.c pool->linesize[i] = FFALIGN(pool->linesize[i], pool->align); FFALIGN 95 libavfilter/framepool.c int h = FFALIGN(pool->height, 32); FFALIGN 331 libavfilter/opencl.c width = FFALIGN(width, block_alignment); FFALIGN 332 libavfilter/opencl.c height = FFALIGN(height, block_alignment); FFALIGN 207 libavfilter/qsvvpp.c frameinfo->Width = FFALIGN(link->w, 32); FFALIGN 208 libavfilter/qsvvpp.c frameinfo->Height = FFALIGN(link->h, 32); FFALIGN 306 libavfilter/qsvvpp.c FFALIGN(inlink->w, 32), FFALIGN 307 libavfilter/qsvvpp.c FFALIGN(inlink->h, 32)); FFALIGN 380 libavfilter/qsvvpp.c FFALIGN(outlink->w, 128), FFALIGN 381 libavfilter/qsvvpp.c FFALIGN(outlink->h, 64)); FFALIGN 460 libavfilter/qsvvpp.c out_frames_ctx->width = FFALIGN(outlink->w, 32); FFALIGN 461 libavfilter/qsvvpp.c out_frames_ctx->height = FFALIGN(outlink->h, 32); FFALIGN 299 libavfilter/vf_avgblur_vulkan.c vkCmdDispatch(cmd_buf, FFALIGN(s->vkctx.output_width, CGS)/CGS, FFALIGN 305 libavfilter/vf_avgblur_vulkan.c FFALIGN(s->vkctx.output_height, CGS)/CGS, 1); FFALIGN 803 libavfilter/vf_bm3d.c sc->num = av_calloc(FFALIGN(s->planewidth[0], s->block_size) * FFALIGN(s->planeheight[0], s->block_size), sizeof(FFTSample)); FFALIGN 804 libavfilter/vf_bm3d.c sc->den = av_calloc(FFALIGN(s->planewidth[0], s->block_size) * FFALIGN(s->planeheight[0], s->block_size), sizeof(FFTSample)); FFALIGN 249 libavfilter/vf_chromaber_vulkan.c FFALIGN(s->vkctx.output_width, CGROUPS[0])/CGROUPS[0], FFALIGN 250 libavfilter/vf_chromaber_vulkan.c FFALIGN(s->vkctx.output_height, CGROUPS[1])/CGROUPS[1], 1); FFALIGN 343 libavfilter/vf_colormatrix.c const int height = FFALIGN(src->height, 2) >> 1; FFALIGN 772 libavfilter/vf_colorspace.c ptrdiff_t rgb_stride = FFALIGN(in->width * sizeof(int16_t), 32); FFALIGN 156 libavfilter/vf_dblur.c s->buffer = av_malloc_array(FFALIGN(inlink->w, 16), FFALIGN(inlink->h, 16) * sizeof(*s->buffer)); FFALIGN 570 libavfilter/vf_dctdnoiz.c s->p_linesize = linesize = FFALIGN(s->pr_width, 32); FFALIGN 950 libavfilter/vf_fieldmatch.c fm->tpitchy = FFALIGN(w, 16); FFALIGN 951 libavfilter/vf_fieldmatch.c fm->tpitchuv = FFALIGN(w >> 1, 16); FFALIGN 515 libavfilter/vf_fspp.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 521 libavfilter/vf_fspp.c fspp->temp_stride = FFALIGN(inlink->w + 16, 16); FFALIGN 624 libavfilter/vf_fspp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 625 libavfilter/vf_fspp.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 243 libavfilter/vf_gblur.c s->buffer = av_malloc_array(FFALIGN(inlink->w, 16), FFALIGN(inlink->h, 16) * sizeof(*s->buffer)); FFALIGN 84 libavfilter/vf_gradfun.c int bstride = FFALIGN(width, 16) / 2; FFALIGN 172 libavfilter/vf_gradfun.c s->buf = av_calloc((FFALIGN(inlink->w, 16) * (s->radius + 1) / 2 + 32), sizeof(*s->buf)); FFALIGN 315 libavfilter/vf_nlmeans.c s->ii_lz_32 = FFALIGN(s->ii_w + 1, 4); FFALIGN 331 libavfilter/vf_overlay_vulkan.c FFALIGN(s->vkctx.output_width, CGROUPS[0])/CGROUPS[0], FFALIGN 332 libavfilter/vf_overlay_vulkan.c FFALIGN(s->vkctx.output_height, CGROUPS[1])/CGROUPS[1], 1); FFALIGN 322 libavfilter/vf_owdenoise.c const int h = FFALIGN(inlink->h, 16); FFALIGN 328 libavfilter/vf_owdenoise.c s->linesize = FFALIGN(inlink->w, 16); FFALIGN 126 libavfilter/vf_pp.c const int aligned_w = FFALIGN(outlink->w, 8); FFALIGN 127 libavfilter/vf_pp.c const int aligned_h = FFALIGN(outlink->h, 8); FFALIGN 288 libavfilter/vf_pp7.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 294 libavfilter/vf_pp7.c pp7->temp_stride = FFALIGN(inlink->w + 16, 16); FFALIGN 337 libavfilter/vf_pp7.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 338 libavfilter/vf_pp7.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 119 libavfilter/vf_pullup.c f->diffs = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->diffs)); FFALIGN 120 libavfilter/vf_pullup.c f->combs = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->combs)); FFALIGN 121 libavfilter/vf_pullup.c f->vars = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->vars)); FFALIGN 154 libavfilter/vf_sab.c int linesize = FFALIGN(width, 8); FFALIGN 183 libavfilter/vf_sab.c f->dist_linesize = FFALIGN(vec->length, 8); FFALIGN 166 libavfilter/vf_scale_cuda.c out_ctx->width = FFALIGN(s->planes_out[0].width, 32); FFALIGN 167 libavfilter/vf_scale_cuda.c out_ctx->height = FFALIGN(s->planes_out[0].height, 32); FFALIGN 184 libavfilter/vf_scale_npp.c out_ctx->width = FFALIGN(stage->planes_out[0].width, 32); FFALIGN 185 libavfilter/vf_scale_npp.c out_ctx->height = FFALIGN(stage->planes_out[0].height, 32); FFALIGN 204 libavfilter/vf_scale_qsv.c out_frames_ctx->width = FFALIGN(out_width, 16); FFALIGN 205 libavfilter/vf_scale_qsv.c out_frames_ctx->height = FFALIGN(out_height, 16); FFALIGN 377 libavfilter/vf_scale_vulkan.c FFALIGN(s->vkctx.output_width, CGROUPS[0])/CGROUPS[0], FFALIGN 378 libavfilter/vf_scale_vulkan.c FFALIGN(s->vkctx.output_height, CGROUPS[1])/CGROUPS[1], 1); FFALIGN 243 libavfilter/vf_spp.c const int linesize = is_luma ? p->temp_linesize : FFALIGN(width+16, 16); FFALIGN 337 libavfilter/vf_spp.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 349 libavfilter/vf_spp.c s->temp_linesize = FFALIGN(inlink->w + 16, 16); FFALIGN 414 libavfilter/vf_spp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 415 libavfilter/vf_spp.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 153 libavfilter/vf_transpose_npp.c out_ctx->width = FFALIGN(stage->planes_out[0].width, 32); FFALIGN 154 libavfilter/vf_transpose_npp.c out_ctx->height = FFALIGN(stage->planes_out[0].height, 32); FFALIGN 433 libavfilter/vf_uspp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 434 libavfilter/vf_uspp.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 4217 libavfilter/vf_v360.c s->uv_linesize[i] = FFALIGN(s->pr_width[i], 8); FFALIGN 319 libavfilter/vf_vignette.c s->fmap_linesize = FFALIGN(inlink->w, 32); FFALIGN 243 libavfilter/vf_vmafmotion.c s->stride = FFALIGN(w * sizeof(uint16_t), 32); FFALIGN 293 libavfilter/vf_w3fdif.c s->work_line[i] = av_calloc(FFALIGN(s->linesize[0], 32), sizeof(*s->work_line[0])); FFALIGN 1392 libavfilter/vsrc_testsrc.c r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); FFALIGN 1440 libavfilter/vsrc_testsrc.c r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); FFALIGN 1485 libavfilter/vsrc_testsrc.c r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w); FFALIGN 1486 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h * 2 / 3, 1 << pixdesc->log2_chroma_h); FFALIGN 1487 libavfilter/vsrc_testsrc.c w_h = FFALIGN(test->h * 3 / 4 - r_h, 1 << pixdesc->log2_chroma_h); FFALIGN 1488 libavfilter/vsrc_testsrc.c p_w = FFALIGN(r_w * 5 / 4, 1 << pixdesc->log2_chroma_w); FFALIGN 1503 libavfilter/vsrc_testsrc.c tmp = FFALIGN(5 * r_w - x, 1 << pixdesc->log2_chroma_w); FFALIGN 1506 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w); FFALIGN 1552 libavfilter/vsrc_testsrc.c d_w = FFALIGN(test->w / 8, 1 << pixdesc->log2_chroma_w); FFALIGN 1553 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h * 7 / 12, 1 << pixdesc->log2_chroma_h); FFALIGN 1557 libavfilter/vsrc_testsrc.c r_w = FFALIGN((((test->w + 3) / 4) * 3) / 7, 1 << pixdesc->log2_chroma_w); FFALIGN 1564 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h / 12, 1 << pixdesc->log2_chroma_h); FFALIGN 1595 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 3 / 2, 1 << pixdesc->log2_chroma_w); FFALIGN 1598 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 2, 1 << pixdesc->log2_chroma_w); FFALIGN 1601 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 5 / 6, 1 << pixdesc->log2_chroma_w); FFALIGN 1604 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w); FFALIGN 109 libavfilter/vulkan.c req->size = FFALIGN(req->size, props.limits.minMemoryMapAlignment); FFALIGN 91 libavformat/aiffenc.c avio_wb32(pb, FFALIGN(size, 2)); FFALIGN 135 libavformat/cdxl.c FFALIGN(width, 16) * (uint64_t)height * cdxl->header[19] > INT_MAX) FFALIGN 140 libavformat/cdxl.c image_size = FFALIGN(width, 16) * height * cdxl->header[19] / 8; FFALIGN 1037 libavformat/flvenc.c avio_w8(pb, ((FFALIGN(par->width, 16) - par->width) << 4) | FFALIGN 1038 libavformat/flvenc.c (FFALIGN(par->height, 16) - par->height)); FFALIGN 1046 libavformat/img2dec.c if (lsize < FFALIGN(width * bpp, bpad) >> 3) FFALIGN 130 libavformat/mmst.c int exact_length = FFALIGN(len, 8); FFALIGN 85 libavformat/paf.c avio_skip(s->pb, 4 * (FFALIGN(count, 512) - count)); FFALIGN 49 libavformat/riffenc.c avio_seek(pb, FFALIGN(pos, 2), SEEK_SET); FFALIGN 55 libavformat/soxenc.c comment_size = FFALIGN(comment_len, 8); FFALIGN 193 libavformat/spdifdec.c ret = av_new_packet(pkt, FFALIGN(pkt_size_bits, 16) >> 3); FFALIGN 234 libavformat/spdifenc.c ctx->length_code = FFALIGN(ctx->out_bytes + 0x8, 0x10) - 0x8; FFALIGN 629 libavformat/spdifenc.c ctx->length_code = FFALIGN(pkt->size, 2) << 3; FFALIGN 344 libavformat/swfdec.c linesize = FFALIGN(linesize, 4); FFALIGN 620 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24); FFALIGN 832 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - size); FFALIGN 841 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - 32); FFALIGN 855 libavformat/wavdec.c end = start + FFALIGN(size, INT64_C(8)) - 24; FFALIGN 883 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24); FFALIGN 537 libavformat/wavenc.c end = FFALIGN(pos, 8); FFALIGN 334 libavresample/audio_convert.c int aligned_len = FFALIGN(len, ac->samples_align); FFALIGN 437 libavresample/audio_mix.c int aligned_len = FFALIGN(len, am->samples_align); FFALIGN 146 libavresample/dither.c int nb_samples = FFALIGN(min_samples, 16) + 16; FFALIGN 157 libavresample/dither.c state->noise_buf_size = FFALIGN(min_samples, 16); FFALIGN 215 libavresample/dither.c int aligned_samples = FFALIGN(nb_samples, 16); FFALIGN 233 libavresample/dither.c FFALIGN(nb_samples, c->samples_align)); FFALIGN 282 libavresample/dither.c int aligned_len = FFALIGN(src->nb_samples, c->ddsp.samples_align); FFALIGN 230 libavutil/frame.c FFALIGN(frame->width, i)); FFALIGN 238 libavutil/frame.c frame->linesize[i] = FFALIGN(frame->linesize[i], align); FFALIGN 241 libavutil/frame.c padded_height = FFALIGN(frame->height, 32); FFALIGN 267 libavutil/hwcontext_qsv.c child_frames_ctx->width = FFALIGN(ctx->width, 16); FFALIGN 268 libavutil/hwcontext_qsv.c child_frames_ctx->height = FFALIGN(ctx->height, 16); FFALIGN 340 libavutil/hwcontext_qsv.c surf->Info.Width = FFALIGN(ctx->width, 16); FFALIGN 342 libavutil/hwcontext_qsv.c surf->Info.Height = FFALIGN(ctx->height, 16); FFALIGN 923 libavutil/hwcontext_qsv.c tmp_frame.width = FFALIGN(src->width, 16); FFALIGN 924 libavutil/hwcontext_qsv.c tmp_frame.height = FFALIGN(src->height, 16); FFALIGN 1388 libavutil/hwcontext_vulkan.c req.memoryRequirements.size = FFALIGN(req.memoryRequirements.size, FFALIGN 2731 libavutil/hwcontext_vulkan.c *stride = FFALIGN(*stride, p->props.properties.limits.optimalBufferCopyRowPitchAlignment); FFALIGN 2733 libavutil/hwcontext_vulkan.c buf_spawn.size = FFALIGN(buf_spawn.size, p->props.properties.limits.minMemoryMapAlignment); FFALIGN 204 libavutil/imgutils.c if ((ret = av_image_fill_linesizes(linesizes, pix_fmt, align>7 ? FFALIGN(w, 8) : w)) < 0) FFALIGN 208 libavutil/imgutils.c linesizes[i] = FFALIGN(linesizes[i], align); FFALIGN 426 libavutil/imgutils.c dst_linesize[i] = FFALIGN(dst_linesize[i], align); FFALIGN 447 libavutil/imgutils.c return FFALIGN(width, align) * height; FFALIGN 482 libavutil/imgutils.c dst += FFALIGN(linesize[i], align); FFALIGN 108 libavutil/internal.h t (*v) o = (void *)FFALIGN((uintptr_t)la_##v, a) FFALIGN 31 libavutil/lls.h #define MAX_VARS_ALIGN FFALIGN(MAX_VARS+1,4) FFALIGN 135 libavutil/samplefmt.c nb_samples = FFALIGN(nb_samples, 32); FFALIGN 143 libavutil/samplefmt.c line_size = planar ? FFALIGN(nb_samples * sample_size, align) : FFALIGN 144 libavutil/samplefmt.c FFALIGN(nb_samples * sample_size * nb_channels, align); FFALIGN 39 libavutil/x86/imgutils_init.c ptrdiff_t bw_aligned = FFALIGN(bytewidth, 64); FFALIGN 881 libpostproc/postprocess.c int stride= FFALIGN(width, 16); //assumed / will realloc if needed FFALIGN 298 libswresample/resample.c filter_length = FFALIGN(filter_length, 2); FFALIGN 347 libswresample/resample.c c->filter_alloc = FFALIGN(c->filter_length, 8); FFALIGN 412 libswresample/swresample.c countb= FFALIGN(count*a->bps, ALIGN); FFALIGN 263 libswscale/slice.c int dst_stride = FFALIGN(c->dstW * sizeof(int16_t) + 66, 16); FFALIGN 302 libswscale/slice.c res = alloc_lines(&c->slice[i], FFALIGN(c->srcW*2+78, 16), c->srcW); FFALIGN 117 libswscale/tests/swscale.c srcStride[p] = FFALIGN(srcStride[p], 16); FFALIGN 157 libswscale/tests/swscale.c dstStride[i] = FFALIGN(dstStride[i], 16); FFALIGN 196 libswscale/tests/swscale.c refStride[i] = FFALIGN(refStride[i], 16); FFALIGN 1181 libswscale/utils.c int dst_stride = FFALIGN(dstW * sizeof(int16_t) + 66, 16); FFALIGN 1420 libswscale/utils.c FF_ALLOCZ_OR_GOTO(c, c->formatConvBuffer, FFALIGN(srcW*2+78, 16) * 2, fail); FFALIGN 48 tests/checkasm/opusdsp.c int offset = FFALIGN(period + 2, 4); FFALIGN 65 tests/checkasm/opusdsp.c LOCAL_ALIGNED(16, float, src, [FFALIGN(MAX_SIZE, 4)]); FFALIGN 66 tests/checkasm/opusdsp.c LOCAL_ALIGNED(16, float, dst0, [FFALIGN(MAX_SIZE, 4)]); FFALIGN 67 tests/checkasm/opusdsp.c LOCAL_ALIGNED(16, float, dst1, [FFALIGN(MAX_SIZE, 4)]); FFALIGN 56 tests/checkasm/sw_scale.c LOCAL_ALIGNED_32(uint8_t, src, [FFALIGN(SRC_PIXELS + MAX_FILTER_WIDTH - 1, 4)]); FFALIGN 48 tests/checkasm/vf_nlmeans.c const int ii_lz_32 = FFALIGN(ii_w + 1, 4); FFALIGN 53 tests/checkasm/vf_nlmeans.c const int src_lz = FFALIGN(w, 16);