/hardware/intel/common/libva/test/basic/ |
D | test.c | 33 #define ASSERT assert macro 43 ASSERT( dpy ); in main() 47 ASSERT( va_dpy ); in main() 51 ASSERT( VA_STATUS_SUCCESS == va_status ); in main() 60 ASSERT( VA_STATUS_SUCCESS == va_status ); in main() 61 ASSERT( -1 == surfaces[20] ); /* bounds check */ in main() 75 ASSERT( VA_STATUS_SUCCESS == va_status ); in main() 82 ASSERT(profiles); in main() 86 ASSERT( VA_STATUS_SUCCESS == va_status ); in main() 105 ASSERT( VA_STATUS_SUCCESS == va_status ); in main() [all …]
|
D | test_07.c | 45 ASSERT(surface_list1[i] != VA_INVALID_SURFACE); in test_unique_surfaces() 46 ASSERT(surface_list2[j] != VA_INVALID_SURFACE); in test_unique_surfaces() 47 ASSERT(surface_list1[i] != surface_list2[j]); in test_unique_surfaces() 68 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 69 ASSERT( DEAD_SURFACE_ID == surfaces_1[1] ); /* bounds check */ in test() 74 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 75 ASSERT( DEAD_SURFACE_ID == surfaces_4[4] ); /* bounds check */ in test() 80 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 81 ASSERT( DEAD_SURFACE_ID == surfaces_16[16] ); /* bounds check */ in test() 91 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() [all …]
|
D | test_06.c | 45 ASSERT(max_entrypoints > 0); in pre() 47 ASSERT(entrypoints); in pre() 50 ASSERT(configs); in pre() 57 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 62 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 74 ASSERT(max_attribs > 0); in test() 84 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 96 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 97 ASSERT( profile == profiles[i] ); in test() 98 ASSERT( entrypoint == entrypoints[j] ); in test() [all …]
|
D | test_11.c | 39 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 51 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 56 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 67 ASSERT(buffer_list[i] != buffer_list[j]); in test_unique_buffers() 114 ASSERT(input_data[i]); in test() 124 ASSERT(data); in test() 129 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 142 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 146 ASSERT( memcmp(input_data[i], data, buffer_sizes[i]) == 0 ); in test() 152 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() [all …]
|
D | test_vaSurfaceAttrib.c | 52 ASSERT ( usrbuf != NULL); in test() 58 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 67 ASSERT(0); in test() 74 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 79 ASSERT(0); in test() 84 ASSERT(0); in test() 91 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 96 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 137 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 140 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() [all …]
|
D | test_10.c | 39 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 51 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 56 ASSERT( VA_STATUS_SUCCESS == va_status ); in pre() 67 ASSERT(buffer_list[i] != buffer_list[j]); in test_unique_buffers() 112 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 113 ASSERT( DEAD_BUFFER_ID == buffer_ids[i+1] ); /* Bounds check */ in test() 120 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 128 ASSERT( VA_STATUS_SUCCESS == va_status ); in post() 132 ASSERT( VA_STATUS_SUCCESS == va_status ); in post() 135 ASSERT( VA_STATUS_SUCCESS == va_status ); in post()
|
D | test_09.c | 42 ASSERT(max_entrypoints > 0); in test() 44 ASSERT(entrypoints); in test() 52 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 58 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 73 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 80 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 87 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 94 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 98 ASSERT( VA_STATUS_SUCCESS == va_status ); in test()
|
D | test_common.c | 39 #define ASSERT assert macro 114 ASSERT(0); in profile2string() 134 ASSERT(0); in entrypoint2string() 145 ASSERT(max_profiles > 0); in test_profiles() 147 ASSERT(profiles); in test_profiles() 150 ASSERT( VA_STATUS_SUCCESS == va_status ); in test_profiles() 153 ASSERT(num_profiles <= max_profiles); in test_profiles() 154 ASSERT(num_profiles > 0); in test_profiles()
|
D | test_03.c | 42 ASSERT(max_entrypoints > 0); in test() 45 ASSERT(entrypoints); in test() 51 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 53 ASSERT(num_entrypoints <= max_entrypoints); in test() 54 ASSERT(num_entrypoints > 0); in test()
|
D | test_04.c | 51 ASSERT(max_entrypoints > 0); in test() 53 ASSERT(entrypoints); in test() 56 ASSERT(attrib_list); in test() 61 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 68 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 72 ASSERT(attrib_list[k].value != DEADVALUE); in test()
|
D | test_05.c | 42 ASSERT(max_entrypoints > 0); in test() 44 ASSERT(entrypoints); in test() 51 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 57 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 67 ASSERT( VA_STATUS_SUCCESS == va_status ); in test()
|
D | test_08.c | 42 ASSERT(surface_list[i] != VA_INVALID_SURFACE); in test_unique_surfaces() 46 ASSERT(surface_list[i] != surface_list[j]); in test_unique_surfaces() 78 ASSERT( VA_STATUS_SUCCESS == va_status ); in test() 79 ASSERT( DEAD_SURFACE_ID == surfaces[i+1] ); in test() 86 ASSERT( VA_STATUS_SUCCESS == va_status ); in test()
|
D | test_x11.c | 34 ASSERT( dpy ); in test_init() 38 ASSERT( va_dpy ); in test_init() 42 ASSERT( VA_STATUS_SUCCESS == va_status ); in test_init() 49 ASSERT( VA_STATUS_SUCCESS == va_status ); in test_terminate()
|
D | test_android.c | 35 ASSERT( dpy ); in test_init() 39 ASSERT( va_dpy ); in test_init() 43 ASSERT( VA_STATUS_SUCCESS == va_status ); in test_init() 50 ASSERT( VA_STATUS_SUCCESS == va_status ); in test_terminate()
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_surfacetexture.cpp | 40 #define ASSERT(X) \ macro 314 ASSERT(EGL_SUCCESS == eglGetError()); in initialize() 315 ASSERT(EGL_NO_DISPLAY != mEglDisplay); in initialize() 319 ASSERT(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); in initialize() 320 ASSERT(EGL_SUCCESS == eglGetError()); in initialize() 323 ASSERT(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig, in initialize() 325 ASSERT(EGL_SUCCESS == eglGetError()); in initialize() 329 ASSERT(NO_ERROR == mComposerClient->initCheck()); in initialize() 334 ASSERT(mSurfaceControl != NULL); in initialize() 335 ASSERT(mSurfaceControl->isValid()); in initialize() [all …]
|
/hardware/intel/img/psb_video/src/ |
D | object_heap.c | 112 ASSERT(heap->next_free >= 0); in object_heap_allocate() 182 ASSERT((obj->next_free == ALLOCATED) || (obj->next_free == SUSPENDED)); in object_heap_free() 199 ASSERT(obj->next_free != ALLOCATED); in object_heap_destroy() 200 ASSERT(obj->next_free != SUSPENDED); in object_heap_destroy() 217 ASSERT(obj->next_free == ALLOCATED); in object_heap_suspend_object() 220 ASSERT(obj->next_free == SUSPENDED); in object_heap_suspend_object()
|
D | psb_drv_debug.h | 43 #ifndef ASSERT 44 #define ASSERT assert macro 53 #undef ASSERT 55 #define ASSERT(x) macro
|
D | psb_cmdbuf.c | 334 ASSERT(((unsigned char *)(addr_in_cmdbuf)) >= cmdbuf->cmd_base); in psb_cmdbuf_add_relocation() 335 ASSERT(((unsigned char *)(addr_in_cmdbuf)) < LLDMA_END(cmdbuf)); in psb_cmdbuf_add_relocation() 338 ASSERT(((unsigned char *)(addr_in_cmdbuf)) >= cmdbuf->MTX_msg); in psb_cmdbuf_add_relocation() 339 ASSERT(((unsigned char *)(addr_in_cmdbuf)) < MTXMSG_END(cmdbuf)); in psb_cmdbuf_add_relocation() 344 ASSERT(reloc->buffer != -1); in psb_cmdbuf_add_relocation() 367 ASSERT(((unsigned char *)(cmdbuf->reloc_idx)) < RELOC_END(cmdbuf)); in psb_cmdbuf_add_relocation() 572 ASSERT(0); in psbDRMCmdBuf() 778 ASSERT(cmdbuffer_size < CMD_SIZE); in psb_context_submit_cmdbuf() 779 ASSERT((unsigned char *) cmdbuf->cmd_idx < CMD_END(cmdbuf)); in psb_context_submit_cmdbuf() 926 ASSERT(NULL == cmdbuf->MTX_msg); in psb_context_flush_cmdbuf() [all …]
|
D | tng_H264ES.c | 197 ASSERT(obj_buffer->type == VAEncMiscParameterTypeFrameRate); in tng__H264ES_process_misc_framerate_param() 198 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterFrameRate)); in tng__H264ES_process_misc_framerate_param() 233 ASSERT(obj_buffer->type == VAEncMiscParameterTypeRateControl); in tng__H264ES_process_misc_ratecontrol_param() 234 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterRateControl)); in tng__H264ES_process_misc_ratecontrol_param() 363 ASSERT(obj_buffer->type == VAEncMiscParameterTypeHRD); in tng__H264ES_process_misc_hrd_param() 364 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterHRD)); in tng__H264ES_process_misc_hrd_param() 408 ASSERT(obj_buffer->type == VAEncMiscParameterTypeAIR); in tng__H264ES_process_misc_air_param() 409 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterAIR)); in tng__H264ES_process_misc_air_param() 478 ASSERT(obj_buffer->type == VAEncMiscParameterTypeCIR); in tng__H264ES_process_misc_cir_param() 479 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterCIR)); in tng__H264ES_process_misc_cir_param() [all …]
|
D | tng_vld_dec.c | 201 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice_data() 203 ASSERT(ctx->pic_params); in vld_dec_process_slice_data() 204 ASSERT(ctx->slice_param_list_idx); in vld_dec_process_slice_data() 247 ASSERT(obj_buffer->type == VASliceParameterBufferType); in vld_dec_add_slice_param() 276 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice() 287 ASSERT(!ctx->split_buffer_pending); in vld_dec_process_slice() 315 ASSERT(ctx->split_buffer_pending); in vld_dec_process_slice() 316 ASSERT(0 == slice_param->slice_data_offset); in vld_dec_process_slice() 327 ASSERT(ctx->split_buffer_pending); in vld_dec_process_slice()
|
D | pnw_MPEG4ES.c | 195 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in pnw__MPEG4ES_process_sequence_param() 196 ASSERT(obj_buffer->num_elements == 1); in pnw__MPEG4ES_process_sequence_param() 197 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in pnw__MPEG4ES_process_sequence_param() 324 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in pnw__MPEG4ES_process_picture_param() 340 ASSERT(ctx->Width == pBuffer->picture_width); in pnw__MPEG4ES_process_picture_param() 341 ASSERT(ctx->Height == pBuffer->picture_height); in pnw__MPEG4ES_process_picture_param() 394 ASSERT(obj_buffer->type == VAEncSliceParameterBufferType); in pnw__MPEG4ES_process_slice_param() 461 ASSERT(ctx->obj_context->slice_count < MAX_SLICES_PER_PICTURE); in pnw__MPEG4ES_process_slice_param()
|
D | tng_MPEG4ES.c | 227 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in tng__MPEG4ES_process_sequence_param() 228 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in tng__MPEG4ES_process_sequence_param() 318 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in tng__MPEG4ES_process_picture_param() 329 ASSERT(ctx->ui16Width == psPicParams->picture_width); in tng__MPEG4ES_process_picture_param() 330 ASSERT(ctx->ui16PictureHeight == psPicParams->picture_height); in tng__MPEG4ES_process_picture_param() 360 ASSERT(obj_buffer->type == VAEncSliceParameterBufferType); in tng__MPEG4ES_process_slice_param() 382 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); in tng__MPEG4ES_process_misc_param()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_H263ES.c | 192 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in lnc__H263ES_process_sequence_param() 193 ASSERT(obj_buffer->num_elements == 1); in lnc__H263ES_process_sequence_param() 194 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); in lnc__H263ES_process_sequence_param() 255 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in lnc__H263ES_process_picture_param() 271 ASSERT(ctx->Width == pBuffer->picture_width); in lnc__H263ES_process_picture_param() 272 ASSERT(ctx->Height == pBuffer->picture_height); in lnc__H263ES_process_picture_param() 325 ASSERT(obj_buffer->type == VAEncSliceParameterBufferType); in lnc__H263ES_process_slice_param() 422 ASSERT(ctx->obj_context->slice_count < MAX_SLICES_PER_PICTURE); in lnc__H263ES_process_slice_param() 441 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); in lnc__H263ES_process_misc_param()
|
D | lnc_MPEG4ES.c | 201 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in lnc__MPEG4ES_process_sequence_param() 202 ASSERT(obj_buffer->num_elements == 1); in lnc__MPEG4ES_process_sequence_param() 203 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in lnc__MPEG4ES_process_sequence_param() 286 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in lnc__MPEG4ES_process_picture_param() 302 ASSERT(ctx->Width == pBuffer->picture_width); in lnc__MPEG4ES_process_picture_param() 303 ASSERT(ctx->Height == pBuffer->picture_height); in lnc__MPEG4ES_process_picture_param() 339 ASSERT(obj_buffer->type == VAEncSliceParameterBufferType); in lnc__MPEG4ES_process_slice_param() 407 ASSERT(ctx->obj_context->slice_count < MAX_SLICES_PER_PICTURE); in lnc__MPEG4ES_process_slice_param() 427 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); in lnc__MPEG4ES_process_misc_param()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 237 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_penq() 238 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq() 240 ASSERT(!pktq_full(pq)); in pktq_penq() 241 ASSERT(!pktq_pfull(pq, prec)); in pktq_penq() 266 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_penq_head() 267 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq_head() 269 ASSERT(!pktq_full(pq)); in pktq_penq_head() 270 ASSERT(!pktq_pfull(pq, prec)); in pktq_penq_head() 295 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_pdeq() 320 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_pdeq_prev() [all …]
|