Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 263) sorted by relevance

1234567891011

/hardware/intel/img/psb_video/src/
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…
109 context_ENC_p ctx; in pnw_H264ES_CreateContext() local
120 ctx = (context_ENC_p) obj_context->format_data; in pnw_H264ES_CreateContext()
134 ctx->eCodec = IMG_CODEC_H264_VBR; in pnw_H264ES_CreateContext()
135 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H264ES_CreateContext()
136 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE; in pnw_H264ES_CreateContext()
138 ctx->eCodec = IMG_CODEC_H264_CBR; in pnw_H264ES_CreateContext()
139 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H264ES_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…
106 context_ENC_p ctx; in pnw_H263ES_CreateContext() local
116 ctx = (context_ENC_p) obj_context->format_data; in pnw_H263ES_CreateContext()
130 ctx->eCodec = IMG_CODEC_H263_VBR; in pnw_H263ES_CreateContext()
131 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H263ES_CreateContext()
133 ctx->eCodec = IMG_CODEC_H263_CBR; in pnw_H263ES_CreateContext()
134 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H263ES_CreateContext()
136 ctx->eCodec = IMG_CODEC_H263_NO_RC; in pnw_H263ES_CreateContext()
[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…
108 context_ENC_p ctx; in pnw_MPEG4ES_CreateContext() local
118 ctx = (context_ENC_p) obj_context->format_data; in pnw_MPEG4ES_CreateContext()
132 ctx->eCodec = IMG_CODEC_MPEG4_VBR; in pnw_MPEG4ES_CreateContext()
133 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_MPEG4ES_CreateContext()
135 ctx->eCodec = IMG_CODEC_MPEG4_CBR; in pnw_MPEG4ES_CreateContext()
136 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_MPEG4ES_CreateContext()
138 ctx->eCodec = IMG_CODEC_MPEG4_NO_RC; in pnw_MPEG4ES_CreateContext()
[all …]
Dpnw_MPEG2.c529 #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…
641 context_MPEG2_p ctx; in pnw_MPEG2_CreateContext() local
649 ctx = (context_MPEG2_p) calloc(1, sizeof(struct context_MPEG2_s)); in pnw_MPEG2_CreateContext()
650 CHECK_ALLOCATION(ctx); in pnw_MPEG2_CreateContext()
652 obj_context->format_data = (void*) ctx; in pnw_MPEG2_CreateContext()
653 ctx->obj_context = obj_context; in pnw_MPEG2_CreateContext()
654 ctx->pic_params = NULL; in pnw_MPEG2_CreateContext()
655 ctx->got_iq_matrix = FALSE; in pnw_MPEG2_CreateContext()
656 ctx->previous_slice_vertical_position = ~1; in pnw_MPEG2_CreateContext()
[all …]
Dtng_hostcode.c149 static VAStatus tng__alloc_context_buffer(context_ENC_p ctx, IMG_UINT8 ui8IsJpeg, IMG_UINT32 ui32St… in tng__alloc_context_buffer() argument
155 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__alloc_context_buffer()
156 psb_driver_data_p ps_driver_data = ctx->obj_context->driver_data; in tng__alloc_context_buffer()
157 context_ENC_mem *ps_mem = &(ctx->ctx_mem[ui32StreamID]); in tng__alloc_context_buffer()
158 context_ENC_mem_size *ps_mem_size = &(ctx->ctx_mem_size); in tng__alloc_context_buffer()
160 if (ctx->eStandard == IMG_STANDARD_H264) { in tng__alloc_context_buffer()
161 ctx->ui8PipesToUse = tng__min(ctx->ui8PipesToUse, ctx->ui8SlicesPerPicture); in tng__alloc_context_buffer()
163 ctx->ui8PipesToUse = 1; in tng__alloc_context_buffer()
166 ctx->i32PicNodes = (psRCParams->b16Hierarchical ? MAX_REF_B_LEVELS : 0) + 4; in tng__alloc_context_buffer()
167 ctx->i32MVStores = (ctx->i32PicNodes * 2); in tng__alloc_context_buffer()
[all …]
Dtng_hostair.c43 VAStatus tng_air_buf_create(context_ENC_p ctx) in tng_air_buf_create() argument
45 IMG_UINT32 ui32MbNum = (ctx->ui16PictureHeight * ctx->ui16Width) >> 8; in tng_air_buf_create()
46 ctx->sAirInfo.pi8AIR_Table = (IMG_INT8 *)malloc(ui32MbNum); in tng_air_buf_create()
48 if (!ctx->sAirInfo.pi8AIR_Table) { in tng_air_buf_create()
53 memset(ctx->sAirInfo.pi8AIR_Table, 0, ui32MbNum); in tng_air_buf_create()
57 static void tng_air_buf_clear(context_ENC_p ctx) in tng_air_buf_clear() argument
60 IMG_UINT32 ui32MbNum = (ctx->ui16PictureHeight * ctx->ui16Width) >> 8; in tng_air_buf_clear()
61 …Num = %d, ctx->sAirInfo.pi8AIR_Table = 0x%08x\n", __FUNCTION__, ui32MbNum, ctx->sAirInfo.pi8AIR_Ta… in tng_air_buf_clear()
62 memset(ctx->sAirInfo.pi8AIR_Table, 0, ui32MbNum); in tng_air_buf_clear()
63 …Num = %d, ctx->sAirInfo.pi8AIR_Table = 0x%08x\n", __FUNCTION__, ui32MbNum, ctx->sAirInfo.pi8AIR_Ta… in tng_air_buf_clear()
[all …]
Dtng_H264ES.c61 #define INIT_CONTEXT_H264ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data
62 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
63 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
70 context_ENC_p ctx; in tng__H264ES_init_profile() local
71 ctx = (context_ENC_p) obj_context->format_data; in tng__H264ES_init_profile()
75 ctx->ui8ProfileIdc = H264ES_PROFILE_BASELINE; in tng__H264ES_init_profile()
78 ctx->ui8ProfileIdc = H264ES_PROFILE_MAIN; in tng__H264ES_init_profile()
81 ctx->ui8ProfileIdc = H264ES_PROFILE_HIGH; in tng__H264ES_init_profile()
84 ctx->ui8ProfileIdc = H264ES_PROFILE_HIGH; in tng__H264ES_init_profile()
85 ctx->bEnableMVC = 1; in tng__H264ES_init_profile()
[all …]
Dtng_VP8.c339 #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…
343 static psb_surface_stride_t get_opp_mode_stride(context_VP8_p ctx, const unsigned int uiStride) { in get_opp_mode_stride() argument
344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in get_opp_mode_stride()
376 static int get_inloop_opmod(context_VP8_p ctx) { in get_inloop_opmod() argument
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()
379 psb_surface_stride_t eOppModeStride = get_opp_mode_stride(ctx,target_surface->stride); 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()
[all …]
Dtng_vld_dec.c48 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in vld_dec_FE_state() local
57 ctx->cmd_params = &cmd_header->ui32Cmd_AdditionalParams; in vld_dec_FE_state()
58 ctx->p_slice_params = &cmd_header->ui32SliceParams; in vld_dec_FE_state()
61 ctx->slice_first_pic_last = &cmd_header->uiSliceFirstMbYX_uiPicLastMbYX; in vld_dec_FE_state()
62 *ctx->slice_first_pic_last = 0; in vld_dec_FE_state()
64 ctx->p_range_mapping_base0 = &cmd_header->ui32AltOutputAddr[0]; in vld_dec_FE_state()
65 ctx->p_range_mapping_base1 = &cmd_header->ui32AltOutputAddr[1]; in vld_dec_FE_state()
67 ctx->alt_output_flags = &cmd_header->ui32AltOutputFlags; in vld_dec_FE_state()
79 context_DEC_p ctx = (context_DEC_p) obj_context->format_data; in vld_dec_setup_alternative_frame() local
82 int ved_scaling = (CONTEXT_SCALING(obj_context) && !ctx->yuv_ctx); in vld_dec_setup_alternative_frame()
[all …]
Dtng_H263ES.c55 #define INIT_CONTEXT_H263ES context_ENC_p ctx = (context_ENC_p) obj_context->format_data
56 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surf…
57 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_h…
125 context_ENC_p ctx; in tng_H263ES_CreateContext() local
134 ctx = (context_ENC_p) obj_context->format_data; in tng_H263ES_CreateContext()
135 ctx->eStandard = IMG_STANDARD_H263; in tng_H263ES_CreateContext()
136 ctx->eFormat = IMG_CODEC_PL12; // use default in tng_H263ES_CreateContext()
137ctx->bNoOffscreenMv = IMG_TRUE; //Default Value ?? Extended Parameter and bUseOffScreenMVUserSetti… in tng_H263ES_CreateContext()
139 switch(ctx->sRCParams.eRCMode) { in tng_H263ES_CreateContext()
141 ctx->eCodec = IMG_CODEC_H263_NO_RC; in tng_H263ES_CreateContext()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_uevents.cpp42 static void setup(hwc_context_t* ctx, int dpy) in setup() argument
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in setup()
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in setup()
48 static void clear(hwc_context_t* ctx, int dpy) in clear() argument
50 if(ctx->mFBUpdate[dpy]) { in clear()
51 delete ctx->mFBUpdate[dpy]; in clear()
52 ctx->mFBUpdate[dpy] = NULL; in clear()
54 if(ctx->mMDPComp[dpy]) { in clear()
55 delete ctx->mMDPComp[dpy]; in clear()
56 ctx->mMDPComp[dpy] = NULL; in clear()
[all …]
Dhwc_virtual.cpp62 void HWCVirtualVDS::init(hwc_context_t *ctx) { in init() argument
64 ctx->mFBUpdate[dpy] = in init()
65 IFBUpdate::getObject(ctx, dpy); in init()
66 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in init()
68 if(ctx->mFBUpdate[dpy]) in init()
69 ctx->mFBUpdate[dpy]->reset(); in init()
70 if(ctx->mMDPComp[dpy]) in init()
71 ctx->mMDPComp[dpy]->reset(); in init()
74 void HWCVirtualVDS::destroy(hwc_context_t *ctx, size_t /*numDisplays*/, in destroy() argument
79 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy()
[all …]
Dhwc.cpp88 static int getDpyforExternalDisplay(hwc_context_t *ctx, int dpy) { in getDpyforExternalDisplay() argument
89 if(dpy == HWC_DISPLAY_EXTERNAL && ctx->mVirtualonExtActive) in getDpyforExternalDisplay()
101 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_registerProcs() local
102 if(!ctx) { in hwc_registerProcs()
106 ctx->proc = procs; in hwc_registerProcs()
110 init_uevent_thread(ctx); in hwc_registerProcs()
111 init_vsync_thread(ctx); in hwc_registerProcs()
114 static void setPaddingRound(hwc_context_t *ctx, int numDisplays, in setPaddingRound() argument
116 ctx->isPaddingRound = false; in setPaddingRound()
120 if((ctx->mPrevHwLayerCount[i] == 1 or in setPaddingRound()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_uevents.cpp42 static void setup(hwc_context_t* ctx, int dpy) in setup() argument
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in setup()
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in setup()
48 static void clear(hwc_context_t* ctx, int dpy) in clear() argument
50 if(ctx->mFBUpdate[dpy]) { in clear()
51 delete ctx->mFBUpdate[dpy]; in clear()
52 ctx->mFBUpdate[dpy] = NULL; in clear()
54 if(ctx->mMDPComp[dpy]) { in clear()
55 delete ctx->mMDPComp[dpy]; in clear()
56 ctx->mMDPComp[dpy] = NULL; in clear()
[all …]
Dhwc_virtual.cpp51 void HWCVirtualVDS::init(hwc_context_t *ctx) { in init() argument
53 ctx->mFBUpdate[dpy] = in init()
54 IFBUpdate::getObject(ctx, dpy); in init()
55 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in init()
57 if(ctx->mFBUpdate[dpy]) in init()
58 ctx->mFBUpdate[dpy]->reset(); in init()
59 if(ctx->mMDPComp[dpy]) in init()
60 ctx->mMDPComp[dpy]->reset(); in init()
63 void HWCVirtualVDS::destroy(hwc_context_t *ctx, size_t /*numDisplays*/, in destroy() argument
68 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy()
[all …]
Dhwc.cpp78 static int getDpyforExternalDisplay(hwc_context_t *ctx, int dpy) { in getDpyforExternalDisplay() argument
79 if(dpy == HWC_DISPLAY_EXTERNAL && ctx->mVirtualonExtActive) in getDpyforExternalDisplay()
91 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_registerProcs() local
92 if(!ctx) { in hwc_registerProcs()
96 ctx->proc = procs; in hwc_registerProcs()
100 init_uevent_thread(ctx); in hwc_registerProcs()
101 init_vsync_thread(ctx); in hwc_registerProcs()
104 static void setPaddingRound(hwc_context_t *ctx, int numDisplays, in setPaddingRound() argument
106 ctx->isPaddingRound = false; in setPaddingRound()
110 if((ctx->mPrevHwLayerCount[i] == 1 or in setPaddingRound()
[all …]
/hardware/intel/common/libva/test/encode/
Dmpeg2enc.c280 sps_rbsp(struct mpeg2enc_context *ctx, in sps_rbsp() argument
286 if (ctx->new_sequence) { in sps_rbsp()
318 if (ctx->new_gop_header) { in sps_rbsp()
402 build_packed_seq_buffer(struct mpeg2enc_context *ctx, in build_packed_seq_buffer() argument
409 sps_rbsp(ctx, seq_param, &bs); in build_packed_seq_buffer()
434 struct mpeg2enc_context *ctx = data; in upload_yuv_to_surface() local
440 int y_size = ctx->width * ctx->height; in upload_yuv_to_surface()
441 int u_size = (ctx->width >> 1) * (ctx->height >> 1); in upload_yuv_to_surface()
446 n_items = fread(ctx->frame_data_buffer, ctx->frame_size, 1, ctx->ifp); in upload_yuv_to_surface()
449 … va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); in upload_yuv_to_surface()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp80 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_registerProcs() local
81 if(!ctx) { in hwc_registerProcs()
85 ctx->proc = procs; in hwc_registerProcs()
89 init_uevent_thread(ctx); in hwc_registerProcs()
90 init_vsync_thread(ctx); in hwc_registerProcs()
93 static void setPaddingRound(hwc_context_t *ctx, int numDisplays, in setPaddingRound() argument
95 ctx->isPaddingRound = false; in setPaddingRound()
99 if((ctx->mPrevHwLayerCount[i] == 1 or in setPaddingRound()
100 ctx->mPrevHwLayerCount[i] == 0) and in setPaddingRound()
107 ctx->isPaddingRound = true; in setPaddingRound()
[all …]
Dhwc_qclient.cpp51 QClient::QClient(hwc_context_t *ctx) : mHwcContext(ctx), in QClient() argument
52 mMPDeathNotifier(new MPDeathNotifier(ctx)) in QClient()
62 static void securing(hwc_context_t *ctx, uint32_t startEnd) { in securing() argument
67 ctx->mDrawLock.lock(); in securing()
68 ctx->mSecuring = startEnd; in securing()
71 ctx->mSecureMode = true; in securing()
72 ctx->mDrawLock.unlock(); in securing()
74 if(ctx->proc) in securing()
75 ctx->proc->invalidate(ctx->proc); in securing()
78 static void unsecuring(hwc_context_t *ctx, uint32_t startEnd) { in unsecuring() argument
[all …]
Dhwc_uevents.cpp42 static int getConnectedDisplay(hwc_context_t* ctx, const char* strUdata) in getConnectedDisplay() argument
47 if (ctx->mHDMIDisplay->isHDMIPrimaryDisplay()) { in getConnectedDisplay()
56 static bool getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) in getPanelResetStatus() argument
65 ctx->mPanelResetStatus = true; in getPanelResetStatus()
88 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) in handle_uevent() argument
90 bool bpanelReset = getPanelResetStatus(ctx, udata, len); in handle_uevent()
92 ctx->proc->invalidate(ctx->proc); in handle_uevent()
96 int dpy = getConnectedDisplay(ctx, udata); in handle_uevent()
111 if(!ctx->dpyAttr[dpy].connected){ in handle_uevent()
117 ctx->mDrawLock.lock(); in handle_uevent()
[all …]
/hardware/intel/img/psb_video/src/mrst/
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…
115 context_ENC_p ctx; in lnc_H264ES_CreateContext() local
126 ctx = (context_ENC_p) obj_context->format_data; in lnc_H264ES_CreateContext()
128 ctx->max_slice_size = 0; in lnc_H264ES_CreateContext()
129 ctx->delta_change = 1; in lnc_H264ES_CreateContext()
134 ctx->max_slice_size = obj_config->attrib_list[i].value; in lnc_H264ES_CreateContext()
143 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "lnc_H264ES_CreateContext: max slice size %d\n", ctx->max_slice… in lnc_H264ES_CreateContext()
146 ctx->eCodec = IMG_CODEC_H264_VBR; in lnc_H264ES_CreateContext()
[all …]
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…
111 context_ENC_p ctx; in lnc_H263ES_CreateContext() local
121 ctx = (context_ENC_p) obj_context->format_data; in lnc_H263ES_CreateContext()
123 ctx->max_slice_size = 0; in lnc_H263ES_CreateContext()
129 ctx->max_slice_size = obj_config->attrib_list[i].value; in lnc_H263ES_CreateContext()
139 ctx->eCodec = IMG_CODEC_H263_VBR; in lnc_H263ES_CreateContext()
140 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H263ES_CreateContext()
142 ctx->eCodec = IMG_CODEC_H263_CBR; in lnc_H263ES_CreateContext()
[all …]
Dpsb_MPEG2.c526 #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…
612 context_MPEG2_p ctx; in psb_MPEG2_CreateContext() local
626 ctx = (context_MPEG2_p) calloc(1, sizeof(struct context_MPEG2_s)); in psb_MPEG2_CreateContext()
627 if (NULL == ctx) { in psb_MPEG2_CreateContext()
633 obj_context->format_data = (void*) ctx; in psb_MPEG2_CreateContext()
634 ctx->obj_context = obj_context; in psb_MPEG2_CreateContext()
635 ctx->pic_params = NULL; in psb_MPEG2_CreateContext()
636 ctx->got_iq_matrix = FALSE; in psb_MPEG2_CreateContext()
637 ctx->previous_slice_vertical_position = ~1; in psb_MPEG2_CreateContext()
[all …]
Dpsb_MPEG2MC.c141 #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…
145 context_MPEG2MC_p ctx, in psb__MPEG2MC_send_interPB_prediction() argument
156 if (FRAME_PICTURE == ctx->picture_structure) { in psb__MPEG2MC_send_interPB_prediction()
182 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_A, ctx->ref_indexA); in psb__MPEG2MC_send_interPB_prediction()
183 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_B, ctx->ref_indexB); in psb__MPEG2MC_send_interPB_prediction()
195 if (FRAME_PICTURE == ctx->picture_structure) { in psb__MPEG2MC_send_interPB_prediction()
225 … REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_A, ctx->ref_indexA); in psb__MPEG2MC_send_interPB_prediction()
226 … REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, REF_INDEX_B, ctx->ref_indexB); in psb__MPEG2MC_send_interPB_prediction()
232 … (PICTURE_CODING_P == ctx->picture_coding_type)) { /* Top field of this frame */ in psb__MPEG2MC_send_interPB_prediction()
[all …]
/hardware/intel/common/libva/va/
Dva.c47 #define CHECK_VTABLE(s, ctx, func) if (!va_checkVtable(ctx->vtable->va##func, #func)) s = VA_STATUS… argument
48 #define CHECK_MAXIMUM(s, ctx, var) if (!va_checkMaximum(ctx->max_##var, #var)) s = VA_STATUS_ERROR_… argument
49 #define CHECK_STRING(s, ctx, var) if (!va_checkString(ctx->str_##var, #var)) s = VA_STATUS_ERROR_UN… argument
199 VADriverContextP ctx = CTX(dpy); in va_openDriver() local
272 struct VADriverVTable *vtable = ctx->vtable; in va_openDriver()
273 struct VADriverVTableVPP *vtable_vpp = ctx->vtable_vpp; in va_openDriver()
281 ctx->vtable = vtable; in va_openDriver()
290 ctx->vtable_vpp = vtable_vpp; in va_openDriver()
293 vaStatus = (*init_func)(ctx); in va_openDriver()
296 CHECK_MAXIMUM(vaStatus, ctx, profiles); in va_openDriver()
[all …]

1234567891011