Home | History | Annotate | Download | only in src

Lines Matching refs:obj_context

227 void tng_calculate_scaler_coff_reg(object_context_p obj_context)
229 context_DEC_p ctx = (context_DEC_p) obj_context->format_data;
230 object_surface_p src_surface = obj_context->current_render_target;
243 obj_context->driver_data->render_rect.width, obj_context->driver_data->render_rect.height);
245 obj_context->current_render_target->width_s, obj_context->current_render_target->height_s);
247 fHorzPitch = obj_context->driver_data->render_rect.width / (float) obj_context->current_render_target->width_s;
248 fVertPitch = obj_context->driver_data->render_rect.height / (float) obj_context->current_render_target->height_s;
313 void tng_ved_write_scale_reg(object_context_p obj_context)
316 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf;
317 context_DEC_p ctx = (context_DEC_p) obj_context->format_data;
318 object_surface_p src_surface = obj_context->current_render_target;
322 if (obj_context->scaling_update) {
323 tng_calculate_scaler_coff_reg(obj_context);
324 obj_context->scaling_update = 0;
331 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, SCALED_DISPLAY_SIZE, SCALE_DISPLAY_WIDTH, obj_context->driver_data->render_rect.width - 1);
332 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, SCALED_DISPLAY_SIZE, SCALE_DISPLAY_HEIGHT, obj_context->driver_data->render_rect.height - 1);