|
49 | 49 | MEDIA_DRV_MUTEX mutex_global = PTHREAD_MUTEX_INITIALIZER;
|
50 | 50 |
|
51 | 51 | config_attr_list config_attributes_list[MEDIA_GEN_MAX_CONFIG_ATTRIBUTES] = {
|
52 |
| - {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointHybridEncSlice, |
| 52 | + {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointEncSlice, |
53 | 53 | VA_RC_CQP, 1}
|
54 | 54 | ,
|
55 |
| - {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointHybridEncSlice, |
| 55 | + {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointEncSlice, |
56 | 56 | VA_RC_CBR, 1}
|
57 | 57 | ,
|
58 |
| - {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointHybridEncSlice, |
| 58 | + {VAProfileVP8Version0_3, (VAEntrypoint) VAEntrypointEncSlice, |
59 | 59 | VA_RC_VBR, 1}
|
60 | 60 | };
|
61 | 61 |
|
@@ -1409,7 +1409,7 @@ media_EndPicture (VADriverContextP ctx, VAContextID context)
|
1409 | 1409 | if (obj_context->codec_type == CODEC_ENC)
|
1410 | 1410 | {
|
1411 | 1411 |
|
1412 |
| - MEDIA_DRV_ASSERT (VAEntrypointHybridEncSlice == obj_config->entrypoint); |
| 1412 | + MEDIA_DRV_ASSERT (VAEntrypointEncSlice == obj_config->entrypoint); |
1413 | 1413 |
|
1414 | 1414 | if (!(obj_context->codec_state.encode.pic_param ||
|
1415 | 1415 | obj_context->codec_state.encode.pic_param_ext))
|
@@ -1818,7 +1818,7 @@ media_RenderPicture (VADriverContextP ctx,
|
1818 | 1818 | obj_config = obj_context->obj_config;
|
1819 | 1819 | MEDIA_DRV_ASSERT (obj_config);
|
1820 | 1820 |
|
1821 |
| - if (VAEntrypointHybridEncSlice == obj_config->entrypoint) |
| 1821 | + if (VAEntrypointEncSlice == obj_config->entrypoint) |
1822 | 1822 | {
|
1823 | 1823 | vaStatus =
|
1824 | 1824 | media_encoder_render_picture (ctx, context, buffers, num_buffers);
|
@@ -2135,7 +2135,7 @@ media_CreateContext (VADriverContextP ctx, VAConfigID config_id, INT picture_wid
|
2135 | 2135 | if (VA_STATUS_SUCCESS == status)
|
2136 | 2136 | {
|
2137 | 2137 |
|
2138 |
| - if (VAEntrypointHybridEncSlice == obj_config->entrypoint) |
| 2138 | + if (VAEntrypointEncSlice == obj_config->entrypoint) |
2139 | 2139 | { /*encode routin only */
|
2140 | 2140 |
|
2141 | 2141 | obj_context->codec_type = CODEC_ENC;
|
@@ -2299,7 +2299,7 @@ media_validate_config(VADriverContextP ctx, VAProfile profile,
|
2299 | 2299 | /* Validate profile & entrypoint */
|
2300 | 2300 | switch (profile) {
|
2301 | 2301 | case VAProfileVP8Version0_3:
|
2302 |
| - if ((entrypoint == VAEntrypointHybridEncSlice) && |
| 2302 | + if ((entrypoint == VAEntrypointEncSlice) && |
2303 | 2303 | drv_ctx->codec_info->vp8_enc_hybrid_support) {
|
2304 | 2304 | va_status = VA_STATUS_SUCCESS;
|
2305 | 2305 | } else {
|
@@ -2484,7 +2484,7 @@ media_QueryConfigEntrypoints (VADriverContextP ctx, VAProfile profile, VAEntrypo
|
2484 | 2484 | {
|
2485 | 2485 | case VAProfileVP8Version0_3:
|
2486 | 2486 | if (drv_ctx->codec_info->vp8_enc_hybrid_support) {
|
2487 |
| - entrypoint_list[index++] = (VAEntrypoint) VAEntrypointHybridEncSlice; |
| 2487 | + entrypoint_list[index++] = (VAEntrypoint) VAEntrypointEncSlice; |
2488 | 2488 | }
|
2489 | 2489 | break;
|
2490 | 2490 | case VAProfileVP9Profile0:
|
|
0 commit comments