comparison libvo/vo_vdpau.c @ 30009:88e9eee4089e

Cosmetics: Reindent after r30050.
author cehoyos
date Thu, 17 Dec 2009 13:27:15 +0000
parents 26fb866475a7
children 3a3370c00ba6
comparison
equal deleted inserted replaced
30008:26fb866475a7 30009:88e9eee4089e
1021 static uint32_t draw_image(mp_image_t *mpi) 1021 static uint32_t draw_image(mp_image_t *mpi)
1022 { 1022 {
1023 if (IMGFMT_IS_VDPAU(image_format)) { 1023 if (IMGFMT_IS_VDPAU(image_format)) {
1024 struct vdpau_render_state *rndr = mpi->priv; 1024 struct vdpau_render_state *rndr = mpi->priv;
1025 vid_surface_num = rndr - surface_render; 1025 vid_surface_num = rndr - surface_render;
1026 mpi->usage_count++; 1026 mpi->usage_count++;
1027 if (deint_mpi[1]) 1027 if (deint_mpi[1])
1028 deint_mpi[1]->usage_count--; 1028 deint_mpi[1]->usage_count--;
1029 deint_mpi[1] = deint_mpi[0]; 1029 deint_mpi[1] = deint_mpi[0];
1030 deint_mpi[0] = mpi; 1030 deint_mpi[0] = mpi;
1031 } else if (image_format == IMGFMT_BGRA) { 1031 } else if (image_format == IMGFMT_BGRA) {
1032 VdpStatus vdp_st; 1032 VdpStatus vdp_st;
1033 VdpRect r = {0, 0, vid_width, vid_height}; 1033 VdpRect r = {0, 0, vid_width, vid_height};
1034 vdp_st = vdp_output_surface_put_bits_native(output_surfaces[2], 1034 vdp_st = vdp_output_surface_put_bits_native(output_surfaces[2],
1035 (void const*const*)mpi->planes, 1035 (void const*const*)mpi->planes,