Searched refs:ctx (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_uevents.cpp42 static void setup(hwc_context_t* ctx, int dpy) argument
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy);
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
48 static void clear(hwc_context_t* ctx, int dpy) argument
50 if(ctx->mFBUpdate[dpy]) {
51 delete ctx->mFBUpdate[dpy];
52 ctx->mFBUpdate[dpy] = NULL;
54 if(ctx
70 getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) argument
102 handle_pause(hwc_context_t* ctx, int dpy) argument
109 handle_resume(hwc_context_t* ctx, int dpy) argument
116 teardownWfd(hwc_context_t* ctx) argument
151 handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
316 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local
333 init_uevent_thread(hwc_context_t* ctx) argument
[all...]
H A Dhwc_virtual.cpp51 void HWCVirtualVDS::init(hwc_context_t *ctx) { argument
53 ctx->mFBUpdate[dpy] =
54 IFBUpdate::getObject(ctx, dpy);
55 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
57 if(ctx->mFBUpdate[dpy])
58 ctx->mFBUpdate[dpy]->reset();
59 if(ctx->mMDPComp[dpy])
60 ctx->mMDPComp[dpy]->reset();
63 void HWCVirtualVDS::destroy(hwc_context_t *ctx, size_ argument
95 hwc_context_t* ctx = (hwc_context_t*)(dev); local
149 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument
218 pause(hwc_context_t* ctx, int dpy) argument
230 resume(hwc_context_t* ctx, int dpy) argument
254 hwc_context_t* ctx = (hwc_context_t*)(dev); local
287 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument
353 pause(hwc_context_t* ctx, int dpy) argument
375 resume(hwc_context_t* ctx, int dpy) argument
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_uevents.cpp42 static void setup(hwc_context_t* ctx, int dpy) argument
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy);
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
48 static void clear(hwc_context_t* ctx, int dpy) argument
50 if(ctx->mFBUpdate[dpy]) {
51 delete ctx->mFBUpdate[dpy];
52 ctx->mFBUpdate[dpy] = NULL;
54 if(ctx
70 getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) argument
102 handle_pause(hwc_context_t* ctx, int dpy) argument
109 handle_resume(hwc_context_t* ctx, int dpy) argument
116 teardownWfd(hwc_context_t* ctx) argument
160 handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
323 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local
340 init_uevent_thread(hwc_context_t* ctx) argument
[all...]
H A Dhwc_virtual.cpp62 void HWCVirtualVDS::init(hwc_context_t *ctx) { argument
64 ctx->mFBUpdate[dpy] =
65 IFBUpdate::getObject(ctx, dpy);
66 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
68 if(ctx->mFBUpdate[dpy])
69 ctx->mFBUpdate[dpy]->reset();
70 if(ctx->mMDPComp[dpy])
71 ctx->mMDPComp[dpy]->reset();
74 void HWCVirtualVDS::destroy(hwc_context_t *ctx, size_ argument
106 hwc_context_t* ctx = (hwc_context_t*)(dev); local
161 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument
247 pause(hwc_context_t* ctx, int dpy) argument
270 resume(hwc_context_t* ctx, int dpy) argument
294 hwc_context_t* ctx = (hwc_context_t*)(dev); local
326 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument
391 pause(hwc_context_t* ctx, int dpy) argument
413 resume(hwc_context_t* ctx, int dpy) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
H A Dvpx_decoder.c20 #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
22 vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx, argument
33 else if (!ctx || !iface)
51 memset(ctx, 0, sizeof(*ctx));
52 ctx->iface = iface;
53 ctx->name = iface->name;
54 ctx
97 vpx_codec_get_stream_info(vpx_codec_ctx_t *ctx, vpx_codec_stream_info_t *si) argument
117 vpx_codec_decode(vpx_codec_ctx_t *ctx, const uint8_t *data, unsigned int data_sz, void *user_priv, long deadline) argument
138 vpx_codec_get_frame(vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter) argument
151 vpx_codec_register_put_frame_cb(vpx_codec_ctx_t *ctx, vpx_codec_put_frame_cb_fn_t cb, void *user_priv) argument
171 vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx, vpx_codec_put_slice_cb_fn_t cb, void *user_priv) argument
191 vpx_codec_get_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, vpx_codec_iter_t *iter) argument
207 vpx_codec_set_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, unsigned int num_maps) argument
234 vpx_codec_set_frame_buffer_functions( vpx_codec_ctx_t *ctx, vpx_get_frame_buffer_cb_fn_t cb_get, vpx_release_frame_buffer_cb_fn_t cb_release, void *cb_priv) argument
[all...]
H A Dvpx_encoder.c21 #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
23 vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx, argument
32 else if (!ctx || !iface || !cfg)
47 ctx->iface = iface;
48 ctx->name = iface->name;
49 ctx->priv = NULL;
50 ctx->init_flags = flags;
51 ctx
66 vpx_codec_enc_init_multi_ver(vpx_codec_ctx_t *ctx, vpx_codec_iface_t *iface, vpx_codec_enc_cfg_t *cfg, int num_enc, vpx_codec_flags_t flags, vpx_rational_t *dsf, int ver) argument
204 vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument
258 vpx_codec_get_cx_data(vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter) argument
305 vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *ctx, const vpx_fixed_buf_t *buf, unsigned int pad_before, unsigned int pad_after) argument
327 vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx) argument
345 vpx_codec_get_global_headers(vpx_codec_ctx_t *ctx) argument
363 vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx, const vpx_codec_enc_cfg_t *cfg) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dlookahead.c30 pop(struct lookahead_ctx *ctx, argument
34 struct lookahead_entry *buf = ctx->buf + index;
36 assert(index < ctx->max_sz);
37 if(++index >= ctx->max_sz)
38 index -= ctx->max_sz;
45 vp8_lookahead_destroy(struct lookahead_ctx *ctx) argument
47 if(ctx)
49 if(ctx->buf)
53 for(i = 0; i < ctx->max_sz; i++)
54 vp8_yv12_de_alloc_frame_buffer(&ctx
67 struct lookahead_ctx *ctx = NULL; local
104 vp8_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, int64_t ts_start, int64_t ts_end, unsigned int flags, unsigned char *active_map) argument
179 vp8_lookahead_pop(struct lookahead_ctx *ctx, int drain) argument
194 vp8_lookahead_peek(struct lookahead_ctx *ctx, unsigned int index, int direction) argument
227 vp8_lookahead_depth(struct lookahead_ctx *ctx) argument
[all...]
/hardware/intel/img/psb_video/src/
H A 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->surface_heap, id ))
48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
106 context_ENC_p ctx; local
116 ctx = (context_ENC_p) obj_context->format_data;
130 ctx->eCodec = IMG_CODEC_H263_VBR;
131 ctx->sRCParams.RCEnable = IMG_TRUE;
133 ctx->eCodec = IMG_CODEC_H263_CBR;
134 ctx->sRCParams.RCEnable = IMG_TRUE;
136 ctx
177 pnw__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
272 pnw__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
344 pnw__H263ES_process_slice_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
[all...]
H A Dtng_hostbias.h36 void tng_init_bias_params(context_ENC_p ctx);
37 VAStatus tng__generate_bias(context_ENC_p ctx);
38 VAStatus tng_load_bias(context_ENC_p ctx, IMG_FRAME_TYPE eFrameType);
H A 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->surface_heap, id ))
50 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
109 context_ENC_p ctx; local
120 ctx = (context_ENC_p) obj_context->format_data;
134 ctx->eCodec = IMG_CODEC_H264_VBR;
135 ctx->sRCParams.RCEnable = IMG_TRUE;
136 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE;
138 ctx->eCodec = IMG_CODEC_H264_CBR;
139 ctx
207 pnw__H264ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
445 pnw__H264ES_insert_SEI_buffer_period(context_ENC_p ctx) argument
491 pnw__H264ES_insert_SEI_pic_timing(context_ENC_p ctx) argument
553 pnw__H264ES_insert_SEI_FPA_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
565 pnw__H264ES_insert_SEI_FPA_data(context_ENC_p ctx, object_buffer_p obj_buffer) argument
589 pnw__H264ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
713 pnw__H264ES_encode_one_slice(context_ENC_p ctx, VAEncSliceParameterBuffer *pBuffer) argument
845 pnw__H264ES_process_slice_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
977 pnw__H264ES_process_misc_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
[all...]
H A 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->surface_heap, id ))
48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
108 context_ENC_p ctx; local
118 ctx = (context_ENC_p) obj_context->format_data;
132 ctx->eCodec = IMG_CODEC_MPEG4_VBR;
133 ctx->sRCParams.RCEnable = IMG_TRUE;
135 ctx->eCodec = IMG_CODEC_MPEG4_CBR;
136 ctx->sRCParams.RCEnable = IMG_TRUE;
138 ctx
186 pnw__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
314 pnw__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
385 pnw__MPEG4ES_process_slice_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
[all...]
H A 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_heap, id ))
343 static psb_surface_stride_t get_opp_mode_stride(context_VP8_p ctx, const unsigned int uiStride) { argument
344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface;
376 static int get_inloop_opmod(context_VP8_p ctx) { argument
377 ctx->obj_context->operating_mode = 0;
378 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface;
379 psb_surface_stride_t eOppModeStride = get_opp_mode_stride(ctx,target_surface->stride);
382 REGIO_WRITE_FIELD_LITE(ctx->obj_context->operating_mode, MSVDX_CMDS, OPERATING_MODE, USE_EXT_ROW_STRIDE, 1);
384 REGIO_WRITE_FIELD_LITE(ctx
454 context_VP8_p ctx; local
607 tng__VP8_process_picture_param(context_VP8_p ctx, object_buffer_p obj_buffer) argument
702 tng__VP8_process_probility_param(context_VP8_p ctx, object_buffer_p obj_buffer) argument
724 tng__VP8_process_iq_matrix(context_VP8_p ctx, object_buffer_p obj_buffer) argument
766 tng__VP8_set_target_picture(context_VP8_p ctx) argument
778 tng__VP8_set_reference_picture(context_VP8_p ctx) argument
860 tng__VP8_compile_baseline_filter_data(context_VP8_p ctx) argument
868 tng__VP8_compile_qindex_data(context_VP8_p ctx) argument
875 tng__CMDS_registers_write(context_VP8_p ctx) argument
970 tng__VP8_set_slice_param(context_VP8_p ctx) argument
1003 tng__VP8_FE_Registers_Write(context_VP8_p ctx) argument
1102 tng__VP8_BE_Registers_Write(context_VP8_p ctx) argument
1219 tng__VP8_set_bool_coder_context(context_VP8_p ctx) argument
1360 tng__VP8_set_probility_reg(context_VP8_p ctx) argument
1412 context_VP8_p ctx = (context_VP8_p)dec_ctx; local
1422 context_VP8_p ctx = (context_VP8_p)dec_ctx; local
1436 context_VP8_p ctx = (context_VP8_p)dec_ctx; local
1472 tng__VP8_choose_ec_frames(context_VP8_p ctx) argument
1504 context_VP8_p ctx = (context_VP8_p)dec_ctx; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.c31 static struct lookahead_entry *pop(struct lookahead_ctx *ctx, argument
34 struct lookahead_entry *buf = ctx->buf + index;
36 assert(index < ctx->max_sz);
37 if (++index >= ctx->max_sz)
38 index -= ctx->max_sz;
44 void vp9_lookahead_destroy(struct lookahead_ctx *ctx) { argument
45 if (ctx) {
46 if (ctx->buf) {
49 for (i = 0; i < ctx->max_sz; i++)
50 vp9_free_frame_buffer(&ctx
63 struct lookahead_ctx *ctx = NULL; local
93 vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, int64_t ts_start, int64_t ts_end, unsigned int flags) argument
165 vp9_lookahead_pop(struct lookahead_ctx *ctx, int drain) argument
177 vp9_lookahead_peek(struct lookahead_ctx *ctx, int index) argument
202 vp9_lookahead_depth(struct lookahead_ctx *ctx) argument
[all...]
/hardware/qcom/display/msm8909/libhwcomposer/
H A Dhwc_uevents.cpp42 static int getConnectedDisplay(hwc_context_t* ctx, const char* strUdata) argument
47 if (ctx->mHDMIDisplay->isHDMIPrimaryDisplay()) {
56 static bool getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) argument
65 ctx->mPanelResetStatus = true;
88 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
90 bool bpanelReset = getPanelResetStatus(ctx, udata, len);
92 ctx->proc->invalidate(ctx->proc);
96 int dpy = getConnectedDisplay(ctx, udata);
111 if(!ctx
213 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local
230 init_uevent_thread(hwc_context_t* ctx) argument
[all...]
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_uevents.cpp42 static int getConnectedDisplay(hwc_context_t* ctx, const char* strUdata) argument
47 if (ctx->mHDMIDisplay->isHDMIPrimaryDisplay()) {
56 static bool getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) argument
65 ctx->mPanelResetStatus = true;
88 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
90 bool bpanelReset = getPanelResetStatus(ctx, udata, len);
92 ctx->proc->invalidate(ctx->proc);
96 int dpy = getConnectedDisplay(ctx, udata);
111 if(!ctx
213 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local
230 init_uevent_thread(hwc_context_t* ctx) argument
[all...]
H A Dhwc.cpp80 hwc_context_t* ctx = (hwc_context_t*)(dev); local
81 if(!ctx) {
85 ctx->proc = procs;
89 init_uevent_thread(ctx);
90 init_vsync_thread(ctx);
93 static void setPaddingRound(hwc_context_t *ctx, int numDisplays, argument
95 ctx->isPaddingRound = false;
99 if((ctx->mPrevHwLayerCount[i] == 1 or
100 ctx->mPrevHwLayerCount[i] == 0) and
107 ctx
118 setDMAState(hwc_context_t *ctx, int numDisplays, hwc_display_contents_1_t** displays) argument
173 setNumActiveDisplays(hwc_context_t *ctx, int numDisplays, hwc_display_contents_1_t** displays) argument
191 isHotPluggable(hwc_context_t *ctx, int dpy) argument
197 reset(hwc_context_t *ctx, int numDisplays, hwc_display_contents_1_t** displays) argument
229 scaleDisplayFrame(hwc_context_t *ctx, int dpy, hwc_display_contents_1_t *list) argument
253 hwc_context_t* ctx = (hwc_context_t*)(dev); local
283 hwc_context_t* ctx = (hwc_context_t*)(dev); local
337 hwc_context_t* ctx = (hwc_context_t*)(dev); local
373 hwc_context_t* ctx = (hwc_context_t*)(dev); local
427 hwc_context_t* ctx = (hwc_context_t*)(dev); local
457 hwc_context_t* ctx = (hwc_context_t*)(dev); local
557 hwc_context_t* ctx = (hwc_context_t*)(dev); local
587 hwc_context_t* ctx = (hwc_context_t*)(dev); local
619 hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument
697 hwc_set_external(hwc_context_t *ctx, hwc_display_contents_1_t* list) argument
755 hwc_context_t* ctx = (hwc_context_t*)(dev); local
785 hwc_context_t* ctx = (hwc_context_t*)(dev); local
831 hwc_context_t* ctx = (hwc_context_t*)(dev); local
896 hwc_context_t* ctx = (hwc_context_t*)(dev); local
924 hwc_context_t* ctx = (hwc_context_t*)(dev); local
948 hwc_context_t* ctx = (hwc_context_t*)(dev); local
[all...]
H A Dhwc_qclient.cpp51 QClient::QClient(hwc_context_t *ctx) : mHwcContext(ctx), argument
52 mMPDeathNotifier(new MPDeathNotifier(ctx))
62 static void securing(hwc_context_t *ctx, uint32_t startEnd) { argument
67 ctx->mDrawLock.lock();
68 ctx->mSecuring = startEnd;
71 ctx->mSecureMode = true;
72 ctx->mDrawLock.unlock();
74 if(ctx->proc)
75 ctx
78 unsecuring(hwc_context_t *ctx, uint32_t startEnd) argument
100 screenRefresh(hwc_context_t *ctx) argument
109 setExtOrientation(hwc_context_t *ctx, uint32_t orientation) argument
113 isExternalConnected(hwc_context_t* ctx, Parcel* outParcel) argument
119 getDisplayAttributes(hwc_context_t* ctx, const Parcel* inParcel, Parcel* outParcel) argument
147 setBufferMirrorMode(hwc_context_t *ctx, uint32_t enable) argument
151 getDisplayVisibleRegion(hwc_context_t* ctx, int dpy, Parcel* outParcel) argument
177 setSecondaryDisplayStatus(hwc_context_t *ctx, const Parcel* inParcel) argument
201 setViewFrame(hwc_context_t* ctx, const Parcel* inParcel) argument
220 toggleDynamicDebug(hwc_context_t* ctx, const Parcel* inParcel) argument
248 setIdleTimeout(hwc_context_t* ctx, const Parcel* inParcel) argument
255 setMaxPipesPerMixer(hwc_context_t* ctx, const Parcel* inParcel) argument
262 toggleBWC(hwc_context_t* ctx, const Parcel* inParcel) argument
273 configureDynRefreshRate(hwc_context_t* ctx, const Parcel* inParcel) argument
315 setPartialUpdatePref(hwc_context_t *ctx, uint32_t enable) argument
322 toggleScreenUpdate(hwc_context_t* ctx, uint32_t on) argument
342 applyModeById(hwc_context_t* ctx, int32_t modeId) argument
[all...]
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DMicrophoneSample.java43 upm_mic.thresholdContext ctx = new upm_mic.thresholdContext();
44 ctx.setAverageReading(0);
45 ctx.setRunningAverage(0);
46 ctx.setAveragedOver(2);
55 int thresh = sensor.findThreshold(ctx, 30, buffer);
56 sensor.printGraph(ctx);
58 System.out.println("---Threshold reached--- " + ctx.getRunningAverage() + " "
59 + ctx.getAverageReading());
/hardware/intel/common/libva/test/encode/
H A Dmpeg2vaenc.c280 sps_rbsp(struct mpeg2enc_context *ctx, argument
286 if (ctx->new_sequence) {
318 if (ctx->new_gop_header) {
402 build_packed_seq_buffer(struct mpeg2enc_context *ctx, argument
409 sps_rbsp(ctx, seq_param, &bs);
434 struct mpeg2enc_context *ctx = data; local
440 int y_size = ctx->width * ctx->height;
441 int u_size = (ctx->width >> 1) * (ctx
502 mpeg2enc_exit(struct mpeg2enc_context *ctx, int exit_code) argument
541 mpeg2_profile_level(struct mpeg2enc_context *ctx, int profile, int level) argument
571 parse_args(struct mpeg2enc_context *ctx, int argc, char **argv) argument
725 mpeg2enc_init_sequence_parameter(struct mpeg2enc_context *ctx, VAEncSequenceParameterBufferMPEG2 *seq_param) argument
789 mpeg2enc_init_picture_parameter(struct mpeg2enc_context *ctx, VAEncPictureParameterBufferMPEG2 *pic_param) argument
818 mpeg2enc_alloc_va_resources(struct mpeg2enc_context *ctx) argument
905 mpeg2enc_init(struct mpeg2enc_context *ctx) argument
995 mpeg2enc_update_sequence_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1009 mpeg2enc_update_picture_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1066 mpeg2enc_update_picture_parameter_buffer(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1087 mpeg2enc_update_slice_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type) argument
1122 begin_picture(struct mpeg2enc_context *ctx, int coded_order, int display_order, VAEncPictureType picture_type) argument
1210 mpeg2enc_render_picture(struct mpeg2enc_context *ctx) argument
1255 mpeg2enc_destroy_buffers(struct mpeg2enc_context *ctx, VABufferID *va_buffers, unsigned int num_va_buffers) argument
1272 end_picture(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int next_is_bpic) argument
1308 store_coded_buffer(struct mpeg2enc_context *ctx, VAEncPictureType picture_type) argument
1364 encode_picture(struct mpeg2enc_context *ctx, int coded_order, int display_order, VAEncPictureType picture_type, int next_is_bpic, int next_display_order) argument
1419 update_next_frame_info(struct mpeg2enc_context *ctx, VAEncPictureType curr_type, int curr_coded_order, int curr_display_order) argument
1466 mpeg2enc_run(struct mpeg2enc_context *ctx) argument
1505 mpeg2enc_release_va_resources(struct mpeg2enc_context *ctx) argument
1515 mpeg2enc_end(struct mpeg2enc_context *ctx) argument
1524 struct mpeg2enc_context ctx; local
[all...]
H A Dmpeg2enc.c280 sps_rbsp(struct mpeg2enc_context *ctx, argument
286 if (ctx->new_sequence) {
318 if (ctx->new_gop_header) {
402 build_packed_seq_buffer(struct mpeg2enc_context *ctx, argument
409 sps_rbsp(ctx, seq_param, &bs);
434 struct mpeg2enc_context *ctx = data; local
440 int y_size = ctx->width * ctx->height;
441 int u_size = (ctx->width >> 1) * (ctx
502 mpeg2enc_exit(struct mpeg2enc_context *ctx, int exit_code) argument
541 mpeg2_profile_level(struct mpeg2enc_context *ctx, int profile, int level) argument
571 parse_args(struct mpeg2enc_context *ctx, int argc, char **argv) argument
725 mpeg2enc_init_sequence_parameter(struct mpeg2enc_context *ctx, VAEncSequenceParameterBufferMPEG2 *seq_param) argument
789 mpeg2enc_init_picture_parameter(struct mpeg2enc_context *ctx, VAEncPictureParameterBufferMPEG2 *pic_param) argument
818 mpeg2enc_alloc_va_resources(struct mpeg2enc_context *ctx) argument
905 mpeg2enc_init(struct mpeg2enc_context *ctx) argument
995 mpeg2enc_update_sequence_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1009 mpeg2enc_update_picture_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1050 mpeg2enc_update_picture_parameter_buffer(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int coded_order, int display_order) argument
1071 mpeg2enc_update_slice_parameter(struct mpeg2enc_context *ctx, VAEncPictureType picture_type) argument
1106 begin_picture(struct mpeg2enc_context *ctx, int coded_order, int display_order, VAEncPictureType picture_type) argument
1194 mpeg2enc_render_picture(struct mpeg2enc_context *ctx) argument
1239 mpeg2enc_destroy_buffers(struct mpeg2enc_context *ctx, VABufferID *va_buffers, unsigned int num_va_buffers) argument
1256 end_picture(struct mpeg2enc_context *ctx, VAEncPictureType picture_type, int next_is_bpic) argument
1292 store_coded_buffer(struct mpeg2enc_context *ctx, VAEncPictureType picture_type) argument
1348 encode_picture(struct mpeg2enc_context *ctx, int coded_order, int display_order, VAEncPictureType picture_type, int next_is_bpic, int next_display_order) argument
1403 update_next_frame_info(struct mpeg2enc_context *ctx, VAEncPictureType curr_type, int curr_coded_order, int curr_display_order) argument
1450 mpeg2enc_run(struct mpeg2enc_context *ctx) argument
1489 mpeg2enc_release_va_resources(struct mpeg2enc_context *ctx) argument
1499 mpeg2enc_end(struct mpeg2enc_context *ctx) argument
1508 struct mpeg2enc_context ctx; local
[all...]
/hardware/intel/img/psb_video/src/mrst/
H A 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->surface_heap, id ))
49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
111 context_ENC_p ctx; local
121 ctx = (context_ENC_p) obj_context->format_data;
123 ctx->max_slice_size = 0;
129 ctx->max_slice_size = obj_config->attrib_list[i].value;
139 ctx->eCodec = IMG_CODEC_H263_VBR;
140 ctx->sRCParams.RCEnable = IMG_TRUE;
142 ctx
185 lnc__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
248 lnc__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
316 lnc__H263ES_process_slice_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
430 lnc__H263ES_process_misc_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
[all...]
H A Dlnc_MPEG4ES.c47 #define INIT_CONTEXT_MPEG4ES 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->surface_heap, id ))
49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
113 context_ENC_p ctx; local
123 ctx = (context_ENC_p) obj_context->format_data;
124 ctx->FCode = 3;
126 ctx->max_slice_size = 0;
132 ctx->max_slice_size = obj_config->attrib_list[i].value;
143 ctx->eCodec = IMG_CODEC_MPEG4_VBR;
144 ctx
194 lnc__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
279 lnc__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
330 lnc__MPEG4ES_process_slice_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
416 lnc__MPEG4ES_process_misc_param(context_ENC_p ctx, object_buffer_p obj_buffer) argument
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_uevents.cpp54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
86 ctx->mExtDisplay->setExtDpyNum(dpy);
97 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false;
100 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true;
111 ctx->mExtDisplay->processUEventOffline(udata);
112 if(ctx->mFBUpdate[dpy]) {
113 Locker::Autolock _l(ctx->mExtSetLock);
114 delete ctx->mFBUpdate[dpy];
115 ctx->mFBUpdate[dpy] = NULL;
117 if(ctx
181 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local
195 init_uevent_thread(hwc_context_t* ctx) argument
[all...]
/hardware/intel/common/libva/va/glx/
H A Dva_glx_impl.h31 * @param[in] ctx the VA driver context
34 VAStatus va_glx_init_context(VADriverContextP ctx);
/hardware/bsp/intel/peripheral/libupm/src/gas/
H A Dgas.cxx65 Gas::findThreshold (thresholdContext* ctx, unsigned int threshold, argument
72 ctx->averageReading = sum / len;
73 ctx->runningAverage = (((ctx->averagedOver-1) * ctx->runningAverage) + ctx->averageReading) / ctx->averagedOver;
75 if (ctx->runningAverage > threshold) {
76 return ctx->runningAverage;
83 Gas::getSampledData (thresholdContext* ctx) { argument
93 printGraph(thresholdContext* ctx, uint8_t resolution) argument
[all...]

Completed in 3211 milliseconds

1234567891011>>