Home
last modified time | relevance | path

Searched refs:obj_config (Results 1 – 25 of 35) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dpsb_drv_video.c318 static VAStatus psb__update_attribute(object_config_p obj_config, VAConfigAttrib *attrib) in psb__update_attribute() argument
322 for (i = 0; i < obj_config->attrib_count; i++) { in psb__update_attribute()
323 if (obj_config->attrib_list[i].type == attrib->type) { in psb__update_attribute()
325 obj_config->attrib_list[i].value = attrib->value; in psb__update_attribute()
329 if (obj_config->attrib_count < PSB_MAX_CONFIG_ATTRIBUTES) { in psb__update_attribute()
330 i = obj_config->attrib_count; in psb__update_attribute()
331 obj_config->attrib_list[i].type = attrib->type; in psb__update_attribute()
332 obj_config->attrib_list[i].value = attrib->value; in psb__update_attribute()
333 obj_config->attrib_count++; in psb__update_attribute()
339 static VAStatus psb__validate_config(object_config_p obj_config) in psb__validate_config() argument
[all …]
Dtng_yuv_processor.c52 object_config_p __maybe_unused obj_config) in tng_yuv_processor_ValidateConfig() argument
61 object_config_p __maybe_unused obj_config) in tng_yuv_processor_CreateContext() argument
389 object_config_p obj_config; in ved_QueryVideoProcFilters() local
401 obj_config = CONFIG(obj_context->config_id); in ved_QueryVideoProcFilters()
402 if (NULL == obj_config) { in ved_QueryVideoProcFilters()
408 tmp = obj_config->entrypoint; in ved_QueryVideoProcFilters()
449 object_config_p obj_config; in ved_QueryVideoProcFilterCaps() local
460 obj_config = CONFIG(obj_context->config_id); in ved_QueryVideoProcFilterCaps()
461 if (NULL == obj_config) { in ved_QueryVideoProcFilterCaps()
512 object_config_p obj_config; in ved_QueryVideoProcPipelineCaps() local
[all …]
Dpnw_MPEG4ES.c83 object_config_p obj_config) in pnw_MPEG4ES_ValidateConfig() argument
87 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_MPEG4ES_ValidateConfig()
88 switch (obj_config->attrib_list[i].type) { in pnw_MPEG4ES_ValidateConfig()
105 object_config_p obj_config) in pnw_MPEG4ES_CreateContext() argument
114 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); in pnw_MPEG4ES_CreateContext()
120 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_MPEG4ES_CreateContext()
121 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in pnw_MPEG4ES_CreateContext()
125 if (i >= obj_config->attrib_count) in pnw_MPEG4ES_CreateContext()
128 eRCmode = obj_config->attrib_list[i].value; in pnw_MPEG4ES_CreateContext()
149 switch (obj_config->profile) { in pnw_MPEG4ES_CreateContext()
Dpnw_H263ES.c80 object_config_p obj_config) in pnw_H263ES_ValidateConfig() argument
84 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_H263ES_ValidateConfig()
85 switch (obj_config->attrib_list[i].type) { in pnw_H263ES_ValidateConfig()
102 object_config_p obj_config) in pnw_H263ES_CreateContext() argument
111 vaStatus = pnw_CreateContext(obj_context, obj_config, 0);/* alloc context_ENC_s and BO */ in pnw_H263ES_CreateContext()
118 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_H263ES_CreateContext()
119 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in pnw_H263ES_CreateContext()
123 if (i >= obj_config->attrib_count) in pnw_H263ES_CreateContext()
126 eRCmode = obj_config->attrib_list[i].value; in pnw_H263ES_CreateContext()
Dvsp_VPP.c215 …ic VAStatus vsp__VPP_check_legal_picture(object_context_p obj_context, object_config_p obj_config);
230 object_config_p obj_config) in vsp_VPP_ValidateConfig() argument
234 for (i = 0; i < obj_config->attrib_count; i++) { in vsp_VPP_ValidateConfig()
235 switch (obj_config->attrib_list[i].type) { in vsp_VPP_ValidateConfig()
248 …tic VAStatus vsp__VPP_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in vsp__VPP_check_legal_picture() argument
258 if (NULL == obj_config) { in vsp__VPP_check_legal_picture()
269 object_config_p obj_config) in vsp_VPP_CreateContext() argument
277 vaStatus = vsp__VPP_check_legal_picture(obj_context, obj_config); in vsp_VPP_CreateContext()
341 for (i = 0; i < obj_config->attrib_count; ++i) { in vsp_VPP_CreateContext()
342 if (VAConfigAttribRTFormat == obj_config->attrib_list[i].type) { in vsp_VPP_CreateContext()
[all …]
Dtng_MPEG4ES.c96 object_config_p obj_config) in tng_MPEG4ES_ValidateConfig() argument
101 for (i = 0; i < obj_config->attrib_count; i++) { in tng_MPEG4ES_ValidateConfig()
102 switch (obj_config->attrib_list[i].type) { in tng_MPEG4ES_ValidateConfig()
122 object_config_p obj_config) in tng_MPEG4ES_CreateContext() argument
130 vaStatus = tng_CreateContext(obj_context, obj_config, 0); in tng_MPEG4ES_CreateContext()
161 switch (obj_config->profile) { in tng_MPEG4ES_CreateContext()
Dtng_H264ES.c67 object_config_p obj_config) in tng__H264ES_init_profile() argument
72 switch (obj_config->profile) { in tng__H264ES_init_profile()
95 __FUNCTION__, obj_config->profile, ctx->eStandard, ctx->bEnableMVC); in tng__H264ES_init_profile()
101 object_config_p __maybe_unused obj_config) in tng__H264ES_get_codec_type() argument
148 object_config_p __maybe_unused obj_config) in tng__H264ES_init_format_mode() argument
161 object_config_p __maybe_unused obj_config) in tng__H264ES_init_context() argument
1184 object_config_p obj_config) in tng_H264ES_ValidateConfig() argument
1189 for (i = 0; i < obj_config->attrib_count; i++) { in tng_H264ES_ValidateConfig()
1190 switch (obj_config->attrib_list[i].type) { in tng_H264ES_ValidateConfig()
1222 object_config_p obj_config) in tng_H264ES_CreateContext() argument
[all …]
Dpnw_jpeg.c108 object_config_p obj_config) in pnw_jpeg_ValidateConfig() argument
112 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_jpeg_ValidateConfig()
113 switch (obj_config->attrib_list[i].type) { in pnw_jpeg_ValidateConfig()
131 object_config_p obj_config) in pnw_jpeg_CreateContext() argument
140 vaStatus = pnw_CreateContext(obj_context, obj_config, 1); in pnw_jpeg_CreateContext()
148 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_jpeg_CreateContext()
149 if (VAConfigAttribRTFormat == obj_config->attrib_list[i].type) { in pnw_jpeg_CreateContext()
150 switch (obj_config->attrib_list[i].value) { in pnw_jpeg_CreateContext()
Dpsb_buffer.c609 object_config_p obj_config = CONFIG(obj_context->config_id); in psb_codedbuf_map_mangle() local
610 if (NULL == obj_config) { in psb_codedbuf_map_mangle()
620 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle()
625 switch (obj_config->profile) { in psb_codedbuf_map_mangle()
720 object_config_p obj_config = CONFIG(obj_context->config_id); in psb_codedbuf_map_mangle() local
722 if (NULL == obj_config) { in psb_codedbuf_map_mangle()
732 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle()
737 switch (obj_config->profile) { in psb_codedbuf_map_mangle()
Dpnw_H264ES.c84 object_config_p obj_config) in pnw_H264ES_ValidateConfig() argument
88 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_H264ES_ValidateConfig()
89 switch (obj_config->attrib_list[i].type) { in pnw_H264ES_ValidateConfig()
106 object_config_p obj_config) in pnw_H264ES_CreateContext() argument
115 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); in pnw_H264ES_CreateContext()
122 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_H264ES_CreateContext()
123 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in pnw_H264ES_CreateContext()
127 if (i >= obj_config->attrib_count) in pnw_H264ES_CreateContext()
130 eRCmode = obj_config->attrib_list[i].value; in pnw_H264ES_CreateContext()
171 switch (obj_config->profile) { in pnw_H264ES_CreateContext()
Dtng_H263ES.c96 object_config_p obj_config) in tng_H263ES_ValidateConfig() argument
101 for (i = 0; i < obj_config->attrib_count; i++) { in tng_H263ES_ValidateConfig()
102 switch (obj_config->attrib_list[i].type) { in tng_H263ES_ValidateConfig()
122 object_config_p obj_config) in tng_H263ES_CreateContext() argument
129 vaStatus = tng_CreateContext(obj_context, obj_config, 0); in tng_H263ES_CreateContext()
Dvsp_vp8.c102 …ic VAStatus vsp__VP8_check_legal_picture(object_context_p obj_context, object_config_p obj_config);
138 object_config_p obj_config) in vsp_VP8_ValidateConfig() argument
144 for (i = 0; i < obj_config->attrib_count; i++) { in vsp_VP8_ValidateConfig()
145 switch (obj_config->attrib_list[i].type) { in vsp_VP8_ValidateConfig()
199 object_config_p obj_config) in vsp_VP8_CreateContext() argument
217 for (i = 0; i < obj_config->attrib_count; i++) { in vsp_VP8_CreateContext()
218 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) { in vsp_VP8_CreateContext()
219 if (obj_config->attrib_list[i].value == VA_RC_VCM) in vsp_VP8_CreateContext()
Dtng_jpegdec.c219 static VAStatus tng_JPEG_ValidateConfig(object_config_p obj_config) { in tng_JPEG_ValidateConfig() argument
222 for (i = 0; i < obj_config->attrib_count; i++) { in tng_JPEG_ValidateConfig()
223 switch (obj_config->attrib_list[i].type) { in tng_JPEG_ValidateConfig()
236 … VAStatus tng__JPEG_check_legal_picture(object_context_p obj_context, object_config_p obj_config) { in tng__JPEG_check_legal_picture() argument
245 if (NULL == obj_config) { in tng__JPEG_check_legal_picture()
251 switch (obj_config->profile) { in tng__JPEG_check_legal_picture()
275 object_config_p obj_config) { in tng_JPEG_CreateContext() argument
281 vaStatus = tng__JPEG_check_legal_picture(obj_context, obj_config); in tng_JPEG_CreateContext()
303 switch (obj_config->profile) { in tng_JPEG_CreateContext()
Dpsb_drv_video.h668 object_config_p obj_config
672 object_config_p obj_config
799 #define CHECK_CONFIG(obj_config) \ argument
801 if (NULL == obj_config) { \
Dpnw_rotate.c592 object_config_p obj_config = CONFIG(obj_context->config_id); in psb_CreateRotateSurface() local
595 CHECK_CONFIG(obj_config); in psb_CreateRotateSurface()
637 if (obj_config->entrypoint == VAEntrypointVideoProc && in psb_CreateRotateSurface()
655 if (obj_config->entrypoint == VAEntrypointVideoProc && in psb_CreateRotateSurface()
703 … if (GET_SURFACE_INFO_tiling(rotate_surface) && obj_config->entrypoint != VAEntrypointVideoProc) { in psb_CreateRotateSurface()
Dpnw_MPEG2.c575 object_config_p obj_config) in pnw_MPEG2_ValidateConfig() argument
579 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_MPEG2_ValidateConfig()
580 switch (obj_config->attrib_list[i].type) { in pnw_MPEG2_ValidateConfig()
593 …c VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__MPEG2_check_legal_picture() argument
598 CHECK_CONFIG(obj_config); in psb__MPEG2_check_legal_picture()
607 switch (obj_config->profile) { in psb__MPEG2_check_legal_picture()
638 object_config_p obj_config) in pnw_MPEG2_CreateContext() argument
644 vaStatus = psb__MPEG2_check_legal_picture(obj_context, obj_config); in pnw_MPEG2_CreateContext()
Dtng_jpegES.c1012 object_config_p obj_config) in tng_jpeg_ValidateConfig() argument
1017 for (i = 0; i < obj_config->attrib_count; i++) { in tng_jpeg_ValidateConfig()
1018 switch (obj_config->attrib_list[i].type) { in tng_jpeg_ValidateConfig()
1034 object_config_p obj_config) in tng_jpeg_CreateContext() argument
1043 vaStatus = tng_CreateContext(obj_context, obj_config, 1); in tng_jpeg_CreateContext()
1053 for (i = 0; i < obj_config->attrib_count; i++) { in tng_jpeg_CreateContext()
1054 if (VAConfigAttribRTFormat == obj_config->attrib_list[i].type) { in tng_jpeg_CreateContext()
1055 switch (obj_config->attrib_list[i].value) { in tng_jpeg_CreateContext()
Dpnw_MPEG4.c1212 object_config_p obj_config) in pnw_MPEG4_ValidateConfig() argument
1216 for (i = 0; i < obj_config->attrib_count; i++) { in pnw_MPEG4_ValidateConfig()
1217 switch (obj_config->attrib_list[i].type) { in pnw_MPEG4_ValidateConfig()
1230 …c VAStatus psb__MPEG4_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__MPEG4_check_legal_picture() argument
1236 CHECK_CONFIG(obj_config); in psb__MPEG4_check_legal_picture()
1244 switch (obj_config->profile) { in psb__MPEG4_check_legal_picture()
1268 object_config_p obj_config) in pnw_MPEG4_CreateContext() argument
1274 vaStatus = psb__MPEG4_check_legal_picture(obj_context, obj_config); in pnw_MPEG4_CreateContext()
1294 switch (obj_config->profile) { in pnw_MPEG4_CreateContext()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_MPEG4ES.c88 object_config_p obj_config) in lnc_MPEG4ES_ValidateConfig() argument
92 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_MPEG4ES_ValidateConfig()
93 switch (obj_config->attrib_list[i].type) { in lnc_MPEG4ES_ValidateConfig()
110 object_config_p obj_config) in lnc_MPEG4ES_CreateContext() argument
119 vaStatus = lnc_CreateContext(obj_context, obj_config); in lnc_MPEG4ES_CreateContext()
129 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_MPEG4ES_CreateContext()
131 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize) in lnc_MPEG4ES_CreateContext()
132 ctx->max_slice_size = obj_config->attrib_list[i].value; in lnc_MPEG4ES_CreateContext()
133 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in lnc_MPEG4ES_CreateContext()
134 eRCmode = obj_config->attrib_list[i].value; in lnc_MPEG4ES_CreateContext()
[all …]
Dlnc_H263ES.c85 object_config_p obj_config) in lnc_H263ES_ValidateConfig() argument
89 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_H263ES_ValidateConfig()
90 switch (obj_config->attrib_list[i].type) { in lnc_H263ES_ValidateConfig()
107 object_config_p obj_config) in lnc_H263ES_CreateContext() argument
116 vaStatus = lnc_CreateContext(obj_context, obj_config);/* alloc context_ENC_s and BO */ in lnc_H263ES_CreateContext()
126 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_H263ES_CreateContext()
128 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize) in lnc_H263ES_CreateContext()
129 ctx->max_slice_size = obj_config->attrib_list[i].value; in lnc_H263ES_CreateContext()
130 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in lnc_H263ES_CreateContext()
131 eRCmode = obj_config->attrib_list[i].value; in lnc_H263ES_CreateContext()
[all …]
Dlnc_H264ES.c90 object_config_p obj_config) in lnc_H264ES_ValidateConfig() argument
94 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_H264ES_ValidateConfig()
95 switch (obj_config->attrib_list[i].type) { in lnc_H264ES_ValidateConfig()
112 object_config_p obj_config) in lnc_H264ES_CreateContext() argument
121 vaStatus = lnc_CreateContext(obj_context, obj_config); in lnc_H264ES_CreateContext()
131 for (i = 0; i < obj_config->attrib_count; i++) { in lnc_H264ES_CreateContext()
133 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize) in lnc_H264ES_CreateContext()
134 ctx->max_slice_size = obj_config->attrib_list[i].value; in lnc_H264ES_CreateContext()
135 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) in lnc_H264ES_CreateContext()
136 eRCmode = obj_config->attrib_list[i].value; in lnc_H264ES_CreateContext()
[all …]
Dpsb_MPEG2MC.c1237 object_config_p obj_config) in psb_MPEG2MC_ValidateConfig() argument
1241 for (i = 0; i < obj_config->attrib_count; i++) { in psb_MPEG2MC_ValidateConfig()
1242 switch (obj_config->attrib_list[i].type) { in psb_MPEG2MC_ValidateConfig()
1255 …VAStatus psb__MPEG2MC_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__MPEG2MC_check_legal_picture() argument
1265 if (NULL == obj_config) { in psb__MPEG2MC_check_legal_picture()
1278 switch (obj_config->profile) { in psb__MPEG2MC_check_legal_picture()
1303 object_config_p obj_config) in psb_MPEG2MC_CreateContext() argument
1310 vaStatus = psb__MPEG2MC_check_legal_picture(obj_context, obj_config); in psb_MPEG2MC_CreateContext()
Dpsb_MPEG2.c541 object_config_p obj_config) in psb_MPEG2_ValidateConfig() argument
545 for (i = 0; i < obj_config->attrib_count; i++) { in psb_MPEG2_ValidateConfig()
546 switch (obj_config->attrib_list[i].type) { in psb_MPEG2_ValidateConfig()
559 …c VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__MPEG2_check_legal_picture() argument
569 if (NULL == obj_config) { in psb__MPEG2_check_legal_picture()
582 switch (obj_config->profile) { in psb__MPEG2_check_legal_picture()
609 object_config_p obj_config) in psb_MPEG2_CreateContext() argument
615 vaStatus = psb__MPEG2_check_legal_picture(obj_context, obj_config); in psb_MPEG2_CreateContext()
Dpsb_MPEG4.c367 object_config_p obj_config) in psb_MPEG4_ValidateConfig() argument
371 for (i = 0; i < obj_config->attrib_count; i++) { in psb_MPEG4_ValidateConfig()
372 switch (obj_config->attrib_list[i].type) { in psb_MPEG4_ValidateConfig()
385 …c VAStatus psb__MPEG4_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__MPEG4_check_legal_picture() argument
395 if (NULL == obj_config) { in psb__MPEG4_check_legal_picture()
407 switch (obj_config->profile) { in psb__MPEG4_check_legal_picture()
427 object_config_p obj_config) in psb_MPEG4_CreateContext() argument
433 vaStatus = psb__MPEG4_check_legal_picture(obj_context, obj_config); in psb_MPEG4_CreateContext()
471 switch (obj_config->profile) { in psb_MPEG4_CreateContext()
Dpsb_H264.c311 object_config_p obj_config) in psb_H264_ValidateConfig() argument
315 for (i = 0; i < obj_config->attrib_count; i++) { in psb_H264_ValidateConfig()
316 switch (obj_config->attrib_list[i].type) { in psb_H264_ValidateConfig()
329 …ic VAStatus psb__H264_check_legal_picture(object_context_p obj_context, object_config_p obj_config) in psb__H264_check_legal_picture() argument
339 if (NULL == obj_config) { in psb__H264_check_legal_picture()
352 switch (obj_config->profile) { in psb__H264_check_legal_picture()
381 object_config_p obj_config) in psb_H264_CreateContext() argument
387 vaStatus = psb__H264_check_legal_picture(obj_context, obj_config); in psb_H264_CreateContext()
423 switch (obj_config->profile) { in psb_H264_CreateContext()

12