/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 | 166 void psb_RecalcAlternativeOutput(object_context_p obj_context) 168 psb_driver_data_p driver_data = obj_context->driver_data; 169 object_surface_p obj_surface = obj_context->current_render_target; 207 for (i = 0; i < obj_context->num_render_targets; i++) { 208 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); 218 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); 237 for (i = 0; i < obj_context->num_render_targets; i++) { 238 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); 248 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); 337 obj_context->msvdx_scaling = 0 703 object_context_p obj_context = CONTEXT(obj_surface->context_id); local [all...] |
tng_yuv_processor.c | 40 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->surface_heap, id )) 60 object_context_p obj_context, 64 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; 77 obj_context->format_data = (void *)dec_ctx; 79 vaStatus = vld_dec_CreateContext(dec_ctx, obj_context); 90 object_context_p obj_context) 92 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; 109 obj_context->format_data = NULL; 114 object_context_p __maybe_unused obj_context) 122 psb_cmdbuf_p cmdbuf = dec_ctx->obj_context->cmdbuf 209 object_context_p obj_context = dec_ctx->obj_context; local 262 object_context_p obj_context = dec_ctx->obj_context; local 383 object_context_p obj_context; local 443 object_context_p obj_context; local 506 object_context_p obj_context; local [all...] |
tng_vld_dec.c | 45 void vld_dec_FE_state(object_context_p obj_context, psb_buffer_p buf) 47 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; 48 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; 75 void vld_dec_setup_alternative_frame(object_context_p obj_context) 78 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; 79 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; 80 psb_surface_p src_surface = obj_context->current_render_target->psb_surface; 81 psb_surface_p out_loop_surface = obj_context->current_render_target->out_loop_surface; 82 int ved_scaling = (CONTEXT_SCALING(obj_context) && !ctx->yuv_ctx); 86 if (ctx->yuv_ctx && (VAEntrypointVideoProc == obj_context->entry_point)) [all...] |
psb_drv_video.c | 949 object_context_p obj_context = NULL; local 1087 object_context_p obj_context = CONTEXT(contextID); local 1584 object_context_p obj_context = obj_buffer->context; local 1717 object_context_p obj_context = CONTEXT(context); local 1957 object_context_p obj_context = CONTEXT(context); local 2091 object_context_p obj_context; local 2270 object_context_p obj_context; local 2333 object_context_p obj_context; local 2362 object_context_p obj_context; local 2418 object_context_p obj_context = NULL; local 2518 object_context_p obj_context = NULL; local 3090 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 | 489 object_context_p obj_context; /* back reference */ member in struct:context_MPEG2_s 529 #define INIT_CONTEXT_MPEG2 context_MPEG2_p ctx = (context_MPEG2_p) obj_context->format_data; 531 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id )) 593 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 597 CHECK_CONTEXT(obj_context); 609 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 352) 610 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 288)) { 616 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...] |