Searched refs:attrib_list (Results 1 - 25 of 45) sorted by relevance

12

/hardware/intel/common/libva/test/basic/
H A Dtest_04.c55 VAConfigAttrib *attrib_list = (VAConfigAttrib *) malloc(sizeof(attributes)); local
56 ASSERT(attrib_list);
65 memcpy(attrib_list, attributes, sizeof(attributes));
67 va_status = vaGetConfigAttributes(va_dpy, profiles[i], entrypoints[j], attrib_list, num_attribs);
71 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value);
72 ASSERT(attrib_list[k].value != DEADVALUE);
77 free(attrib_list);
H A Dtest_vaSurfaceAttrib.c55 VASurfaceAttrib attrib_list[2]; local
93 attrib_list[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor;
94 attrib_list[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType;
95 va_status = vaGetSurfaceAttributes(va_dpy, config_id, attrib_list, 2);
98 if (attrib_list[0].flags != VA_SURFACE_ATTRIB_NOT_SUPPORTED) {
100 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_VA)
102 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_V4L2)
104 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_USER_PTR)
106 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC)
108 if (attrib_list[
[all...]
H A Dtest_06.c76 VAConfigAttrib *attrib_list = malloc(max_attribs * sizeof(VAConfigAttrib)); local
92 memset(attrib_list, 0xff, max_attribs * sizeof(VAConfigAttrib));
94 va_status = vaQueryConfigAttributes(va_dpy, configs[config_count], &profile, &entrypoint, attrib_list, &num_attribs);
102 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value);
103 ASSERT(attrib_list[k].value != VA_ATTRIB_NOT_SUPPORTED);
108 free(attrib_list);
/hardware/intel/common/libva/va/
H A Dva_trace.h72 VAConfigAttrib *attrib_list,
84 VASurfaceAttrib *attrib_list,
154 VASurfaceAttrib *attrib_list,
H A Dva_fool.h55 VAConfigAttrib *attrib_list,
H A Dva_backend.h75 VAConfigAttrib *attrib_list, /* in/out */
83 VAConfigAttrib *attrib_list,
98 VAConfigAttrib *attrib_list, /* out */
399 VASurfaceAttrib *attrib_list,
411 VASurfaceAttrib *attrib_list,
419 VASurfaceAttrib *attrib_list,
H A Dva.c595 VAConfigAttrib *attrib_list, /* in/out */
603 return ctx->vtable->vaGetConfigAttributes ( ctx, profile, entrypoint, attrib_list, num_attribs );
623 VAConfigAttrib *attrib_list,
634 vaStatus = ctx->vtable->vaCreateConfig ( ctx, profile, entrypoint, attrib_list, num_attribs, config_id );
637 VA_TRACE_ALL(va_TraceCreateConfig, dpy, profile, entrypoint, attrib_list, num_attribs, config_id);
638 VA_FOOL_FUNC(va_FoolCreateConfig, dpy, profile, entrypoint, attrib_list, num_attribs, config_id);
660 VAConfigAttrib *attrib_list,/* out */
668 return ctx->vtable->vaQueryConfigAttributes( ctx, config_id, profile, entrypoint, attrib_list, num_attribs);
811 VASurfaceAttrib *attrib_list,
825 attrib_list, num_attrib
591 vaGetConfigAttributes( VADisplay dpy, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs ) argument
619 vaCreateConfig( VADisplay dpy, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id ) argument
655 vaQueryConfigAttributes( VADisplay dpy, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs ) argument
808 vaQuerySurfaceAttributes( VADisplay dpy, VAConfigID config, VASurfaceAttrib *attrib_list, unsigned int *num_attribs ) argument
836 vaCreateSurfaces( VADisplay dpy, unsigned int format, unsigned int width, unsigned int height, VASurfaceID *surfaces, unsigned int num_surfaces, VASurfaceAttrib *attrib_list, unsigned int num_attribs ) argument
[all...]
/hardware/intel/img/psb_video/src/mrst/
H A Dlnc_H263ES.c55 VAConfigAttrib *attrib_list,
63 switch (attrib_list[i].type) {
68 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
72 attrib_list[i].value = 0;
76 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
90 switch (obj_config->attrib_list[i].type) {
128 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize)
129 ctx->max_slice_size = obj_config->attrib_list[i].value;
130 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
131 eRCmode = obj_config->attrib_list[
52 lnc_H263ES_QueryConfigAttributes( VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
[all...]
H A Dlnc_MPEG4ES.c56 VAConfigAttrib *attrib_list,
65 switch (attrib_list[i].type) {
70 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
74 attrib_list[i].value = 0;
78 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
93 switch (obj_config->attrib_list[i].type) {
131 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize)
132 ctx->max_slice_size = obj_config->attrib_list[i].value;
133 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
134 eRCmode = obj_config->attrib_list[
53 lnc_MPEG4ES_QueryConfigAttributes( VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
[all...]
H A Dlnc_H264ES.c60 VAConfigAttrib *attrib_list,
69 switch (attrib_list[i].type) {
74 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR | VA_RC_VCM;
78 attrib_list[i].value = 0;
82 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
95 switch (obj_config->attrib_list[i].type) {
133 if (obj_config->attrib_list[i].type == VAConfigAttribEncMaxSliceSize)
134 ctx->max_slice_size = obj_config->attrib_list[i].value;
135 else if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
136 eRCmode = obj_config->attrib_list[
57 lnc_H264ES_QueryConfigAttributes( VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
[all...]
/hardware/intel/img/psb_video/src/
H A Dpnw_H263ES.c54 VAConfigAttrib *attrib_list,
62 switch (attrib_list[i].type) {
67 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
71 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
85 switch (obj_config->attrib_list[i].type) {
119 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
126 eRCmode = obj_config->attrib_list[i].value;
51 pnw_H263ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dpnw_MPEG4ES.c55 VAConfigAttrib * attrib_list,
64 switch (attrib_list[i].type) {
69 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
73 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
88 switch (obj_config->attrib_list[i].type) {
121 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
128 eRCmode = obj_config->attrib_list[i].value;
52 pnw_MPEG4ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib * attrib_list, int num_attribs) argument
H A Dtng_MPEG4ES.c62 VAConfigAttrib *attrib_list,
71 switch (attrib_list[i].type) {
76 attrib_list[i].value = 1;
80 attrib_list[i].value = 2;
84 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
88 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
102 switch (obj_config->attrib_list[i].type) {
59 tng_MPEG4ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dpnw_jpeg.c63 VAConfigAttrib *attrib_list,
72 switch (attrib_list[i].type) {
79 VAConfigAttribValEncJPEG* ptr = (VAConfigAttribValEncJPEG *)&(attrib_list[i].value);
95 attrib_list[i].value = 0; /* No pure limitation */
98 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
113 switch (obj_config->attrib_list[i].type) {
149 if (VAConfigAttribRTFormat == obj_config->attrib_list[i].type) {
150 switch (obj_config->attrib_list[i].value) {
60 pnw_jpeg_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dpsb_drv_video.c273 VAConfigAttrib *attrib_list, /* in/out */
293 CHECK_INVALID_PARAM(attrib_list == NULL);
298 switch (attrib_list[i].type) {
300 attrib_list[i].value = VA_RT_FORMAT_YUV420;
302 attrib_list[i].value |= VA_RT_FORMAT_YUV422;
304 attrib_list[i].value |= VA_RT_FORMAT_YUV444;
308 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
313 format_vtable->queryConfigAttributes(profile, entrypoint, attrib_list, num_attribs);
323 if (obj_config->attrib_list[i].type == attrib->type) {
325 obj_config->attrib_list[
269 psb_GetConfigAttributes( VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs ) argument
395 psb_CreateConfig( VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id ) argument
556 psb_QueryConfigAttributes( VADriverContextP ctx, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs ) argument
631 psb_GetSurfaceAttributes( VADriverContextP __maybe_unused ctx, VAConfigID __maybe_unused config, VASurfaceAttrib *attrib_list, unsigned int num_attribs ) argument
722 psb_CreateSurfaces2( VADriverContextP ctx, unsigned int format, unsigned int width, unsigned int height, VASurfaceID *surface_list, unsigned int num_surfaces, VASurfaceAttrib *attrib_list, unsigned int num_attribs ) argument
2747 psb_QuerySurfaceAttributes(VADriverContextP ctx, VAConfigID config, VASurfaceAttrib *attrib_list, unsigned int *num_attribs) argument
[all...]
H A Dtng_H263ES.c62 VAConfigAttrib *attrib_list,
71 switch (attrib_list[i].type) {
76 attrib_list[i].value = 1;
80 attrib_list[i].value = 2;
84 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR;
88 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
102 switch (obj_config->attrib_list[i].type) {
59 tng_H263ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dvsp_vp8.c107 VAConfigAttrib *attrib_list,
114 switch (attrib_list[i].type) {
118 attrib_list[i].value = VA_RC_CBR | VA_RC_VCM | VA_RC_VBR;
121 attrib_list[i].value = 1;
124 attrib_list[i].value = 4;
127 attrib_list[i].value = 3;
131 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
145 switch (obj_config->attrib_list[i].type) {
218 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl) {
219 if (obj_config->attrib_list[
104 vsp_VP8_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
[all...]
H A Dpnw_MPEG2.c537 VAConfigAttrib __maybe_unused * attrib_list,
544 switch (attrib_list[i].type) {
548 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_WIDTH_MPEG2_SP;
550 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_WIDTH_MPEG2_MP;
552 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
555 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
560 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_HEIGHT_MPEG2_SP;
562 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_HEIGHT_MPEG2_MP;
565 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
580 switch (obj_config->attrib_list[
534 pnw_MPEG2_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib __maybe_unused * attrib_list, int __maybe_unused num_attribs) argument
[all...]
H A Dpnw_H264ES.c54 VAConfigAttrib *attrib_list,
63 switch (attrib_list[i].type) {
68 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR | VA_RC_VCM;
72 attrib_list[i].value = 1;
76 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
89 switch (obj_config->attrib_list[i].type) {
123 if (obj_config->attrib_list[i].type == VAConfigAttribRateControl)
130 eRCmode = obj_config->attrib_list[i].value;
51 pnw_H264ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dpnw_MPEG4.c1175 VAConfigAttrib *attrib_list,
1182 switch (attrib_list[i].type) {
1186 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_WIDTH_MPEG4;
1188 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_WIDTH_H263;
1190 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
1193 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
1198 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_HEIGHT_MPEG4;
1200 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_HEIGHT_H263;
1203 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
1217 switch (obj_config->attrib_list[
1172 pnw_MPEG4_QueryConfigAttributes( VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
[all...]
H A Dtng_H264ES.c1153 VAConfigAttrib *attrib_list,
1160 switch (attrib_list[i].type) {
1165 attrib_list[i].value = VA_RC_NONE | VA_RC_CBR | VA_RC_VBR | VA_RC_VCM;
1169 attrib_list[i].value = 1;
1173 attrib_list[i].value = 4;
1177 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
1190 switch (obj_config->attrib_list[i].type) {
1150 tng_H264ES_QueryConfigAttributes( VAProfile __maybe_unused profile, VAEntrypoint __maybe_unused entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
H A Dtng_VP8.c395 VAConfigAttrib *attrib_list,
402 switch (attrib_list[i].type) {
406 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_WIDTH_VP8;
408 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
413 attrib_list[i].value = HW_SUPPORTED_MAX_PICTURE_HEIGHT_VP8;
415 attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
429 switch (obj_config->attrib_list[i].type) {
392 tng_VP8_QueryConfigAttributes( VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument
/hardware/intel/img/hwcomposer/merrifield/common/devices/
H A DVirtualDevice.cpp181 VASurfaceAttrib attrib_list[3]; local
182 attrib_list[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType;
183 attrib_list[0].flags = VA_SURFACE_ATTRIB_SETTABLE;
184 attrib_list[0].value.type = VAGenericValueTypeInteger;
185 attrib_list[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC;
186 attrib_list[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor;
187 attrib_list[1].flags = VA_SURFACE_ATTRIB_SETTABLE;
188 attrib_list[1].value.type = VAGenericValueTypePointer;
189 attrib_list[1].value.value.p = (void *)&buf;
190 attrib_list[
1871 VASurfaceAttrib attrib_list[2]; local
[all...]
/hardware/intel/common/libva/test/encode/
H A Dmpeg2enc.c821 VAConfigAttrib attrib_list[2]; local
852 attrib_list[0].type = VAConfigAttribRTFormat;
853 attrib_list[1].type = VAConfigAttribRateControl;
857 &attrib_list[0],
860 if ((attrib_list[0].value & VA_RT_FORMAT_YUV420) == 0) {
865 if ((attrib_list[1].value & ctx->rate_control_mode) == 0) {
871 attrib_list[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */
872 attrib_list[1].value = ctx->rate_control_mode; /* set to desired RC mode */
877 attrib_list,
H A Dmpeg2vaenc.c821 VAConfigAttrib attrib_list[2]; local
852 attrib_list[0].type = VAConfigAttribRTFormat;
853 attrib_list[1].type = VAConfigAttribRateControl;
857 &attrib_list[0],
860 if ((attrib_list[0].value & VA_RT_FORMAT_YUV420) == 0) {
865 if ((attrib_list[1].value & ctx->rate_control_mode) == 0) {
871 attrib_list[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */
872 attrib_list[1].value = ctx->rate_control_mode; /* set to desired RC mode */
877 attrib_list,

Completed in 1375 milliseconds

12