/hardware/intel/img/psb_video/src/ |
tng_ved_scaling.h | 33 void tng_calculate_scaler_coff_reg(object_context_p obj_context); 34 void tng_ved_write_scale_reg(object_context_p obj_context);
|
pnw_H264ES.h | 39 object_context_p obj_context);
|
pnw_jpeg.h | 38 extern VAStatus pnw_jpeg_AppendMarkers(object_context_p obj_context, unsigned char *raw_coded_buf);
|
vsp_compose.h | 36 VAStatus vsp_compose_process_pipeline_param(context_VPP_p ctx, object_context_p obj_context, object_buffer_p obj_buffer);
|
pnw_rotate.h | 66 void psb_RecalcAlternativeOutput(object_context_p obj_context); 67 void psb_CheckInterlaceRotate(object_context_p obj_context, unsigned char *pic_param_tmp); 74 object_context_p obj_context, 80 object_context_p obj_context, 85 object_context_p obj_context,
|
pnw_rotate.c | 161 void psb_RecalcAlternativeOutput(object_context_p obj_context) 163 psb_driver_data_p driver_data = obj_context->driver_data; 164 object_surface_p obj_surface = obj_context->current_render_target; 202 for (i = 0; i < obj_context->num_render_targets; i++) { 203 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); 213 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); 232 for (i = 0; i < obj_context->num_render_targets; i++) { 233 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); 243 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); 332 obj_context->msvdx_scaling = 0 689 object_context_p obj_context = CONTEXT(obj_surface->context_id); local [all...] |
tng_yuv_processor.c | 38 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->surface_heap, id )) 58 object_context_p obj_context, 62 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; 75 obj_context->format_data = (void *)dec_ctx; 77 vaStatus = vld_dec_CreateContext(dec_ctx, obj_context); 88 object_context_p obj_context) 90 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; 107 obj_context->format_data = NULL; 112 object_context_p __maybe_unused obj_context) 120 psb_cmdbuf_p cmdbuf = dec_ctx->obj_context->cmdbuf 207 object_context_p obj_context = dec_ctx->obj_context; local 260 object_context_p obj_context = dec_ctx->obj_context; local 381 object_context_p obj_context; local 441 object_context_p obj_context; local 504 object_context_p obj_context; local [all...] |
tng_vld_dec.c | 43 void vld_dec_FE_state(object_context_p obj_context, psb_buffer_p buf) 45 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; 46 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; 73 void vld_dec_setup_alternative_frame(object_context_p obj_context) 76 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; 77 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; 78 psb_surface_p src_surface = obj_context->current_render_target->psb_surface; 79 psb_surface_p out_loop_surface = obj_context->current_render_target->out_loop_surface; 80 int ved_scaling = (CONTEXT_SCALING(obj_context) && !ctx->yuv_ctx); 84 if (ctx->yuv_ctx && (VAEntrypointVideoProc == obj_context->entry_point)) [all...] |
psb_drv_video.c | 1071 object_context_p obj_context = CONTEXT(contextID); local 1554 object_context_p obj_context = obj_buffer->context; local 1687 object_context_p obj_context = CONTEXT(context); local 1927 object_context_p obj_context = CONTEXT(context); local 2061 object_context_p obj_context; local 2202 object_context_p obj_context; local 2265 object_context_p obj_context; local 2294 object_context_p obj_context; local 2350 object_context_p obj_context = NULL; local 2450 object_context_p obj_context = NULL; local 3022 object_context_p obj_context; local [all...] |
pnw_H263ES.c | 46 #define INIT_CONTEXT_H263ES context_ENC_p ctx = (context_ENC_p) (obj_context->format_data) 47 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 101 object_context_p obj_context, 111 vaStatus = pnw_CreateContext(obj_context, obj_config, 0);/* alloc context_ENC_s and BO */ 116 ctx = (context_ENC_p) obj_context->format_data; 154 object_context_p obj_context) 159 pnw_DestroyContext(obj_context); 163 object_context_p obj_context) 232 && ((ctx->obj_context->frame_count + 1) % ctx->sRCParams.IntraFreq) != [all...] |
tng_ved_scaling.c | 227 void tng_calculate_scaler_coff_reg(object_context_p obj_context) 229 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; 230 object_surface_p src_surface = obj_context->current_render_target; 243 obj_context->driver_data->render_rect.width, obj_context->driver_data->render_rect.height); 245 obj_context->current_render_target->width_s, obj_context->current_render_target->height_s); 247 fHorzPitch = obj_context->driver_data->render_rect.width / (float) obj_context->current_render_target->width_s; 248 fVertPitch = obj_context->driver_data->render_rect.height / (float) obj_context->current_render_target->height_s [all...] |
tng_VP8.c | 259 object_context_p obj_context; /* back reference */ member in struct:context_VP8_s 339 #define INIT_CONTEXT_VP8 context_VP8_p ctx = (context_VP8_p) obj_context->format_data; 341 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; 377 ctx->obj_context->operating_mode = 0; 378 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; 382 REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, USE_EXT_ROW_STRIDE, 1); 384 REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, ROW_STRIDE, eOppModeStride); 387 REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, CHROMA_INTERLEAVED, 0); 389 return ctx->obj_context->operating_mode [all...] |
pnw_MPEG4ES.c | 46 #define INIT_CONTEXT_MPEG4ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data 47 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 104 object_context_p obj_context, 114 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); 118 ctx = (context_ENC_p) obj_context->format_data; 166 object_context_p obj_context) 170 pnw_DestroyContext(obj_context); 174 object_context_p obj_context) 190 pnw_cmdbuf_p cmdbuf = ctx->obj_context->pnw_cmdbuf [all...] |
pnw_cmdbuf.h | 120 VAStatus pnw_cmdbuf_create(object_context_p obj_context, 190 void pnw_cmdbuf_insert_command_package(object_context_p obj_context, 197 * Advances "obj_context" to the next cmdbuf 201 int pnw_context_get_next_cmdbuf(object_context_p obj_context); 208 int pnw_context_submit_cmdbuf(object_context_p obj_context); 222 int pnw_context_flush_cmdbuf(object_context_p obj_context); 229 int pnw_get_parallel_core_number(object_context_p obj_context);
|
pnw_MPEG2.c | 479 object_context_p obj_context; /* back reference */ member in struct:context_MPEG2_s 517 #define INIT_CONTEXT_MPEG2 context_MPEG2_p ctx = (context_MPEG2_p) obj_context->format_data; 519 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 550 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 554 CHECK_CONTEXT(obj_context); 566 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 352) 567 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 288)) { 573 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920 [all...] |
tng_cmdbuf.h | 147 VAStatus tng_cmdbuf_create(object_context_p obj_context, 235 object_context_p obj_context, IMG_UINT32 core, 240 * Advances "obj_context" to the next cmdbuf 243 int tng_context_get_next_cmdbuf(object_context_p obj_context); 249 int tng_context_submit_cmdbuf(object_context_p obj_context); 261 int tng_context_flush_cmdbuf(object_context_p obj_context); 266 int tng_get_pipe_number(object_context_p obj_context); 267 VAStatus tng_set_frame_skip_flag(object_context_p obj_context);
|
pnw_jpeg.c | 44 #define INIT_CONTEXT_JPEG context_ENC_p ctx = (context_ENC_p) obj_context->format_data 45 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 46 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 130 object_context_p obj_context, 140 vaStatus = pnw_CreateContext(obj_context, obj_config, 1); 144 ctx = (context_ENC_p) obj_context->format_data; 152 if (obj_context->render_targets != NULL) { 153 object_surface_p surface_p = SURFACE(obj_context->render_targets[0]); 232 object_context_p obj_context) 238 ctx = (context_ENC_p)(obj_context->format_data) [all...] |
pnw_H264ES.c | 48 #define INIT_CONTEXT_H264ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data 49 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 50 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 105 object_context_p obj_context, 115 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); 120 ctx = (context_ENC_p) obj_context->format_data; 187 object_context_p obj_context) 191 pnw_DestroyContext(obj_context); 195 object_context_p obj_context) 210 pnw_cmdbuf_p cmdbuf = ctx->obj_context->pnw_cmdbuf [all...] |
psb_cmdbuf.h | 110 object_context_p obj_context, 163 * Advances "obj_context" to the next cmdbuf 167 int psb_context_get_next_cmdbuf(object_context_p obj_context); 169 int psb_context_submit_deblock(object_context_p obj_context); 171 int psb_context_submit_oold(object_context_p obj_context, 180 int psb_context_submit_host_be_opp(object_context_p obj_context, 192 int psb_context_submit_hw_deblock(object_context_p obj_context, 205 int psb_context_submit_hw_deblock(object_context_p obj_context, 223 int psb_context_submit_cmdbuf(object_context_p obj_context); 230 int psb_context_flush_cmdbuf(object_context_p obj_context); [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_H264ES.h | 39 extern VAStatus lnc_H264_append_aux_info(object_context_p obj_context,
|
lnc_H263ES.c | 47 #define INIT_CONTEXT_H263ES context_ENC_p ctx = (context_ENC_p) (obj_context->format_data) 48 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 106 object_context_p obj_context, 116 vaStatus = lnc_CreateContext(obj_context, obj_config);/* alloc context_ENC_s and BO */ 121 ctx = (context_ENC_p) obj_context->format_data; 162 object_context_p obj_context) 167 lnc_DestroyContext(obj_context); 171 object_context_p obj_context) 205 if ((ctx->obj_context->frame_count != 0) & [all...] |
lnc_MPEG4ES.c | 47 #define INIT_CONTEXT_MPEG4ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data 48 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 109 object_context_p obj_context, 119 vaStatus = lnc_CreateContext(obj_context, obj_config); 123 ctx = (context_ENC_p) obj_context->format_data; 174 object_context_p obj_context) 178 lnc_DestroyContext(obj_context); 182 object_context_p obj_context) 198 lnc_cmdbuf_p cmdbuf = ctx->obj_context->lnc_cmdbuf [all...] |
psb_MPEG2MC.c | 100 object_context_p obj_context; /* back reference */ member in struct:context_MPEG2MC_s 141 #define INIT_CONTEXT_MPEG2MC context_MPEG2MC_p ctx = (context_MPEG2MC_p) obj_context->format_data 142 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 541 uint32_t *save_idx = ctx->obj_context->cmdbuf->cmd_idx; 542 ctx->obj_context->cmdbuf->cmd_idx = ctx->lldma_idx; 554 psb_cmdbuf_lldma_write_cmdbuf(ctx->obj_context->cmdbuf, 561 //*ctx->obj_context->cmdbuf->cmd_idx = CMD_NOP; 562 *ctx->obj_context->cmdbuf->cmd_idx = 0xf000000; 564 ctx->obj_context->cmdbuf->cmd_idx = save_idx; 574 if (psb_cmdbuf_segment_space(ctx->obj_context->cmdbuf) < min_space) [all...] |
lnc_cmdbuf.h | 99 VAStatus lnc_cmdbuf_create(object_context_p obj_context, 165 * Advances "obj_context" to the next cmdbuf 169 int lnc_context_get_next_cmdbuf(object_context_p obj_context); 176 int lnc_context_submit_cmdbuf(object_context_p obj_context); 190 int lnc_context_flush_cmdbuf(object_context_p obj_context);
|
psb_MPEG2.c | 478 object_context_p obj_context; /* back reference */ member in struct:context_MPEG2_s 526 #define INIT_CONTEXT_MPEG2 context_MPEG2_p ctx = (context_MPEG2_p) obj_context->format_data; 528 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 559 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 563 if (NULL == obj_context) { 584 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 352) 585 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 288)) { 591 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920 923 object_context_p obj_context = ctx->obj_context; local [all...] |