Searched refs:slice_param_cache (Results 1 – 10 of 10) sorted by relevance
/hardware/intel/img/psb_video/src/ |
D | pnw_MPEG4ES.c | 399 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__MPEG4ES_process_slice_param() 402 free(ctx->slice_param_cache); in pnw__MPEG4ES_process_slice_param() 403 ctx->slice_param_cache = NULL; in pnw__MPEG4ES_process_slice_param() 407 if (NULL == ctx->slice_param_cache) { in pnw__MPEG4ES_process_slice_param() 410 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in pnw__MPEG4ES_process_slice_param() 411 if (NULL == ctx->slice_param_cache) { in pnw__MPEG4ES_process_slice_param() 433 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in pnw__MPEG4ES_process_slice_param() 435 memcpy(&ctx->slice_param_cache[slice_param_idx], in pnw__MPEG4ES_process_slice_param()
|
D | pnw_H263ES.c | 360 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__H263ES_process_slice_param() 363 free(ctx->slice_param_cache); in pnw__H263ES_process_slice_param() 364 ctx->slice_param_cache = NULL; in pnw__H263ES_process_slice_param() 368 if (NULL == ctx->slice_param_cache) { in pnw__H263ES_process_slice_param() 371 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in pnw__H263ES_process_slice_param() 372 if (NULL == ctx->slice_param_cache) { in pnw__H263ES_process_slice_param() 423 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in pnw__H263ES_process_slice_param() 425 memcpy(&ctx->slice_param_cache[slice_param_idx], in pnw__H263ES_process_slice_param()
|
D | pnw_H264ES.c | 791 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in pnw__H264ES_encode_one_slice() 793 memcpy(&ctx->slice_param_cache[slice_param_idx], in pnw__H264ES_encode_one_slice() 895 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__H264ES_process_slice_param() 898 free(ctx->slice_param_cache); in pnw__H264ES_process_slice_param() 899 ctx->slice_param_cache = NULL; in pnw__H264ES_process_slice_param() 903 if (NULL == ctx->slice_param_cache) { in pnw__H264ES_process_slice_param() 906 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in pnw__H264ES_process_slice_param() 907 if (NULL == ctx->slice_param_cache) { in pnw__H264ES_process_slice_param()
|
D | pnw_hostcode.h | 291 VAEncSliceParameterBuffer *slice_param_cache; member
|
D | pnw_hostcode.c | 485 if (NULL != ctx->slice_param_cache) in pnw_DestroyContext() 486 free(ctx->slice_param_cache); in pnw_DestroyContext()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_MPEG4ES.c | 351 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__MPEG4ES_process_slice_param() 354 free(ctx->slice_param_cache); in lnc__MPEG4ES_process_slice_param() 355 ctx->slice_param_cache = NULL; in lnc__MPEG4ES_process_slice_param() 359 if (NULL == ctx->slice_param_cache) { in lnc__MPEG4ES_process_slice_param() 362 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in lnc__MPEG4ES_process_slice_param() 363 if (NULL == ctx->slice_param_cache) { in lnc__MPEG4ES_process_slice_param() 378 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in lnc__MPEG4ES_process_slice_param() 380 memcpy(&ctx->slice_param_cache[slice_param_idx], in lnc__MPEG4ES_process_slice_param()
|
D | lnc_H263ES.c | 346 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__H263ES_process_slice_param() 349 free(ctx->slice_param_cache); in lnc__H263ES_process_slice_param() 350 ctx->slice_param_cache = NULL; in lnc__H263ES_process_slice_param() 354 if (NULL == ctx->slice_param_cache) { in lnc__H263ES_process_slice_param() 357 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in lnc__H263ES_process_slice_param() 358 if (NULL == ctx->slice_param_cache) { in lnc__H263ES_process_slice_param() 392 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in lnc__H263ES_process_slice_param() 394 memcpy(&ctx->slice_param_cache[slice_param_idx], in lnc__H263ES_process_slice_param()
|
D | lnc_H264ES.c | 447 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__H264ES_process_slice_param() 450 free(ctx->slice_param_cache); in lnc__H264ES_process_slice_param() 451 ctx->slice_param_cache = NULL; in lnc__H264ES_process_slice_param() 455 if (NULL == ctx->slice_param_cache) { in lnc__H264ES_process_slice_param() 458 … ctx->slice_param_cache = calloc(2 * ctx->slice_param_num, sizeof(VAEncSliceParameterBuffer)); in lnc__H264ES_process_slice_param() 459 if (NULL == ctx->slice_param_cache) { in lnc__H264ES_process_slice_param() 524 if (VAEncSliceParameter_Equal(&ctx->slice_param_cache[slice_param_idx], pBuffer) == 0) { in lnc__H264ES_process_slice_param() 528 memcpy(&ctx->slice_param_cache[slice_param_idx], in lnc__H264ES_process_slice_param()
|
D | lnc_hostcode.h | 225 VAEncSliceParameterBuffer *slice_param_cache; member
|
D | lnc_hostcode.c | 130 if (NULL != ctx->slice_param_cache) in lnc_DestroyContext() 131 free(ctx->slice_param_cache); in lnc_DestroyContext() 504 VAEncSliceParameterBuffer *pBuffer = &ctx->slice_param_cache[i]; in lnc_RedoRenderPictureSkippedFrame()
|