Changeset 3f48284e78c07e2911b192f38b4650b835f642e9
- Timestamp:
- 02/25/08 21:44:40
(6 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1203972280 +0000
- git-parent:
[78d012cc34fbb814ceeaa9488f342cf23ea07bf9]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1203972280 +0000
- Message:
XvMC: Compile Fixes, b_shm removal, and obvious typos... subpicture_sys_t still undeclared, no idea why it is around...
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r78d012c |
r3f48284 |
|
| 811 | 811 | msg_Dbg(p_vout, "xxmc_setup_subpictures"); |
|---|
| 812 | 812 | #ifdef HAVE_SYS_SHM_H |
|---|
| 813 | | if( p_vout->p_sys->b_shm ) |
|---|
| | 813 | if( p_vout->p_sys->i_shm_opcode ) |
|---|
| 814 | 814 | { |
|---|
| 815 | 815 | /* Create image using XShm extension */ |
|---|
| … | … | |
| 842 | 842 | * sp->entry_bytes ); |
|---|
| 843 | 843 | xxmc_xvmc_free_subpicture( p_vout, sp); |
|---|
| 844 | | if( !p_vout->p_sys->xvmc_pallette ) |
|---|
| | 844 | if( !p_vout->p_sys->xvmc_palette ) |
|---|
| 845 | 845 | return VLC_EGENERIC; |
|---|
| 846 | 846 | p_vout->p_sys->hwSubpictures = 1; |
|---|
| … | … | |
| 971 | 971 | { |
|---|
| 972 | 972 | XVMCLOCKDISPLAY( p_vout->p_sys->p_display ); |
|---|
| 973 | | if( Success != XvMCCreateSurface( p_vout->p_sys->p_display |
|---|
| | 973 | if( Success != XvMCCreateSurface( p_vout->p_sys->p_display, |
|---|
| 974 | 974 | context, |
|---|
| 975 | 975 | handler->surfaces + i) ) |
|---|
| … | … | |
| 1318 | 1318 | { |
|---|
| 1319 | 1319 | # ifdef HAVE_SYS_SHM_H |
|---|
| 1320 | | if( p_vout->p_sys->b_shm ) |
|---|
| | 1320 | if( p_vout->p_sys->i_shm_opcode ) |
|---|
| 1321 | 1321 | { |
|---|
| 1322 | 1322 | XShmDetach( p_vout->p_sys->p_display, shminfo ); |
|---|
| … | … | |
| 1341 | 1341 | void xvmc_vld_frame( picture_t *picture ) |
|---|
| 1342 | 1342 | { |
|---|
| 1343 | | vout_sys_t *p_sys = picture->p_sys; |
|---|
| | 1343 | picture_sys_t *p_sys = picture->p_sys; |
|---|
| 1344 | 1344 | vout_thread_t *p_vout = p_sys->p_vout; |
|---|
| 1345 | | vlc_vld_frame_t *vft = &(p_sys->xxmc_data.vld_frame); |
|---|
| 1346 | | picture_t *ff = (picture_t *) vft->forward_reference_picture; |
|---|
| 1347 | | picture_t *bf = (picture_t *) vft->backward_reference_picture; |
|---|
| | 1345 | vlc_vld_frame_t *vft = &(p_sys->xxmc_data.vld_frame); |
|---|
| | 1346 | picture_t *ff = (picture_t *) vft->forward_reference_picture; |
|---|
| | 1347 | picture_t *bf = (picture_t *) vft->backward_reference_picture; |
|---|
| 1348 | 1348 | XvMCMpegControl ctl; |
|---|
| 1349 | 1349 | XvMCSurface *fs=0, *bs=0; |
|---|
| … | … | |
| 1419 | 1419 | void xvmc_vld_slice( picture_t *picture ) |
|---|
| 1420 | 1420 | { |
|---|
| 1421 | | vout_sys_t *p_sys = picture->p_sys; |
|---|
| | 1421 | picture_sys_t *p_sys = picture->p_sys; |
|---|
| 1422 | 1422 | vout_thread_t *p_vout = p_sys->p_vout; |
|---|
| 1423 | 1423 | |
|---|