Home
last modified time | relevance | path

Searched refs:bsp_bo (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c37 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_bsp_begin() local
40 ret = nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client); in nvc0_decoder_bsp_begin()
56 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_bsp_next() local
62 bsp_size = dec->bsp_ptr - (char *)bsp_bo->map; in nvc0_decoder_bsp_next()
67 if (bsp_size > bsp_bo->size) { in nvc0_decoder_bsp_next()
81 bsp_bo ? (unsigned)bsp_bo->size : 0, bsp_size, ret); in nvc0_decoder_bsp_next()
94 memcpy(tmp_bo->map, bsp_bo->map, bsp_bo->size); in nvc0_decoder_bsp_next()
97 dec->bsp_ptr = tmp_bo->map + (dec->bsp_ptr - (char *)bsp_bo->map); in nvc0_decoder_bsp_next()
99 nouveau_bo_ref(NULL, &bsp_bo); in nvc0_decoder_bsp_next()
100 dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH] = bsp_bo = tmp_bo; in nvc0_decoder_bsp_next()
[all …]
Dnvc0_video_vp.c77 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_vp() local
83 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
118 bsp_addr = bsp_bo->offset >> 8; in nvc0_decoder_vp()
Dnvc0_video.c203 0, 1 << 20, &cfg, &dec->bsp_bo[i]); in nvc0_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_bsp.c48 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nv98_decoder_bsp() local
51 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_bsp()
68 if (!bsp_bo || bsp_size > bsp_bo->size) { in nv98_decoder_bsp()
78 bsp_bo ? (unsigned)bsp_bo->size : 0, bsp_size, ret); in nv98_decoder_bsp()
81 nouveau_bo_ref(NULL, &bsp_bo); in nv98_decoder_bsp()
82 bo_refs[0].bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH] = bsp_bo = tmp_bo; in nv98_decoder_bsp()
85 if (!inter_bo || bsp_bo->size * 4 > inter_bo->size) { in nv98_decoder_bsp()
88 … ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_bo->size * 4, NULL, &tmp_bo); in nv98_decoder_bsp()
91 inter_bo ? (unsigned)inter_bo->size : 0, (unsigned)bsp_bo->size * 4, ret); in nv98_decoder_bsp()
98 ret = nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client); in nv98_decoder_bsp()
[all …]
Dnv98_video_vp.c77 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nv98_decoder_vp() local
83 { bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
118 bsp_addr = bsp_bo->offset >> 8; in nv98_decoder_vp()
Dnv98_video.c186 0, 1 << 20, NULL, &dec->bsp_bo[i]); in nv98_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_bsp.c236 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in strparm_bsp() local
237 return (struct strparm_bsp *)(bsp_bo->map + 0x100); in strparm_bsp()
263 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nouveau_vp3_bsp_next() local
270 assert(bsp_bo->size >= str_bsp->w0[0] + num_bytes[i]); in nouveau_vp3_bsp_next()
283 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nouveau_vp3_bsp_end() local
286 char *bsp = bsp_bo->map; in nouveau_vp3_bsp_end()
Dnouveau_vp3_video_vp.c461 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nouveau_vp3_vp_caps() local
463 char *vp = bsp_bo->map + VP_OFFSET; in nouveau_vp3_vp_caps()
Dnouveau_vp3_video.h90 struct nouveau_bo *bsp_bo[NOUVEAU_VP3_VIDEO_QDEPTH]; member
Dnouveau_vp3_video.c209 nouveau_bo_ref(NULL, &dec->bsp_bo[i]); in nouveau_vp3_decoder_destroy()