Searched refs:bsp_size (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv98_video_bsp.c | 45 uint32_t slice_size, bucket_size, ring_size, bsp_size; in nv98_decoder_bsp() local 63 bsp_size = NOUVEAU_VP3_BSP_RESERVED_SIZE; in nv98_decoder_bsp() 65 bsp_size += num_bytes[i]; in nv98_decoder_bsp() 66 bsp_size += 256; /* the 4 end markers */ in nv98_decoder_bsp() 68 if (!bsp_bo || bsp_size > bsp_bo->size) { in nv98_decoder_bsp() 72 bsp_size += (1 << 20) - 1; in nv98_decoder_bsp() 73 bsp_size &= ~((1 << 20) - 1); in nv98_decoder_bsp() 75 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, NULL, &tmp_bo); in nv98_decoder_bsp() 78 bsp_bo ? (unsigned)bsp_bo->size : 0, bsp_size, ret); in nv98_decoder_bsp()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video_bsp.c | 58 uint32_t bsp_size = 0; in nvc0_decoder_bsp_next() local 62 bsp_size = dec->bsp_ptr - (char *)bsp_bo->map; in nvc0_decoder_bsp_next() 64 bsp_size += num_bytes[i]; in nvc0_decoder_bsp_next() 65 bsp_size += 256; /* the 4 end markers */ in nvc0_decoder_bsp_next() 67 if (bsp_size > bsp_bo->size) { in nvc0_decoder_bsp_next() 75 bsp_size += (1 << 20) - 1; in nvc0_decoder_bsp_next() 76 bsp_size &= ~((1 << 20) - 1); in nvc0_decoder_bsp_next() 78 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, &cfg, &tmp_bo); in nvc0_decoder_bsp_next() 81 bsp_bo ? (unsigned)bsp_bo->size : 0, bsp_size, ret); in nvc0_decoder_bsp_next()
|