Home
last modified time | relevance | path

Searched refs:obj_context (Results 1 – 25 of 65) sorted by relevance

123

/hardware/intel/img/psb_video/src/
Dtng_yuv_processor.c40 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->s…
60 object_context_p obj_context, in tng_yuv_processor_CreateContext() argument
64 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; in tng_yuv_processor_CreateContext()
82 obj_context->format_data = (void *)dec_ctx; in tng_yuv_processor_CreateContext()
84 vaStatus = vld_dec_CreateContext(dec_ctx, obj_context); in tng_yuv_processor_CreateContext()
95 object_context_p obj_context) in tng_yuv_processor_DestroyContext() argument
97 context_DEC_p dec_ctx = (context_DEC_p) obj_context->format_data; in tng_yuv_processor_DestroyContext()
114 obj_context->format_data = NULL; in tng_yuv_processor_DestroyContext()
119 object_context_p __maybe_unused obj_context) in tng_yuv_processor_BeginPicture() argument
127 psb_cmdbuf_p cmdbuf = dec_ctx->obj_context->cmdbuf; in tng__yuv_processor_process()
[all …]
Dpnw_rotate.c166 void psb_RecalcAlternativeOutput(object_context_p obj_context) in psb_RecalcAlternativeOutput() argument
168 psb_driver_data_p driver_data = obj_context->driver_data; in psb_RecalcAlternativeOutput()
169 object_surface_p obj_surface = obj_context->current_render_target; in psb_RecalcAlternativeOutput()
207 for (i = 0; i < obj_context->num_render_targets; i++) { in psb_RecalcAlternativeOutput()
208 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); in psb_RecalcAlternativeOutput()
218 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); in psb_RecalcAlternativeOutput()
237 for (i = 0; i < obj_context->num_render_targets; i++) { in psb_RecalcAlternativeOutput()
238 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]); in psb_RecalcAlternativeOutput()
248 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]); in psb_RecalcAlternativeOutput()
337 obj_context->msvdx_scaling = 0; in psb_RecalcAlternativeOutput()
[all …]
Dtng_vld_dec.c45 void vld_dec_FE_state(object_context_p obj_context, psb_buffer_p buf) in vld_dec_FE_state() argument
47 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; in vld_dec_FE_state()
48 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in vld_dec_FE_state()
75 void vld_dec_setup_alternative_frame(object_context_p obj_context) in vld_dec_setup_alternative_frame() argument
78 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; in vld_dec_setup_alternative_frame()
79 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in vld_dec_setup_alternative_frame()
80 psb_surface_p src_surface = obj_context->current_render_target->psb_surface; in vld_dec_setup_alternative_frame()
81 psb_surface_p out_loop_surface = obj_context->current_render_target->out_loop_surface; in vld_dec_setup_alternative_frame()
82 int ved_scaling = (CONTEXT_SCALING(obj_context) && !ctx->yuv_ctx); in vld_dec_setup_alternative_frame()
86 if (ctx->yuv_ctx && (VAEntrypointVideoProc == obj_context->entry_point)) { in vld_dec_setup_alternative_frame()
[all …]
Dpsb_drv_video.c965 object_context_p obj_context = NULL; in psb_DestroySurfaces() local
1001 obj_context = CONTEXT(obj_surface->context_id); in psb_DestroySurfaces()
1002 if (obj_context != NULL) { in psb_DestroySurfaces()
1003 for (j = 0; j < obj_context->num_render_targets; j++) { in psb_DestroySurfaces()
1004 if (obj_context->render_targets[j] == obj_surface->surface_id) { in psb_DestroySurfaces()
1005 obj_context->render_targets[j] = VA_INVALID_SURFACE; in psb_DestroySurfaces()
1103 object_context_p obj_context = CONTEXT(contextID); in psb_CreateContext() local
1104 CHECK_ALLOCATION(obj_context); in psb_CreateContext()
1108 MEMSET_OBJECT(obj_context, struct object_context_s); in psb_CreateContext()
1110 obj_context->driver_data = driver_data; in psb_CreateContext()
[all …]
Dpnw_H263ES.c46 #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->surf…
48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
101 object_context_p obj_context, in pnw_H263ES_CreateContext() argument
111 vaStatus = pnw_CreateContext(obj_context, obj_config, 0);/* alloc context_ENC_s and BO */ in pnw_H263ES_CreateContext()
116 ctx = (context_ENC_p) obj_context->format_data; in pnw_H263ES_CreateContext()
154 object_context_p obj_context) in pnw_H263ES_DestroyContext() argument
159 pnw_DestroyContext(obj_context); in pnw_H263ES_DestroyContext()
163 object_context_p obj_context) in pnw_H263ES_BeginPicture() argument
232 && ((ctx->obj_context->frame_count + 1) % ctx->sRCParams.IntraFreq) != 0 in pnw__H263ES_process_sequence_param()
[all …]
Dtng_VP8.c259 object_context_p obj_context; /* back reference */ member
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…
344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in get_opp_mode_stride()
377 ctx->obj_context->operating_mode = 0; in get_inloop_opmod()
378 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in get_inloop_opmod()
382 …REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, USE_EXT_ROW_S… in get_inloop_opmod()
384 …REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, ROW_STRIDE, e… in get_inloop_opmod()
387 …REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, CHROMA_INTERL… in get_inloop_opmod()
389 return ctx->obj_context->operating_mode; in get_inloop_opmod()
[all …]
Dpnw_MPEG2.c489 object_context_p obj_context; /* back reference */ member
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->surf…
593 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_co… in psb__MPEG2_check_legal_picture() argument
597 CHECK_CONTEXT(obj_context); in psb__MPEG2_check_legal_picture()
609 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 352) in psb__MPEG2_check_legal_picture()
610 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 288)) { in psb__MPEG2_check_legal_picture()
616 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920) in psb__MPEG2_check_legal_picture()
617 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 1088)) { in psb__MPEG2_check_legal_picture()
630 static void pnw_MPEG2_DestroyContext(object_context_p obj_context);
[all …]
Dtng_ved_scaling.c227 void tng_calculate_scaler_coff_reg(object_context_p obj_context) in tng_calculate_scaler_coff_reg() argument
229 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in tng_calculate_scaler_coff_reg()
230 object_surface_p src_surface = obj_context->current_render_target; in tng_calculate_scaler_coff_reg()
243 obj_context->driver_data->render_rect.width, obj_context->driver_data->render_rect.height); in tng_calculate_scaler_coff_reg()
245 obj_context->current_render_target->width_s, obj_context->current_render_target->height_s); in tng_calculate_scaler_coff_reg()
247 …fHorzPitch = obj_context->driver_data->render_rect.width / (float) obj_context->current_render_tar… in tng_calculate_scaler_coff_reg()
248 …fVertPitch = obj_context->driver_data->render_rect.height / (float) obj_context->current_render_ta… in tng_calculate_scaler_coff_reg()
313 void tng_ved_write_scale_reg(object_context_p obj_context) in tng_ved_write_scale_reg() argument
316 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; in tng_ved_write_scale_reg()
317 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in tng_ved_write_scale_reg()
[all …]
Dpnw_MPEG4ES.c46 #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->surf…
48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
104 object_context_p obj_context, in pnw_MPEG4ES_CreateContext() argument
114 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); in pnw_MPEG4ES_CreateContext()
118 ctx = (context_ENC_p) obj_context->format_data; in pnw_MPEG4ES_CreateContext()
166 object_context_p obj_context) in pnw_MPEG4ES_DestroyContext() argument
170 pnw_DestroyContext(obj_context); in pnw_MPEG4ES_DestroyContext()
174 object_context_p obj_context) in pnw_MPEG4ES_BeginPicture() argument
190 pnw_cmdbuf_p cmdbuf = ctx->obj_context->pnw_cmdbuf; in pnw__MPEG4ES_process_sequence_param()
[all …]
Dpnw_H264.c54 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
123 object_context_p obj_context; /* back reference */ member
201 #define INIT_CONTEXT_H264 context_H264_p ctx = (context_H264_p) obj_context->format_data;
203 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
361 static VAStatus psb__H264_check_legal_picture(object_context_p obj_context, object_config_p obj_con… in psb__H264_check_legal_picture() argument
365 CHECK_CONTEXT(obj_context); in psb__H264_check_legal_picture()
378 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 720) in psb__H264_check_legal_picture()
379 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 576)) { in psb__H264_check_legal_picture()
387 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920) in psb__H264_check_legal_picture()
388 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 1088)) { in psb__H264_check_legal_picture()
[all …]
Dpnw_H264ES.c48 #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->surf…
50 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
105 object_context_p obj_context, in pnw_H264ES_CreateContext() argument
115 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); in pnw_H264ES_CreateContext()
120 ctx = (context_ENC_p) obj_context->format_data; in pnw_H264ES_CreateContext()
187 object_context_p obj_context) in pnw_H264ES_DestroyContext() argument
191 pnw_DestroyContext(obj_context); in pnw_H264ES_DestroyContext()
195 object_context_p obj_context) in pnw_H264ES_BeginPicture() argument
210 pnw_cmdbuf_p cmdbuf = ctx->obj_context->pnw_cmdbuf; in pnw__H264ES_process_sequence_param()
[all …]
Dpnw_rotate.h67 void psb_RecalcAlternativeOutput(object_context_p obj_context);
68 void psb_CheckInterlaceRotate(object_context_p obj_context, unsigned char *pic_param_tmp);
75 object_context_p obj_context,
81 object_context_p obj_context,
86 object_context_p obj_context,
Dpnw_jpeg.c44 #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->surf…
46 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
130 object_context_p obj_context, in pnw_jpeg_CreateContext() argument
140 vaStatus = pnw_CreateContext(obj_context, obj_config, 1); in pnw_jpeg_CreateContext()
144 ctx = (context_ENC_p) obj_context->format_data; in pnw_jpeg_CreateContext()
152 if (obj_context->render_targets != NULL) { in pnw_jpeg_CreateContext()
153 object_surface_p surface_p = SURFACE(obj_context->render_targets[0]); in pnw_jpeg_CreateContext()
232 object_context_p obj_context) in pnw_jpeg_DestroyContext() argument
238 ctx = (context_ENC_p)(obj_context->format_data); in pnw_jpeg_DestroyContext()
[all …]
Dpnw_cmdbuf.c74 object_context_p obj_context, in pnw_cmdbuf_create() argument
78 context_ENC_p ctx = (context_ENC_p) obj_context->format_data; in pnw_cmdbuf_create()
306 void pnw_cmdbuf_insert_command_package(object_context_p obj_context, in pnw_cmdbuf_insert_command_package() argument
313 context_ENC_p ctx = (context_ENC_p) obj_context->format_data; in pnw_cmdbuf_insert_command_package()
314 pnw_cmdbuf_p cmdbuf = obj_context->pnw_cmdbuf; in pnw_cmdbuf_insert_command_package()
359 int pnw_context_get_next_cmdbuf(object_context_p obj_context) in pnw_context_get_next_cmdbuf() argument
364 if (obj_context->pnw_cmdbuf) { in pnw_context_get_next_cmdbuf()
368 obj_context->cmdbuf_current++; in pnw_context_get_next_cmdbuf()
369 if (obj_context->cmdbuf_current >= PNW_MAX_CMDBUFS_ENCODE) { in pnw_context_get_next_cmdbuf()
370 obj_context->cmdbuf_current = 0; in pnw_context_get_next_cmdbuf()
[all …]
Dvsp_VPP.c39 #define INIT_CONTEXT_VPP context_VPP_p ctx = (context_VPP_p) obj_context->format_data;
44 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
212 static void vsp_VPP_DestroyContext(object_context_p obj_context);
215 static VAStatus vsp__VPP_check_legal_picture(object_context_p obj_context, object_config_p obj_conf…
248 static VAStatus vsp__VPP_check_legal_picture(object_context_p obj_context, object_config_p obj_conf… in vsp__VPP_check_legal_picture() argument
252 if (NULL == obj_context) { in vsp__VPP_check_legal_picture()
268 object_context_p obj_context, in vsp_VPP_CreateContext() argument
277 vaStatus = vsp__VPP_check_legal_picture(obj_context, obj_config); in vsp_VPP_CreateContext()
333 …vaStatus = psb_buffer_create(obj_context->driver_data, VSP_INTERMEDIATE_BUF_SIZE, psb_bt_vpu_only,… in vsp_VPP_CreateContext()
338 obj_context->format_data = (void*) ctx; in vsp_VPP_CreateContext()
[all …]
Dvsp_cmdbuf.c48 object_context_p obj_context, in vsp_cmdbuf_create() argument
54 context_VPP_p ctx = (context_VPP_p) obj_context->format_data; in vsp_cmdbuf_create()
252 int vsp_context_get_next_cmdbuf(object_context_p obj_context) in vsp_context_get_next_cmdbuf() argument
257 if (obj_context->vsp_cmdbuf) { in vsp_context_get_next_cmdbuf()
261 obj_context->cmdbuf_current++; in vsp_context_get_next_cmdbuf()
262 if (obj_context->cmdbuf_current >= VSP_MAX_CMDBUFS) { in vsp_context_get_next_cmdbuf()
263 obj_context->cmdbuf_current = 0; in vsp_context_get_next_cmdbuf()
266 cmdbuf = obj_context->vsp_cmdbuf_list[obj_context->cmdbuf_current]; in vsp_context_get_next_cmdbuf()
271 obj_context->vsp_cmdbuf = cmdbuf; in vsp_context_get_next_cmdbuf()
391 int vsp_context_submit_cmdbuf(object_context_p __maybe_unused obj_context) in vsp_context_submit_cmdbuf() argument
[all …]
Dpsb_cmdbuf.h110 object_context_p obj_context,
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);
318 int psb_cmdbuf_second_pass(object_context_p obj_context,
Dpnw_MPEG4.c1101 object_context_p obj_context; /* back reference */ member
1152 #define INIT_CONTEXT_MPEG4 context_MPEG4_p ctx = (context_MPEG4_p) obj_context->format_data;
1154 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
1230 static VAStatus psb__MPEG4_check_legal_picture(object_context_p obj_context, object_config_p obj_co… in psb__MPEG4_check_legal_picture() argument
1234 CHECK_CONTEXT(obj_context); in psb__MPEG4_check_legal_picture()
1247 if ((obj_context->picture_width <= 0) || (obj_context->picture_height <= 0)) { in psb__MPEG4_check_legal_picture()
1260 static void pnw_MPEG4_DestroyContext(object_context_p obj_context);
1267 object_context_p obj_context, in pnw_MPEG4_CreateContext() argument
1274 vaStatus = psb__MPEG4_check_legal_picture(obj_context, obj_config); in pnw_MPEG4_CreateContext()
1280 obj_context->format_data = (void*) ctx; in pnw_MPEG4_CreateContext()
[all …]
Dtng_jpegdec.c167 object_context_p obj_context; /* back reference */ member
207 #define INIT_CONTEXT_JPEG context_JPEG_p ctx = (context_JPEG_p) obj_context->format_data;
209 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
236 static VAStatus tng__JPEG_check_legal_picture(object_context_p obj_context, object_config_p obj_con… in tng__JPEG_check_legal_picture() argument
239 if (NULL == obj_context) { in tng__JPEG_check_legal_picture()
253 if ((obj_context->picture_width <= 0) || (obj_context->picture_height <= 0)) { in tng__JPEG_check_legal_picture()
266 static void tng_JPEG_DestroyContext(object_context_p obj_context);
274 object_context_p obj_context, in tng_JPEG_CreateContext() argument
281 vaStatus = tng__JPEG_check_legal_picture(obj_context, obj_config); in tng_JPEG_CreateContext()
293 obj_context->format_data = (void*) ctx; in tng_JPEG_CreateContext()
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H263ES.c47 #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->surf…
49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
106 object_context_p obj_context, in lnc_H263ES_CreateContext() argument
116 vaStatus = lnc_CreateContext(obj_context, obj_config);/* alloc context_ENC_s and BO */ in lnc_H263ES_CreateContext()
121 ctx = (context_ENC_p) obj_context->format_data; in lnc_H263ES_CreateContext()
162 object_context_p obj_context) in lnc_H263ES_DestroyContext() argument
167 lnc_DestroyContext(obj_context); in lnc_H263ES_DestroyContext()
171 object_context_p obj_context) in lnc_H263ES_BeginPicture() argument
205 if ((ctx->obj_context->frame_count != 0) && in lnc__H263ES_process_sequence_param()
[all …]
Dpsb_MPEG2MC.c100 object_context_p obj_context; /* back reference */ member
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->sur…
541 uint32_t *save_idx = ctx->obj_context->cmdbuf->cmd_idx; in psb__MPEG2MC_finalise_residDMA()
542 ctx->obj_context->cmdbuf->cmd_idx = ctx->lldma_idx; in psb__MPEG2MC_finalise_residDMA()
554 psb_cmdbuf_lldma_write_cmdbuf(ctx->obj_context->cmdbuf, in psb__MPEG2MC_finalise_residDMA()
562 *ctx->obj_context->cmdbuf->cmd_idx = 0xf000000; in psb__MPEG2MC_finalise_residDMA()
564 ctx->obj_context->cmdbuf->cmd_idx = save_idx; in psb__MPEG2MC_finalise_residDMA()
574 if (psb_cmdbuf_segment_space(ctx->obj_context->cmdbuf) < min_space) { in psb__MPEG2MC_check_segment_residDMA()
577 psb_cmdbuf_next_segment(ctx->obj_context->cmdbuf); in psb__MPEG2MC_check_segment_residDMA()
[all …]
Dpsb_H264.c108 object_context_p obj_context; /* back reference */ member
193 #define INIT_CONTEXT_H264 context_H264_p ctx = (context_H264_p) obj_context->format_data;
195 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
329 static VAStatus psb__H264_check_legal_picture(object_context_p obj_context, object_config_p obj_con… in psb__H264_check_legal_picture() argument
333 if (NULL == obj_context) { in psb__H264_check_legal_picture()
354 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 720) in psb__H264_check_legal_picture()
355 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 576)) { in psb__H264_check_legal_picture()
363 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920) in psb__H264_check_legal_picture()
364 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 1088)) { in psb__H264_check_legal_picture()
377 static void psb_H264_DestroyContext(object_context_p obj_context);
[all …]
Dpsb_MPEG2.c478 object_context_p obj_context; /* back reference */ member
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->surf…
559 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_co… in psb__MPEG2_check_legal_picture() argument
563 if (NULL == obj_context) { in psb__MPEG2_check_legal_picture()
584 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 352) in psb__MPEG2_check_legal_picture()
585 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 288)) { in psb__MPEG2_check_legal_picture()
591 if ((obj_context->picture_width <= 0) || (obj_context->picture_width > 1920) in psb__MPEG2_check_legal_picture()
592 || (obj_context->picture_height <= 0) || (obj_context->picture_height > 1088)) { in psb__MPEG2_check_legal_picture()
605 static void psb_MPEG2_DestroyContext(object_context_p obj_context);
[all …]
Dlnc_H264ES.c51 #define INIT_CONTEXT_H264ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data
52 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
53 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
111 object_context_p obj_context, in lnc_H264ES_CreateContext() argument
121 vaStatus = lnc_CreateContext(obj_context, obj_config); in lnc_H264ES_CreateContext()
126 ctx = (context_ENC_p) obj_context->format_data; in lnc_H264ES_CreateContext()
181 object_context_p obj_context) in lnc_H264ES_DestroyContext() argument
192 lnc_DestroyContext(obj_context); in lnc_H264ES_DestroyContext()
196 object_context_p obj_context) in lnc_H264ES_BeginPicture() argument
211 lnc_cmdbuf_p cmdbuf = ctx->obj_context->lnc_cmdbuf; in lnc__H264ES_process_sequence_param()
[all …]
Dlnc_MPEG4ES.c47 #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->surf…
49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
109 object_context_p obj_context, in lnc_MPEG4ES_CreateContext() argument
119 vaStatus = lnc_CreateContext(obj_context, obj_config); in lnc_MPEG4ES_CreateContext()
123 ctx = (context_ENC_p) obj_context->format_data; in lnc_MPEG4ES_CreateContext()
174 object_context_p obj_context) in lnc_MPEG4ES_DestroyContext() argument
178 lnc_DestroyContext(obj_context); in lnc_MPEG4ES_DestroyContext()
182 object_context_p obj_context) in lnc_MPEG4ES_BeginPicture() argument
198 lnc_cmdbuf_p cmdbuf = ctx->obj_context->lnc_cmdbuf; in lnc__MPEG4ES_process_sequence_param()
[all …]

123