Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp170 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
172 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
177 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
184 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
195 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_hdmi.cpp178 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
180 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
185 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
192 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
197 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
199 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
200 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
202 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
203 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c39 VAConfigAttrib attrib[2]; in test() local
71 attrib[0].type = VAConfigAttribRTFormat; in test()
72 attrib[1].type = VAConfigAttribRateControl; in test()
73 …va_status = vaGetConfigAttributes(va_dpy, VAProfileH264Baseline, VAEntrypointEncSlice, &attrib[0],… in test()
76 if ((attrib[0].value & VA_RT_FORMAT_YUV420) == 0) { in test()
81 if ((attrib[1].value & VA_RC_VBR) == 0) { in test()
87 attrib[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */ in test()
88 attrib[1].value = VA_RC_VBR; /* set to desired RC mode */ in test()
90 …va_status = vaCreateConfig(va_dpy, VAProfileH264Baseline, VAEntrypointEncSlice, &attrib[0], 2, &co… in test()
Dtest.c98 VAConfigAttrib attrib; in main() local
102 attrib.type = VAConfigAttribRTFormat; in main()
104 &attrib, 1); in main()
107 ASSERT(attrib.value & VA_RT_FORMAT_YUV420); in main()
110 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, &attrib, 1, in main()
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/
DVideoDecoderAVCSecure.cpp331 VAConfigAttrib attrib[2]; in getCodecSpecificConfigs() local
338 attrib[0].type = VAConfigAttribRTFormat; in getCodecSpecificConfigs()
339 attrib[0].value = VA_RT_FORMAT_YUV420; in getCodecSpecificConfigs()
340 attrib[1].type = VAConfigAttribDecSliceMode; in getCodecSpecificConfigs()
341 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
343 vaStatus = vaGetConfigAttributes(mVADisplay,profile,VAEntrypointVLD, &attrib[1], 1); in getCodecSpecificConfigs()
345 if (attrib[1].value & VA_DEC_SLICE_MODE_BASE) in getCodecSpecificConfigs()
348 attrib[1].value = VA_DEC_SLICE_MODE_BASE; in getCodecSpecificConfigs()
349 } else if (attrib[1].value & VA_DEC_SLICE_MODE_NORMAL) { in getCodecSpecificConfigs()
351 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
[all …]
/hardware/intel/common/libmix/videodecoder/securevideo/cherrytrail/
DVideoDecoderAVCSecure.cpp315 VAConfigAttrib attrib[2]; in getCodecSpecificConfigs() local
322 attrib[0].type = VAConfigAttribRTFormat; in getCodecSpecificConfigs()
323 attrib[0].value = VA_RT_FORMAT_YUV420; in getCodecSpecificConfigs()
324 attrib[1].type = VAConfigAttribDecSliceMode; in getCodecSpecificConfigs()
325 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
327 vaStatus = vaGetConfigAttributes(mVADisplay,profile,VAEntrypointVLD, &attrib[1], 1); in getCodecSpecificConfigs()
329 if (attrib[1].value & VA_DEC_SLICE_MODE_BASE) in getCodecSpecificConfigs()
332 attrib[1].value = VA_DEC_SLICE_MODE_BASE; in getCodecSpecificConfigs()
333 } else if (attrib[1].value & VA_DEC_SLICE_MODE_NORMAL) { in getCodecSpecificConfigs()
335 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
[all …]
/hardware/intel/common/libva/va/glx/
Dva_glx_impl.c470 int *attrib; in create_tfp_surface() local
499 for (attrib = fbconfig_attrs; *attrib != GL_NONE; attrib += 2) in create_tfp_surface()
501 *attrib++ = GLX_DEPTH_SIZE; *attrib++ = wattr.depth; in create_tfp_surface()
503 *attrib++ = GLX_ALPHA_SIZE; *attrib++ = 8; in create_tfp_surface()
504 *attrib++ = GLX_BIND_TO_TEXTURE_RGBA_EXT; *attrib++ = GL_TRUE; in create_tfp_surface()
507 *attrib++ = GLX_BIND_TO_TEXTURE_RGB_EXT; *attrib++ = GL_TRUE; in create_tfp_surface()
509 *attrib++ = GL_NONE; in create_tfp_surface()
525 for (attrib = pixmap_attrs; *attrib != GL_NONE; attrib += 2) in create_tfp_surface()
527 *attrib++ = GLX_TEXTURE_FORMAT_EXT; in create_tfp_surface()
529 *attrib++ = GLX_TEXTURE_FORMAT_RGBA_EXT; in create_tfp_surface()
[all …]
/hardware/intel/common/libva/test/decode/
Dmpeg2vldemo.cpp143 VAConfigAttrib attrib; in main() local
176 attrib.type = VAConfigAttribRTFormat; in main()
178 &attrib, 1); in main()
179 if ((attrib.value & VA_RT_FORMAT_YUV420) == 0) { in main()
185 &attrib, 1,&config_id); in main()
Dtinyjpeg.c565 VAConfigAttrib attrib; in tinyjpeg_decode() local
605 attrib.type = VAConfigAttribRTFormat; in tinyjpeg_decode()
607 &attrib, 1); in tinyjpeg_decode()
608 if ((attrib.value & VA_RT_FORMAT_YUV420) == 0) { in tinyjpeg_decode()
614 &attrib, 1,&config_id); in tinyjpeg_decode()
/hardware/intel/common/libva/va/
Dva.c728 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes() local
729 attrib->type = attribs_map[n].type; in va_impl_query_surface_attributes()
730 attrib->flags = VA_SURFACE_ATTRIB_GETTABLE; in va_impl_query_surface_attributes()
731 attrib->value.type = attribs_map[n].value_type; in va_impl_query_surface_attributes()
736 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes() local
737 attrib->type = VASurfaceAttribPixelFormat; in va_impl_query_surface_attributes()
738 attrib->flags = VA_SURFACE_ATTRIB_GETTABLE|VA_SURFACE_ATTRIB_SETTABLE; in va_impl_query_surface_attributes()
739 attrib->value.type = VAGenericValueTypeInteger; in va_impl_query_surface_attributes()
740 attrib->value.value.i = image_formats[i].fourcc; in va_impl_query_surface_attributes()
756 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes() local
[all …]
Dva_vpp.h833 VAProcColorBalanceType attrib; member
887 VAProcTotalColorCorrectionType attrib; member
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2004 VAConfigAttrib attrib[2]; in create_encode_pipe() local
2029 attrib[0].type = VAConfigAttribRTFormat; in create_encode_pipe()
2030 attrib[1].type = VAConfigAttribRateControl; in create_encode_pipe()
2032 &attrib[0], 2); in create_encode_pipe()
2034 if ((attrib[0].value & VA_RT_FORMAT_YUV420) == 0) { in create_encode_pipe()
2039 if ((attrib[1].value & VA_RC_CQP) == 0) { in create_encode_pipe()
2045 attrib[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */ in create_encode_pipe()
2046 attrib[1].value = VA_RC_CQP; /* set to desired RC mode */ in create_encode_pipe()
2049 &attrib[0], 2,&avcenc_context.config_id); in create_encode_pipe()
3086 VAConfigAttrib attrib; in zoom_out_surface() local
[all …]
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderAVC.cpp1026 VAConfigAttrib attrib[2]; in getCodecSpecificConfigs() local
1033 attrib[0].type = VAConfigAttribRTFormat; in getCodecSpecificConfigs()
1034 attrib[0].value = VA_RT_FORMAT_YUV420; in getCodecSpecificConfigs()
1035 attrib[1].type = VAConfigAttribDecSliceMode; in getCodecSpecificConfigs()
1036 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
1038 vaStatus = vaGetConfigAttributes(mVADisplay,profile,VAEntrypointVLD, &attrib[1], 1); in getCodecSpecificConfigs()
1040 if (attrib[1].value & VA_DEC_SLICE_MODE_BASE) { in getCodecSpecificConfigs()
1042 attrib[1].value = VA_DEC_SLICE_MODE_BASE; in getCodecSpecificConfigs()
1043 } else if (attrib[1].value & VA_DEC_SLICE_MODE_NORMAL) { in getCodecSpecificConfigs()
1045 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
[all …]
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp140 VAConfigAttrib attrib; in init() local
141 attrib.type = VAConfigAttribRTFormat; in init()
142 vaStatus = vaGetConfigAttributes(mVADisplay, VAProfileNone, VAEntrypointVideoProc, &attrib, 1); in init()
145 if ((attrib.value & VA_RT_FORMAT_YUV420) == 0) { in init()
146 ALOGE("attribute is %x vs wanted %x", attrib.value, VA_RT_FORMAT_YUV420); in init()
152 …vaStatus = vaCreateConfig(mVADisplay, VAProfileNone, VAEntrypointVideoProc, &attrib, 1, &mVAConfig… in init()
525 color[i].attrib = VAProcColorBalanceAutoSaturation; in setupFilters()
531 color[i].attrib = VAProcColorBalanceAutoBrightness; in setupFilters()
541 color[kHue].attrib = VAProcColorBalanceHue; in setupFilters()
551 color[kSaturation].attrib = VAProcColorBalanceSaturation; in setupFilters()
[all …]
/hardware/intel/common/libva/test/encode/
Dh264encode.c79 static VAConfigAttrib attrib[VAConfigAttribTypeMax]; variable
992 attrib[i].type = i; in init_va()
995 &attrib[0], VAConfigAttribTypeMax); in init_va()
998 if ((attrib[VAConfigAttribRTFormat].value & VA_RT_FORMAT_YUV420) == 0) { in init_va()
1007 if (attrib[VAConfigAttribRateControl].value != VA_ATTRIB_NOT_SUPPORTED) { in init_va()
1008 int tmp = attrib[VAConfigAttribRateControl].value; in init_va()
1034 if (attrib[VAConfigAttribEncPackedHeaders].value != VA_ATTRIB_NOT_SUPPORTED) { in init_va()
1035 int tmp = attrib[VAConfigAttribEncPackedHeaders].value; in init_va()
1066 if (attrib[VAConfigAttribEncInterlaced].value != VA_ATTRIB_NOT_SUPPORTED) { in init_va()
1067 int tmp = attrib[VAConfigAttribEncInterlaced].value; in init_va()
[all …]
Davcenc.c160 VAConfigAttrib attrib[2]; in create_encode_pipe() local
182 attrib[0].type = VAConfigAttribRTFormat; in create_encode_pipe()
183 attrib[1].type = VAConfigAttribRateControl; in create_encode_pipe()
185 &attrib[0], 2); in create_encode_pipe()
187 if ((attrib[0].value & VA_RT_FORMAT_YUV420) == 0) { in create_encode_pipe()
192 if ((attrib[1].value & avcenc_context.rate_control_method) == 0) { in create_encode_pipe()
198 attrib[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */ in create_encode_pipe()
199 attrib[1].value = avcenc_context.rate_control_method; /* set to desired RC mode */ in create_encode_pipe()
202 &attrib[0], 2,&avcenc_context.config_id); in create_encode_pipe()
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp624 color_balance_param[count].attrib = VAProcColorBalanceHue; in color_balance_filter_init()
628 color_balance_param[count].attrib = VAProcColorBalanceSaturation; in color_balance_filter_init()
632 color_balance_param[count].attrib = VAProcColorBalanceBrightness; in color_balance_filter_init()
636 color_balance_param[count].attrib = VAProcColorBalanceContrast; in color_balance_filter_init()
843 VAConfigAttrib attrib; in vpp_context_create() local
844 attrib.type = VAConfigAttribRTFormat; in vpp_context_create()
848 &attrib, in vpp_context_create()
851 if ((attrib.value != g_out_format)) { in vpp_context_create()
868 &attrib, in vpp_context_create()
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/
DVideoDecoderAVCSecure.cpp833 VAConfigAttrib attrib[2]; in getCodecSpecificConfigs() local
840 attrib[0].type = VAConfigAttribRTFormat; in getCodecSpecificConfigs()
841 attrib[0].value = VA_RT_FORMAT_YUV420; in getCodecSpecificConfigs()
842 attrib[1].type = VAConfigAttribDecSliceMode; in getCodecSpecificConfigs()
843 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
845 attrib[1].value = VA_DEC_SLICE_MODE_SUBSAMPLE; in getCodecSpecificConfigs()
852 &attrib[0], in getCodecSpecificConfigs()
/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/
DVideoDecoderAVCSecure.cpp853 VAConfigAttrib attrib[2]; in getCodecSpecificConfigs() local
860 attrib[0].type = VAConfigAttribRTFormat; in getCodecSpecificConfigs()
861 attrib[0].value = VA_RT_FORMAT_YUV420; in getCodecSpecificConfigs()
862 attrib[1].type = VAConfigAttribDecSliceMode; in getCodecSpecificConfigs()
863 attrib[1].value = VA_DEC_SLICE_MODE_NORMAL; in getCodecSpecificConfigs()
865 attrib[1].value = VA_DEC_SLICE_MODE_SUBSAMPLE; in getCodecSpecificConfigs()
872 &attrib[0], in getCodecSpecificConfigs()
/hardware/intel/bootstub/
Dsfi.h28 u64 attrib; member
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp587 HWDisplayAttributes *attrib) { in GetDisplayS3DSupport() argument
597 attrib->s3d_config[kS3DModeNone] = 1; in GetDisplayS3DSupport()
624 attrib->s3d_config[kS3DModeLR] = 1; in GetDisplayS3DSupport()
625 attrib->s3d_config[kS3DModeRL] = 1; in GetDisplayS3DSupport()
627 attrib->s3d_config[kS3DModeTB] = 1; in GetDisplayS3DSupport()
629 attrib->s3d_config[kS3DModeFP] = 1; in GetDisplayS3DSupport()
Dhw_hdmi.h86 HWDisplayAttributes *attrib);
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp562 HWDisplayAttributes *attrib) { in GetDisplayS3DSupport() argument
572 attrib->s3d_config[kS3DModeNone] = 1; in GetDisplayS3DSupport()
600 attrib->s3d_config[kS3DModeLR] = 1; in GetDisplayS3DSupport()
601 attrib->s3d_config[kS3DModeRL] = 1; in GetDisplayS3DSupport()
603 attrib->s3d_config[kS3DModeTB] = 1; in GetDisplayS3DSupport()
605 attrib->s3d_config[kS3DModeFP] = 1; in GetDisplayS3DSupport()
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h465 struct ipa_rule_attrib attrib; member
497 struct ipa_rule_attrib attrib; member
706 struct ipa_rule_attrib attrib; member
742 struct ipa_rule_attrib attrib; member
841 struct ipa_rule_attrib attrib; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h657 struct ipa_rule_attrib attrib; member
717 struct ipa_rule_attrib attrib; member
1184 struct ipa_rule_attrib attrib; member
1246 struct ipa_rule_attrib attrib; member
1453 struct ipa_rule_attrib attrib; member

12