Home
last modified time | relevance | path

Searched refs:num_refs (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/
DRaspiCLI.c123 int raspicli_map_xref(const char *str, const XREF_T *map, int num_refs) in raspicli_map_xref() argument
127 for (i=0;i<num_refs;i++) in raspicli_map_xref()
144 const char *raspicli_unmap_xref(const int en, const XREF_T *map, int num_refs) in raspicli_unmap_xref() argument
148 for (i=0;i<num_refs;i++) in raspicli_unmap_xref()
DRaspiCLI.h52 int raspicli_map_xref(const char *str, const XREF_T *map, int num_refs);
53 const char *raspicli_unmap_xref(const int en, const XREF_T *map, int num_refs);
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.h108 int num_refs = bo->num_cs_references; in radeon_bo_is_referenced_by_cs() local
109 return num_refs == bo->rws->num_cs || in radeon_bo_is_referenced_by_cs()
110 (num_refs && radeon_lookup_buffer(cs->csc, bo) != -1); in radeon_bo_is_referenced_by_cs()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_bsp.c58 int num_refs = ARRAY_SIZE(bo_refs); in nv98_decoder_bsp() local
61 num_refs--; in nv98_decoder_bsp()
110 nouveau_pushbuf_space(push, 32, num_refs, 0); in nv98_decoder_bsp()
111 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nv98_decoder_bsp()
Dnv98_video_vp.c89 int num_refs = ARRAY_SIZE(bo_refs) - !dec->fw_bo; in nv98_decoder_vp() local
114 nouveau_pushbuf_space(push, 32 + codec_extra, num_refs, 0); in nv98_decoder_vp()
116 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nv98_decoder_vp()
Dnv98_video_ppp.c43 unsigned num_refs = ARRAY_SIZE(bo_refs); in nv98_decoder_setup_ppp() local
50 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nv98_decoder_setup_ppp()
Dnv84_video_vp.c84 int num_refs = ARRAY_SIZE(bo_refs); in nv84_decoder_vp_h264() local
150 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nv84_decoder_vp_h264()
493 int i, num_refs = ARRAY_SIZE(bo_refs); in nv84_decoder_vp_mpeg12() local
525 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nv84_decoder_vp_mpeg12()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c154 int num_refs = ARRAY_SIZE(bo_refs); in nvc0_decoder_bsp_end() local
157 num_refs--; in nvc0_decoder_bsp_end()
163 nouveau_pushbuf_space(push, 32, num_refs, 0); in nvc0_decoder_bsp_end()
164 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nvc0_decoder_bsp_end()
Dnvc0_video_vp.c89 int num_refs = ARRAY_SIZE(bo_refs) - !dec->fw_bo; in nvc0_decoder_vp() local
114 nouveau_pushbuf_space(push, 32 + codec_extra, num_refs, 0); in nvc0_decoder_vp()
116 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nvc0_decoder_vp()
Dnvc0_video_ppp.c43 unsigned num_refs = ARRAY_SIZE(bo_refs); in nvc0_decoder_setup_ppp() local
50 nouveau_pushbuf_refn(push, bo_refs, num_refs); in nvc0_decoder_setup_ppp()
/third_party/ffmpeg/libavcodec/
Ddiracdec.c160 int num_refs; /* number of reference pictures */ member
529 if (!s->num_refs) in codeblock()
630 if (b->orientation == subband_ll && s->num_refs == 0) { in decode_subband_internal()
1170 for (ref = 0; ref < s->num_refs; ref++) { in dirac_unpack_prediction_parameters()
1221 if (s->num_refs == 2) in dirac_unpack_prediction_parameters()
1247 s->zero_res = s->num_refs ? get_bits1(gb) : 0; in dirac_unpack_idwt_params()
1450 if (s->num_refs == 2) { in decode_block_params()
1467 for (i = 0; i < s->num_refs; i++) in decode_block_params()
1531 for (i = 0; i < s->num_refs; i++) { in dirac_unpack_block_motion_data()
1553 for (i = 0; i < 4 + 2*s->num_refs; i++) { in dirac_unpack_block_motion_data()
[all …]
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dsurface.c102 unsigned i, num_refs = 0; in GetPictureDescription() local
114 desc->ref[num_refs++] = ref->video_buffer; in GetPictureDescription()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h171 pipe_drop_resource_references(struct pipe_resource *dst, int num_refs) in pipe_drop_resource_references() argument
173 int count = p_atomic_add_return(&dst->reference.count, -num_refs); in pipe_drop_resource_references()
Du_threaded_context.c174 tc_drop_vertex_state_references(struct pipe_vertex_state *dst, int num_refs) in tc_drop_vertex_state_references() argument
176 int count = p_atomic_add_return(&dst->reference.count, -num_refs); in tc_drop_vertex_state_references()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c92 unsigned num_refs[ZINK_DESCRIPTOR_TYPES]; member
1066 pdd_cached(pg)->num_refs[type] += shader->bindings[type][j].size; in create_descriptor_ref_template()
1070 if (!pdd_cached(pg)->num_refs[type]) in create_descriptor_ref_template()
1073 …s[type] = ralloc_array(pg->dd, union zink_program_descriptor_refs, pdd_cached(pg)->num_refs[type]); in create_descriptor_ref_template()
1103 assert(ref_idx < pdd_cached(pg)->num_refs[type]); in create_descriptor_ref_template()
1351 for (unsigned i = 0; i < pdd_cached(pg)->num_refs[type]; i++) { in set_descriptor_set_refs()