Lines Matching refs:ALIGN
435 req.alloc_size = ALIGN(size, 4096);
619 size += ALIGN(sizeof(uvd_bitstream), 4*1024);
620 size += ALIGN(dpb_size, 4*1024);
621 size += ALIGN(dt_size, 4*1024);
645 dec += ALIGN(sizeof(uvd_bitstream), 4*1024);
647 dec += ALIGN(dpb_size, 4*1024);
653 dpb_addr = ALIGN(bs_addr + sizeof(uvd_bitstream), 4*1024);
654 ctx_addr = ALIGN(dpb_addr + 0x006B9400, 4*1024);
655 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024);
759 buf_size = ALIGN(width, 256) * ALIGN(height, 32) * 3 / 2;
828 ib_cpu[len++] = ALIGN(width, 16) / 16 * ALIGN(height, 16) / 16;
1303 buf_size = ALIGN(width, 256) * ALIGN(height, 32) * 3 / 2;
1328 for (int i = 0; i < ALIGN(height, 32) * 3 / 2; i++)
1329 memcpy(input_buf.ptr + i * ALIGN(width, 256), frame + i * width, width);
1431 ib_cpu[len++] = (input_buf.addr + ALIGN(width, 256) * ALIGN(height, 32)) >> 32;
1432 ib_cpu[len++] = input_buf.addr + ALIGN(width, 256) * ALIGN(height, 32);
1485 ib_cpu[len++] = ALIGN(width, 256) * ALIGN(height, 32); /* pic1 chroma offset */
1488 ib_cpu[len++] = ALIGN(width, 256) * ALIGN(height, 32) * 3 / 2; /* pic2 luma offset */
1489 ib_cpu[len++] = ALIGN(width, 256) * ALIGN(height, 32) * 5 / 2; /* pic2 chroma offset */