Lines Matching refs:output

51 #define INIT_OUTPUT_PRIV    psb_android_output_p output = (psb_android_output_p)(((psb_driver_data_p)ctx->pDriverData)->ws_priv)
90 psb_android_output_p output = calloc(1, sizeof(psb_android_output_s));
94 if (output == NULL) {
98 memset(output, 0, sizeof(psb_android_output_s));
101 output->screen_width = 800;
102 output->screen_height = 480;
112 output->screen_width = vinfo.xres;
113 output->screen_height = vinfo.yres;
131 return (unsigned char *)output;
138 //psb_android_output_p output = GET_OUTPUT_DATA(ctx);
140 if (output->mds != NULL) {
141 deinit_mds_listener(output);
208 unsigned short _scr_x = output->screen_width;
209 unsigned short _scr_y = output->screen_height;
257 ((destx + destw) <= output->screen_width) &&
258 ((desty + desth) <= output->screen_height) &&
259 (output->destx != destx ||
260 output->desty != desty ||
261 output->destw != destw ||
262 output->desth != desth)) {
263 output->destx = destx;
264 output->desty = desty;
265 output->destw = destw;
266 output->desth = desth;
267 output->new_destbox = 1;
270 LOGD("output->destbox = (%d,%d,%d,%d)\n", output->destx, output->desty, output->destw, output->desth);
289 psb_HDMIExt_info_p psb_HDMIExt_info = (psb_HDMIExt_info_p)output->psb_HDMIExt_info;
305 *hdmi_mode = psb_HDMIExt_get_mode(output);
322 *hdmi_mode = psb_HDMIExt_get_mode(output);
336 output->new_destbox = 1;
340 psb_HDMIExt_get_prop(output, &crtc_width, &crtc_height);
372 psb_android_surfaceflinger_status(android_isurface, &output->sf_composition, &rotation, &widi);
373 /*Update output destbox using layerbuffer's visible region*/
381 if (output->destw == 0 || output->desth == 0 ||
382 ((output->destw == srcw) && (output->desth == srch))) {
384 output->destw, output->desth, output->destx, output->desty);
391 if ((((abs(delta_rotation) == 90) || (abs(delta_rotation) == 270)) && output->new_destbox) ||
398 output->new_destbox = 0;
427 if (output->sf_composition) {
523 /*initialize output destbox using default destbox if it has not been initialized until here.*/
524 if (output->destw == 0 || output->desth == 0) {
525 output->destx = (destx > 0) ? destx : 0;
526 output->desty = (desty > 0) ? desty : 0;
527 output->destw = ((output->destx + destw) > output->screen_width) ? (output->screen_width - output->destx) : destw;
528 output->desth = ((output->desty + desth) > output->screen_height) ? (output->screen_height - output->desty) : desth;
531 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Overlay position = (%d,%d,%d,%d)\n", output->destx, output->desty, output->destw, output->desth);
535 output->destx, output->desty, output->destw, output->desth,