FFALIGN 562 ffmpeg_dxva2.c FFALIGN(s->coded_width, surface_alignment), FFALIGN 563 ffmpeg_dxva2.c FFALIGN(s->coded_height, surface_alignment), FFALIGN 720 libavcodec/4xm.c const int mbs = (FFALIGN(width, 16) >> 4) * (FFALIGN(height, 16) >> 4); FFALIGN 151 libavcodec/ac3enc_template.c num_cpl_coefs = FFALIGN(s->num_cpl_subbands * 12 + 1, 32); FFALIGN 383 libavcodec/aic.c off = FFALIGN(AIC_HDR_SIZE + ctx->num_x_slices * ctx->mb_height * 2, 4); FFALIGN 438 libavcodec/aic.c ctx->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 439 libavcodec/aic.c ctx->mb_height = FFALIGN(avctx->height, 16) >> 4; FFALIGN 489 libavcodec/alacenc.c return FFALIGN(header_bits + bps * ch * frame_size + 3, 8) / 8; FFALIGN 1486 libavcodec/apedec.c 2 * FFALIGN(blockstodecode, 8) * sizeof(*s->decoded_buffer)); FFALIGN 1491 libavcodec/apedec.c s->decoded[1] = s->decoded_buffer + FFALIGN(blockstodecode, 8); FFALIGN 232 libavcodec/asvenc.c clone->width = FFALIGN(pict->width, 16); FFALIGN 233 libavcodec/asvenc.c clone->height = FFALIGN(pict->height, 16); FFALIGN 888 libavcodec/atrac3.c q->decoded_bytes_buffer = av_mallocz(FFALIGN(avctx->block_align, 4) + FFALIGN 155 libavcodec/bink.c width = FFALIGN(width, 8); FFALIGN 1009 libavcodec/cavsdec.c int alloc_size = FFALIGN(FFABS(h->cur.f->linesize[0]) + 32, 32); FFALIGN 253 libavcodec/cdxl.c aligned_width = FFALIGN(c->avctx->width, 16); FFALIGN 878 libavcodec/cook.c -1.0f, 1.0f, FFALIGN(q->samples_per_channel, 8)); FFALIGN 42 libavcodec/cscd.c int i, src_stride = FFALIGN(linelen, 4); FFALIGN 54 libavcodec/cscd.c int i, j, src_stride = FFALIGN(linelen, 4); FFALIGN 140 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 155 libavcodec/dcaenc.c c->frame_bits = FFALIGN((avctx->bit_rate * 512 + avctx->sample_rate - 1) / avctx->sample_rate, 32); FFALIGN 338 libavcodec/diracdec.c w = FFALIGN(CALC_PADDING(w, MAX_DWT_LEVELS), 8); /* FIXME: Should this be 16 for SSE??? */ FFALIGN 827 libavcodec/diracdec.c p->idwt_stride = FFALIGN(p->idwt_width, 8); FFALIGN 1616 libavcodec/diracdec.c s->edge_emu_buffer[i] = s->edge_emu_buffer_base + i*FFALIGN(p->width, 16); FFALIGN 225 libavcodec/dpx.c need_align = FFALIGN(stride, 4); FFALIGN 238 libavcodec/dpx.c stride = FFALIGN(stride, 4); FFALIGN 149 libavcodec/dpxenc.c pad = (FFALIGN(pad, 4) - pad) >> 1; FFALIGN 185 libavcodec/dpxenc.c size = FFALIGN(len, 4); FFALIGN 191 libavcodec/dpxenc.c size = FFALIGN(len, 4); FFALIGN 252 libavcodec/dxtory.c off = FFALIGN(nslices * 4 + 2, 16); FFALIGN 334 libavcodec/dxtory.c off = FFALIGN(nslices * 4 + 2, 16); FFALIGN 423 libavcodec/dxtory.c off = FFALIGN(nslices * 4 + 2, 16); FFALIGN 526 libavcodec/dxtory.c off = FFALIGN(nslices * 4 + 2, 16); FFALIGN 625 libavcodec/dxtory.c off = FFALIGN(nslices * 4 + 2, 16); FFALIGN 234 libavcodec/eatgq.c for (y = 0; y < FFALIGN(avctx->height, 16) >> 4; y++) FFALIGN 235 libavcodec/eatgq.c for (x = 0; x < FFALIGN(avctx->width, 16) >> 4; x++) FFALIGN 337 libavcodec/fic.c ctx->slice_h = FFALIGN(ctx->slice_h - 16, 16); FFALIGN 378 libavcodec/fic.c slice_h = FFALIGN(avctx->height - ctx->slice_h * (nslices - 1), 16); FFALIGN 442 libavcodec/fic.c ctx->aligned_width = FFALIGN(avctx->width, 16); FFALIGN 443 libavcodec/fic.c ctx->aligned_height = FFALIGN(avctx->height, 16); FFALIGN 256 libavcodec/g2meet.c width = FFALIGN(width, 16); FFALIGN 421 libavcodec/g2meet.c bstride = FFALIGN(width, 16) >> 3; FFALIGN 424 libavcodec/g2meet.c for (i = 0; i < (FFALIGN(height, 16) >> 4); i++) { FFALIGN 425 libavcodec/g2meet.c for (j = 0; j < (FFALIGN(width, 16) >> 4); j++) { FFALIGN 462 libavcodec/g2meet.c c->framebuf_stride = FFALIGN(c->width + 15, 16) * 3; FFALIGN 472 libavcodec/g2meet.c c->tile_stride = FFALIGN(c->tile_width, 16) * 3; FFALIGN 473 libavcodec/g2meet.c aligned_height = FFALIGN(c->tile_height, 16); FFALIGN 508 libavcodec/g2meet.c cursor_stride = FFALIGN(cursor_w, cursor_fmt==1 ? 32 : 1) * 4; FFALIGN 593 libavcodec/g2meet.c bytestream2_skip(gb, c->cursor_h * (FFALIGN(c->cursor_w, 32) >> 3)); FFALIGN 166 libavcodec/h264_slice.c int alloc_size = FFALIGN(FFABS(linesize) + 32, 32); FFALIGN 1124 libavcodec/h264_slice.c FFALIGN(h->avctx->width, 16) == h->width && FFALIGN 1125 libavcodec/h264_slice.c FFALIGN(h->avctx->height, 16) == h->height) { FFALIGN 315 libavcodec/hevc_filter.c int tab = sao_tab[(FFALIGN(width, 8) >> 3) - 1]; FFALIGN 553 libavcodec/hqx.c avctx->coded_width = FFALIGN(ctx->width, 16); FFALIGN 554 libavcodec/hqx.c avctx->coded_height = FFALIGN(ctx->height, 16); FFALIGN 368 libavcodec/iff.c s->planesize = FFALIGN(avctx->width, 16) >> 3; // Align plane size in bits to word-boundary FFALIGN 182 libavcodec/indeo3.c chroma_width = FFALIGN(luma_width >> 2, 4); FFALIGN 183 libavcodec/indeo3.c chroma_height = FFALIGN(luma_height >> 2, 4); FFALIGN 185 libavcodec/indeo3.c luma_pitch = FFALIGN(luma_width, 16); FFALIGN 186 libavcodec/indeo3.c chroma_pitch = FFALIGN(chroma_width, 16); FFALIGN 343 libavcodec/ivi_common.c width_aligned = FFALIGN(b_width , align_fac); FFALIGN 344 libavcodec/ivi_common.c height_aligned = FFALIGN(b_height, align_fac); FFALIGN 615 libavcodec/lagarith.c l->rgb_stride = FFALIGN(avctx->width, 16); FFALIGN 195 libavcodec/lcldec.c if (c->imgtype == IMGTYPE_RGB24 && len == FFALIGN(width * 3, 4) * height || FFALIGN 415 libavcodec/lcldec.c linesize = len < FFALIGN(3 * width, 4) * height ? 3 * width : FFALIGN(3 * width, 4); FFALIGN 485 libavcodec/lcldec.c unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN 486 libavcodec/lcldec.c FFALIGN(avctx->height, 4); FFALIGN 201 libavcodec/libmp3lame.c if (frame->linesize[0] < 4 * FFALIGN(frame->nb_samples, 8)) { FFALIGN 209 libavcodec/libmp3lame.c FFALIGN(frame->nb_samples, 8)); FFALIGN 174 libavcodec/libtheoraenc.c t_info.frame_width = FFALIGN(avc_context->width, 16); FFALIGN 175 libavcodec/libtheoraenc.c t_info.frame_height = FFALIGN(avc_context->height, 16); FFALIGN 293 libavcodec/libtheoraenc.c t_yuv_buffer[i].width = FFALIGN(avc_context->width, 16) >> (i && h->uv_hshift); FFALIGN 294 libavcodec/libtheoraenc.c t_yuv_buffer[i].height = FFALIGN(avc_context->height, 16) >> (i && h->uv_vshift); FFALIGN 212 libavcodec/lpc.c LOCAL_ALIGNED(32, double, var, [FFALIGN(MAX_LPC_ORDER+1,4)]); FFALIGN 214 libavcodec/lpc.c memset(var, 0, FFALIGN(MAX_LPC_ORDER+1,4)*sizeof(*var)); FFALIGN 275 libavcodec/lpc.c s->windowed_buffer = av_mallocz((blocksize + 2 + FFALIGN(max_order, 4)) * FFALIGN 279 libavcodec/lpc.c s->windowed_samples = s->windowed_buffer + FFALIGN(max_order, 4); FFALIGN 1326 libavcodec/mpeg12dec.c (s1->save_progressive_seq != s->progressive_sequence && FFALIGN(s->height, 16) != FFALIGN(s->height, 32)) || FFALIGN 85 libavcodec/mpegaudiodsp.h #define MDCT_BUF_SIZE FFALIGN(36, 2*4) FFALIGN 447 libavcodec/mpegvideo.c int alloc_size = FFALIGN(FFABS(linesize) + 64, 32); FFALIGN 1177 libavcodec/mpegvideo_enc.c && FFALIGN(s->height, 32) - s->height > 16) FFALIGN 92 libavcodec/msrle.c int istride = FFALIGN(avctx->width*avctx->bits_per_coded_sample, 32) / 8; FFALIGN 658 libavcodec/mss12.c c->mask_stride = FFALIGN(avctx->width, 16); FFALIGN 578 libavcodec/mss4.c mb_width = FFALIGN(width, 16) >> 4; FFALIGN 579 libavcodec/mss4.c mb_height = FFALIGN(height, 16) >> 4; FFALIGN 653 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 120 libavcodec/nuv.c width = FFALIGN(width, 2); FFALIGN 121 libavcodec/nuv.c height = FFALIGN(height, 2); FFALIGN 2075 libavcodec/opus_celt.c s->dsp->vector_fmac_scalar(s->coeffs[0], s->coeffs[1], 1.0, FFALIGN(frame_size, 16)); FFALIGN 544 libavcodec/opusdec.c c->gain, FFALIGN(decoded_samples, 8)); FFALIGN 98 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 495 libavcodec/proresenc_anatoliy.c int frame_size = FFALIGN(avctx->width, 16) * FFALIGN(avctx->height, 16)*16 + 500 + FF_MIN_BUFFER_SIZE; //FIXME choose tighter limit FFALIGN 687 libavcodec/proresenc_kostya.c return FFALIGN(bits, 8); FFALIGN 1178 libavcodec/proresenc_kostya.c ctx->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 1181 libavcodec/proresenc_kostya.c ctx->mb_height = FFALIGN(avctx->height, 32) >> 5; FFALIGN 1183 libavcodec/proresenc_kostya.c ctx->mb_height = FFALIGN(avctx->height, 16) >> 4; FFALIGN 1537 libavcodec/qdm2.c for (i = 0; i < FFALIGN(q->fft_size, 8); i++) { FFALIGN 46 libavcodec/r210dec.c int aligned_width = FFALIGN(avctx->width, FFALIGN 41 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 42 libavcodec/ra288.c DECLARE_ALIGNED(32, float, sp_lpc)[FFALIGN(36, 16)]; ///< LPC coefficients for speech data (spec: A) FFALIGN 43 libavcodec/ra288.c DECLARE_ALIGNED(32, float, gain_lpc)[FFALIGN(10, 16)]; ///< LPC coefficients for gain (spec: GB) FFALIGN 154 libavcodec/ra288.c LOCAL_ALIGNED(32, float, work, [FFALIGN(MAX_BACKWARD_FILTER_ORDER + FFALIGN 160 libavcodec/ra288.c ractx->fdsp->vector_fmul(work, window, hist, FFALIGN(order + n + non_rec, 16)); FFALIGN 187 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 168 libavcodec/rawdec.c FFALIGN(avctx->width, 16), FFALIGN 296 libavcodec/rawdec.c FFALIGN(frame->linesize[0], linesize_align) * avctx->height <= buf_size) FFALIGN 297 libavcodec/rawdec.c frame->linesize[0] = FFALIGN(frame->linesize[0], linesize_align); FFALIGN 300 libavcodec/rawdec.c FFALIGN(frame->linesize[0], linesize_align) * avctx->height + FFALIGN 301 libavcodec/rawdec.c FFALIGN(frame->linesize[1], linesize_align) * ((avctx->height + 1) / 2) <= buf_size) { FFALIGN 302 libavcodec/rawdec.c int la0 = FFALIGN(frame->linesize[0], linesize_align); FFALIGN 305 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 171 libavcodec/sunrastenc.c s->length = avctx->height * (FFALIGN(avctx->width * s->depth, 16) >> 3); FFALIGN 678 libavcodec/svq1dec.c pmv = av_malloc((FFALIGN(s->width, 16) / 8 + 3) * sizeof(*pmv)); FFALIGN 686 libavcodec/svq1dec.c width = FFALIGN(s->width, 16); FFALIGN 687 libavcodec/svq1dec.c height = FFALIGN(s->height, 16); FFALIGN 691 libavcodec/svq1dec.c width = FFALIGN(s->width / 4, 16); FFALIGN 692 libavcodec/svq1dec.c height = FFALIGN(s->height / 4, 16); FFALIGN 166 libavcodec/takdec.c s->uval = FFALIGN(avctx->sample_rate + 511 >> 9, 4) << shift; FFALIGN 167 libavcodec/takdec.c s->subframe_scale = FFALIGN(avctx->sample_rate + 511 >> 9, 4) << 1; FFALIGN 38 libavcodec/targa_y216dec.c uint16_t *y, *u, *v, aligned_width = FFALIGN(avctx->width, 4); FFALIGN 360 libavcodec/tscc2.c c->mb_width = FFALIGN(avctx->width, 16) >> 4; FFALIGN 361 libavcodec/tscc2.c c->mb_height = FFALIGN(avctx->height, 8) >> 3; FFALIGN 425 libavcodec/utils.c *width = FFALIGN(*width, w_align); FFALIGN 426 libavcodec/utils.c *height = FFALIGN(*height, h_align); FFALIGN 448 libavcodec/utils.c *width = FFALIGN(*width, align); FFALIGN 3468 libavcodec/utils.c return frame_bytes / ((FFALIGN(ch, 2) * bps) / 8); FFALIGN 67 libavcodec/utvideoenc.c c->slice_stride = FFALIGN(avctx->width, 32); FFALIGN 882 libavcodec/vc1.c || v->s.mb_height == FFALIGN(v->s.height + 15 >> 4, 2)); FFALIGN 884 libavcodec/vc1.c v->s.mb_height = FFALIGN(v->s.height + 15 >> 4, 2); FFALIGN 326 libavcodec/vc1dec.c int mb_height = FFALIGN(s->mb_height, 2); FFALIGN 1736 libavcodec/vp3.c s->width = FFALIGN(avctx->coded_width, 16); FFALIGN 1737 libavcodec/vp3.c s->height = FFALIGN(avctx->coded_height, 16); FFALIGN 88 libavcodec/vp6.c FFALIGN(s->avctx->width, 16) == 16 * cols && FFALIGN 89 libavcodec/vp6.c FFALIGN(s->avctx->height, 16) == 16 * rows) { FFALIGN 458 libavcodec/webp.c blocks_w = FFALIGN((w), 1 << block_bits) >> block_bits; \ FFALIGN 459 libavcodec/webp.c blocks_h = FFALIGN((h), 1 << block_bits) >> block_bits; \ FFALIGN 769 libavcodec/wmalosslessdec.c FFALIGN(s->cdlms[ch][ilms].order, FFALIGN 162 libavcodec/xsubenc.c width = FFALIGN(h->rects[0]->w, 2) + PADDING * 2; FFALIGN 163 libavcodec/xsubenc.c height = FFALIGN(h->rects[0]->h, 2); FFALIGN 138 libavcodec/xwddec.c rsize = FFALIGN(avctx->width * bpp, bpad) / 8; FFALIGN 145 libavcodec/xwdenc.c lsize = FFALIGN(bpp * avctx->width, bpad) / 8; FFALIGN 312 libavcodec/zmbvenc.c c->pstride = FFALIGN(avctx->width, 16); FFALIGN 298 libavfilter/af_amix.c plane_size = FFALIGN(plane_size, 16); FFALIGN 424 libavfilter/af_volume.c plane_samples = FFALIGN(nb_samples, vol->samples_align); FFALIGN 426 libavfilter/af_volume.c plane_samples = FFALIGN(nb_samples * vol->channels, vol->samples_align); FFALIGN 514 libavfilter/vf_dctdnoiz.c s->p_linesize = linesize = FFALIGN(s->pr_width, 32); FFALIGN 880 libavfilter/vf_fieldmatch.c fm->tpitchy = FFALIGN(w, 16); FFALIGN 881 libavfilter/vf_fieldmatch.c fm->tpitchuv = FFALIGN(w >> 1, 16); FFALIGN 512 libavfilter/vf_fspp.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 518 libavfilter/vf_fspp.c fspp->temp_stride = FFALIGN(inlink->w + 16, 16); FFALIGN 621 libavfilter/vf_fspp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 622 libavfilter/vf_fspp.c const int aligned_h = FFALIGN(inlink->h, 8); 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 279 libavfilter/vf_owdenoise.c const int h = FFALIGN(inlink->h, 16); FFALIGN 284 libavfilter/vf_owdenoise.c s->linesize = FFALIGN(inlink->w, 16); FFALIGN 123 libavfilter/vf_pp.c const int aligned_w = FFALIGN(outlink->w, 8); FFALIGN 124 libavfilter/vf_pp.c const int aligned_h = FFALIGN(outlink->h, 8); FFALIGN 292 libavfilter/vf_pp7.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 298 libavfilter/vf_pp7.c pp7->temp_stride = FFALIGN(inlink->w + 16, 16); FFALIGN 341 libavfilter/vf_pp7.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 342 libavfilter/vf_pp7.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 116 libavfilter/vf_pullup.c f->diffs = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->diffs)); FFALIGN 117 libavfilter/vf_pullup.c f->combs = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->combs)); FFALIGN 118 libavfilter/vf_pullup.c f->vars = av_calloc(FFALIGN(s->metric_length, 16), sizeof(*f->vars)); FFALIGN 153 libavfilter/vf_sab.c int linesize = FFALIGN(width, 8); FFALIGN 182 libavfilter/vf_sab.c f->dist_linesize = FFALIGN(vec->length, 8); FFALIGN 238 libavfilter/vf_spp.c const int linesize = is_luma ? p->temp_linesize : FFALIGN(width+16, 16); FFALIGN 329 libavfilter/vf_spp.c const int h = FFALIGN(inlink->h + 16, 16); FFALIGN 341 libavfilter/vf_spp.c spp->temp_linesize = FFALIGN(inlink->w + 16, 16); FFALIGN 406 libavfilter/vf_spp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 407 libavfilter/vf_spp.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 424 libavfilter/vf_uspp.c const int aligned_w = FFALIGN(inlink->w, 8); FFALIGN 425 libavfilter/vf_uspp.c const int aligned_h = FFALIGN(inlink->h, 8); FFALIGN 306 libavfilter/vf_vignette.c s->fmap_linesize = FFALIGN(inlink->w, 32); FFALIGN 913 libavfilter/vsrc_testsrc.c r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w); FFALIGN 914 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h * 2 / 3, 1 << pixdesc->log2_chroma_h); FFALIGN 915 libavfilter/vsrc_testsrc.c w_h = FFALIGN(test->h * 3 / 4 - r_h, 1 << pixdesc->log2_chroma_h); FFALIGN 916 libavfilter/vsrc_testsrc.c p_w = FFALIGN(r_w * 5 / 4, 1 << pixdesc->log2_chroma_w); FFALIGN 931 libavfilter/vsrc_testsrc.c tmp = FFALIGN(5 * r_w - x, 1 << pixdesc->log2_chroma_w); FFALIGN 934 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w); FFALIGN 980 libavfilter/vsrc_testsrc.c d_w = FFALIGN(test->w / 8, 1 << pixdesc->log2_chroma_w); FFALIGN 981 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h * 7 / 12, 1 << pixdesc->log2_chroma_h); FFALIGN 985 libavfilter/vsrc_testsrc.c r_w = FFALIGN((((test->w + 3) / 4) * 3) / 7, 1 << pixdesc->log2_chroma_w); FFALIGN 992 libavfilter/vsrc_testsrc.c r_h = FFALIGN(test->h / 12, 1 << pixdesc->log2_chroma_h); FFALIGN 1023 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 3 / 2, 1 << pixdesc->log2_chroma_w); FFALIGN 1026 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 2, 1 << pixdesc->log2_chroma_w); FFALIGN 1029 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w * 5 / 6, 1 << pixdesc->log2_chroma_w); FFALIGN 1032 libavfilter/vsrc_testsrc.c tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w); FFALIGN 94 libavformat/aiffenc.c avio_wb32(pb, FFALIGN(size, 2)); FFALIGN 133 libavformat/cdxl.c if (FFALIGN(width, 16) * (uint64_t)height * cdxl->header[19] > INT_MAX) FFALIGN 135 libavformat/cdxl.c image_size = FFALIGN(width, 16) * height * cdxl->header[19] / 8; FFALIGN 637 libavformat/flvenc.c avio_w8(pb, ((FFALIGN(enc->width, 16) - enc->width) << 4) | FFALIGN 638 libavformat/flvenc.c (FFALIGN(enc->height, 16) - enc->height)); 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 189 libavformat/spdifdec.c ret = av_new_packet(pkt, FFALIGN(pkt_size_bits, 16) >> 3); FFALIGN 228 libavformat/spdifenc.c ctx->length_code = FFALIGN(ctx->out_bytes + 0x8, 0x10) - 0x8; FFALIGN 502 libavformat/spdifenc.c ctx->length_code = FFALIGN(pkt->size, 2) << 3; FFALIGN 330 libavformat/swfdec.c linesize = FFALIGN(linesize, 4); FFALIGN 467 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24); FFALIGN 690 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - size); FFALIGN 712 libavformat/wavdec.c end = start + FFALIGN(size, INT64_C(8)) - 24; FFALIGN 738 libavformat/wavdec.c avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24); FFALIGN 555 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 171 libavutil/frame.c FFALIGN(frame->width, i)); FFALIGN 179 libavutil/frame.c frame->linesize[i] = FFALIGN(frame->linesize[i], align); FFALIGN 183 libavutil/frame.c int h = FFALIGN(frame->height, 32); 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 334 libavutil/imgutils.c dst_linesize[i] = FFALIGN(dst_linesize[i], align); FFALIGN 387 libavutil/imgutils.c dst += FFALIGN(linesize[i], align); FFALIGN 103 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 133 libavutil/samplefmt.c nb_samples = FFALIGN(nb_samples, 32); FFALIGN 141 libavutil/samplefmt.c line_size = planar ? FFALIGN(nb_samples * sample_size, align) : FFALIGN 142 libavutil/samplefmt.c FFALIGN(nb_samples * sample_size * nb_channels, align); FFALIGN 919 libpostproc/postprocess.c int stride= FFALIGN(width, 16); //assumed / will realloc if needed FFALIGN 219 libswresample/resample.c c->filter_alloc = FFALIGN(c->filter_length, 8); FFALIGN 349 libswresample/swresample.c countb= FFALIGN(count*a->bps, ALIGN); FFALIGN 111 libswscale/swscale-test.c srcStride[p] = FFALIGN(srcStride[p], 16); FFALIGN 145 libswscale/swscale-test.c dstStride[i] = FFALIGN(dstStride[i], 16); FFALIGN 184 libswscale/swscale-test.c refStride[i] = FFALIGN(refStride[i], 16); FFALIGN 274 libswscale/swscale.c FFALIGN(srcW*2+78, 16); FFALIGN 280 libswscale/swscale.c FFALIGN(srcW*2+78, 16); FFALIGN 974 libswscale/utils.c int dst_stride = FFALIGN(dstW * sizeof(int16_t) + 66, 16); FFALIGN 1187 libswscale/utils.c FF_ALLOCZ_OR_GOTO(c, c->formatConvBuffer, FFALIGN(srcW*2+78, 16) * 2, fail);