Home
last modified time | relevance | path

Searched refs:last_level (Results 1 – 25 of 180) sorted by relevance

12345678

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_unittest.cc111 int last_level = 128; in TEST_F() local
112 EXPECT_CALL(checker_, LevelChanged(_, GtPointee(&last_level))) in TEST_F()
114 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
116 EXPECT_EQ(255, last_level); in TEST_F()
119 EXPECT_CALL(checker_, LevelChanged(_, LtPointee(&last_level))) in TEST_F()
121 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
123 EXPECT_EQ(1, last_level); in TEST_F()
127 int last_level = 128; in TEST_F() local
134 EXPECT_CALL(checker_, LevelChanged(_, GtPointee(&last_level))) in TEST_F()
136 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dtexture9.c129 info->last_level = Levels - 1; in NineTexture9_ctor()
131 info->last_level = util_logbase2(MAX2(Width, Height)); in NineTexture9_ctor()
153 level_offsets = alloca(sizeof(unsigned) * (info->last_level + 1)); in NineTexture9_ctor()
156 info->last_level); in NineTexture9_ctor()
163 level_offsets = alloca(sizeof(unsigned) * (info->last_level + 1)); in NineTexture9_ctor()
167 info->last_level), 32); in NineTexture9_ctor()
173 This->surfaces = CALLOC(info->last_level + 1, sizeof(*This->surfaces)); in NineTexture9_ctor()
193 for (l = 0; l <= info->last_level; ++l) { in NineTexture9_ctor()
230 for (l = 0; l <= This->base.base.info.last_level; ++l) in NineTexture9_dtor()
249 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineTexture9_GetLevelDesc()
[all …]
Dbasetexture9.c122 0 : This->base.info.last_level; in NineBaseTexture9_SetLOD()
146 return This->base.info.last_level + 1; in NineBaseTexture9_GetLevelCount()
178 unsigned last_level = This->base.info.last_level; in NineBaseTexture9_UploadSelf() local
188 last_level = 0; in NineBaseTexture9_UploadSelf()
213 This->managed.lod_resident = This->base.info.last_level + 1; in NineBaseTexture9_UploadSelf()
226 for (l = 0; l <= This->base.info.last_level; ++l) in NineBaseTexture9_UploadSelf()
233 for (l = 0; l <= This->base.info.last_level; ++l) { in NineBaseTexture9_UploadSelf()
242 for (l = 0; l <= This->base.info.last_level; ++l) in NineBaseTexture9_UploadSelf()
269 for (l = min_level_dirty; l <= last_level; ++l) { in NineBaseTexture9_UploadSelf()
290 for (l = min_level_dirty; l <= last_level; ++l) { in NineBaseTexture9_UploadSelf()
[all …]
Dcubetexture9.c88 info->last_level = Levels - 1; in NineCubeTexture9_ctor()
90 info->last_level = util_logbase2(EdgeLength); in NineCubeTexture9_ctor()
110 level_offsets = alloca(sizeof(unsigned) * (info->last_level + 1)); in NineCubeTexture9_ctor()
113 info->last_level); in NineCubeTexture9_ctor()
119 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); in NineCubeTexture9_ctor()
145 for (l = 0; l <= info->last_level; l++) { in NineCubeTexture9_ctor()
176 for (i = 0; i < (This->base.base.info.last_level + 1) * 6; ++i) in NineCubeTexture9_dtor()
194 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineCubeTexture9_GetLevelDesc()
214 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineCubeTexture9_GetCubeMapSurface()
238 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineCubeTexture9_LockRect()
[all …]
Dvolumetexture9.c86 info->last_level = Levels - 1; in NineVolumeTexture9_ctor()
88 info->last_level = util_logbase2(MAX2(MAX2(Width, Height), Depth)); in NineVolumeTexture9_ctor()
102 This->volumes = CALLOC(info->last_level + 1, sizeof(*This->volumes)); in NineVolumeTexture9_ctor()
116 for (l = 0; l <= info->last_level; ++l) { in NineVolumeTexture9_ctor()
142 for (l = 0; l <= This->base.base.info.last_level; ++l) in NineVolumeTexture9_dtor()
155 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetLevelDesc()
167 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetVolumeLevel()
185 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineVolumeTexture9_LockBox()
197 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL); in NineVolumeTexture9_UnlockBox()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c128 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
142 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
147 face, level, mt->first_level, mt->last_level); in i915_miptree_layout_cube()
169 for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { in i915_miptree_layout_3d()
182 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_3d()
210 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_2d()
337 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube()
358 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube()
419 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_3d()
Dintel_mipmap_tree.h162 GLuint last_level; member
228 GLuint last_level,
240 GLuint last_level,
292 assert(level <= mt->last_level); in intel_miptree_check_level_layer()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c193 unsigned last_level = 0; in prepare_shader_sampling() local
207 last_level = view->u.tex.last_level; in prepare_shader_sampling()
208 assert(first_level <= last_level); in prepare_shader_sampling()
209 assert(last_level <= res->last_level); in prepare_shader_sampling()
212 for (j = first_level; j <= last_level; j++) { in prepare_shader_sampling()
222 for (j = first_level; j <= last_level; j++) { in prepare_shader_sampling()
266 first_level, last_level, in prepare_shader_sampling()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c266 unsigned last_level = 0; in prepare_shader_sampling() local
275 last_level = view->u.tex.last_level; in prepare_shader_sampling()
276 assert(first_level <= last_level); in prepare_shader_sampling()
277 assert(last_level <= res->last_level); in prepare_shader_sampling()
280 for (j = first_level; j <= last_level; j++) { in prepare_shader_sampling()
290 for (j = first_level; j <= last_level; j++) { in prepare_shader_sampling()
334 first_level, last_level, in prepare_shader_sampling()
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c60 enum pipe_format format, uint base_level, uint last_level, in util_gen_mipmap() argument
89 assert(last_level <= pt->last_level); in util_gen_mipmap()
92 assert(last_level > base_level); in util_gen_mipmap()
103 for (dstLevel = base_level + 1; dstLevel <= last_level; dstLevel++) { in util_gen_mipmap()
Du_debug_describe.c47 …uf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
50 …2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
56 …be<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
59 …u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
/external/adhd/cras/src/server/
Drate_estimator.c76 re->last_level = 0; in rate_estimator_reset_rate()
89 re->last_level = level; in rate_estimator_check()
94 re->window_frames += abs(re->last_level - level + re->level_diff); in rate_estimator_check()
96 re->last_level = level; in rate_estimator_check()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_sampler_view.c72 assert(max_lod <= pt->last_level); in svga_get_tex_sampler_view()
82 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view()
101 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view()
131 pt->last_level); in svga_get_tex_sampler_view()
146 pt->last_level); in svga_get_tex_sampler_view()
Dsvga_state_tss.c83 unsigned last_level, min_lod, max_lod; in emit_tex_binding_unit() local
92 last_level = MIN2(sv->u.tex.last_level, sv->texture->last_level); in emit_tex_binding_unit()
94 min_lod = MIN2(min_lod, last_level); in emit_tex_binding_unit()
95 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level); in emit_tex_binding_unit()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c110 surf_drm->last_level = tex->last_level; in surf_winsys_to_drm()
159 for (i = 0; i <= surf_drm->last_level; i++) { in surf_winsys_to_drm()
169 for (i = 0; i <= surf_drm->last_level; i++) { in surf_winsys_to_drm()
202 for (i = 0; i <= surf_drm->last_level; i++) { in surf_drm_to_winsys()
211 for (i = 0; i <= surf_drm->last_level; i++) { in surf_drm_to_winsys()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c127 if (level > tex->b.b.last_level) { in r300_texture_get_stride()
129 __FUNCTION__, level, tex->b.b.last_level); in r300_texture_get_stride()
163 tex->b.b.last_level != 0) { in r300_texture_get_nblocksy()
186 if (level == 0 && tex->b.b.last_level == 0 && in r300_texture_get_nblocksy()
227 for (i = 0; i <= base->last_level; i++) { in r300_setup_miptree()
303 for (i = 0; i <= tex->b.b.last_level; i++) in r300_setup_cbzb_flags()
363 for (i = 0; i <= tex->b.b.last_level; i++) { in r300_setup_hyperz_properties()
427 tex->b.b.last_level > 0 || in r300_setup_cmask_properties()
535 tex->b.b.last_level, tex->tex.size_in_bytes, in r300_tex_print_info()
550 tex->b.b.last_level = base->last_level; in r300_texture_desc_init()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_scanout_layout()
242 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_display_target_layout()
309 for (level = 0; level <= pt->last_level; level++) in i9x5_texture_layout_cube()
317 for (level = 0; level <= pt->last_level; level++) { in i9x5_texture_layout_cube()
348 for (level = 0; level <= pt->last_level; level++) { in i915_texture_layout_2d()
378 for (level = 0; level <= MAX2(8, pt->last_level); level++) { in i915_texture_layout_3d()
390 for (level = 0; level <= pt->last_level; level++) { in i915_texture_layout_3d()
460 if (pt->last_level > 0) { in i945_texture_layout_2d()
474 for (level = 0; level <= pt->last_level; level++) { in i945_texture_layout_2d()
517 for (level = 0; level <= pt->last_level; level++) { in i945_texture_layout_3d()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c335 last_level(const struct st_texture_object *stObj) in last_level() function
338 stObj->pt->last_level); in last_level()
431 templ.u.tex.last_level = last_level(stObj); in st_create_texture_sampler_view_from_stobj()
432 assert(templ.u.tex.first_level <= templ.u.tex.last_level); in st_create_texture_sampler_view_from_stobj()
484 assert(last_level(stObj) == view->u.tex.last_level); in st_get_texture_sampler_view_from_stobj()
Dst_texture.c59 GLuint last_level, in st_texture_create() argument
78 (int) target, util_format_name(format), last_level); in st_texture_create()
87 pt.last_level = last_level; in st_texture_create()
230 if (image->Level > pt->last_level) in st_texture_match_image()
/external/webp/src/utils/
Dquant_levels_dec_utils.c184 int i, j, last_level; in CountLevels() local
200 last_level = -1; in CountLevels()
204 if (last_level >= 0) { in CountLevels()
205 const int level_dist = i - last_level; in CountLevels()
210 last_level = i; in CountLevels()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c398 AddrSurfInfoIn.flags.pow2Pad = tex->last_level > 0; in amdgpu_surface_init()
421 tex->last_level == 0); in amdgpu_surface_init()
433 if (tex->last_level > 0) in amdgpu_surface_init()
500 for (level = 0; level <= tex->last_level; level++) { in amdgpu_surface_init()
535 for (level = 0; level <= tex->last_level; level++) { in amdgpu_surface_init()
560 if (surf->dcc_size && tex->last_level > 0) { in amdgpu_surface_init()
569 if (surf->htile_size && tex->last_level) in amdgpu_surface_init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c176 unsigned first_level, unsigned last_level, in si_blit_decompress_depth() argument
194 u_bit_consecutive(first_level, last_level - first_level + 1), in si_blit_decompress_depth()
304 unsigned first_level, unsigned last_level, in si_flush_depth_texture() argument
309 unsigned level_mask = u_bit_consecutive(first_level, last_level - first_level + 1); in si_flush_depth_texture()
403 view->u.tex.first_level, view->u.tex.last_level, in si_flush_depth_textures()
410 unsigned first_level, unsigned last_level, in si_blit_decompress_color() argument
418 u_bit_consecutive(first_level, last_level - first_level + 1); in si_blit_decompress_color()
429 for (int i = first_level; i <= last_level; i++) { in si_blit_decompress_color()
494 view->u.tex.first_level, view->u.tex.last_level, in si_decompress_sampler_color_textures()
557 surf->base.u.tex.level <= view->u.tex.last_level && in si_check_render_feedback_textures()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_resource.c132 if (ilo_dev_gen(dev) >= ILO_GEN(7) || templ->last_level == 0) { in resource_get_image_format()
194 info->level_count = templ->last_level + 1; in resource_get_image_info()
266 for (lv = 0; lv <= templ->last_level; lv++) in tex_alloc_slices()
281 for (lv = 1; lv <= templ->last_level; lv++) { in tex_alloc_slices()
365 for (lv = 0; lv <= templ->last_level; lv++) { in tex_create_hiz()
387 assert(tex->image.aux.enables == (1 << (tex->base.last_level + 1)) - 1); in tex_create_mcs()
508 img->aux.enables != (1 << templ->last_level)) { in tex_init_image()
694 img.aux.enables != (1 << templ->last_level)) { in ilo_can_create_resource()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp714 for (int level = 1; level <= pt->last_level; level++) in swr_texture_layout()
727 if (pt->last_level > 1) { in swr_texture_layout()
738 if (pt->last_level == 1) { in swr_texture_layout()
740 } else if (pt->last_level > 1) { in swr_texture_layout()
743 for (int level = 2; level <= pt->last_level; level++) { in swr_texture_layout()
779 for (int level = 0; level <= pt->last_level; level++) { in swr_texture_layout()
797 for (int level = 0; level <= pt->last_level; level++) { in swr_texture_layout()
853 assert(templat->last_level == 0); in swr_resource_create()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c376 AddrSurfInfoIn.flags.pow2Pad = surf->last_level > 0; in radv_amdgpu_winsys_surface_init()
389 surf->last_level == 0); in radv_amdgpu_winsys_surface_init()
401 if (surf->last_level > 0) in radv_amdgpu_winsys_surface_init()
460 for (level = 0; level <= surf->last_level; level++) { in radv_amdgpu_winsys_surface_init()
493 for (level = 0; level <= surf->last_level; level++) { in radv_amdgpu_winsys_surface_init()
518 if (surf->dcc_size && surf->last_level > 0) { in radv_amdgpu_winsys_surface_init()

12345678