Changeset ceb1c04e3bdc818c73f98507f6d93846c0819dd7
- Timestamp:
- 04/05/02 23:03:19
(6 years ago)
- Author:
- Jon Lech Johansen <jlj@videolan.org>
- git-committer:
- Jon Lech Johansen <jlj@videolan.org> 1018040599 +0000
- git-parent:
[1b0868ed29bc006d5939c91c064ed3d7931a7432]
- git-author:
- Jon Lech Johansen <jlj@videolan.org> 1018040599 +0000
- Message:
- ./plugins/macosx/vout_macosx.c: memalign -> vlc_memalign
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| recbcf0b |
rceb1c04 |
|
| 615 | 615 | p_pic->p_sys->i_size = sizeof(PlanarPixmapInfoYUV420); |
|---|
| 616 | 616 | |
|---|
| | 617 | /* Allocate the memory buffer */ |
|---|
| | 618 | p_pic->p_data = vlc_memalign( 16, i_width * i_height * 3 / 2, |
|---|
| | 619 | &p_pic->p_data_orig ); |
|---|
| | 620 | |
|---|
| 617 | 621 | /* Y buffer */ |
|---|
| 618 | | p_pic->Y_PIXELS = memalign( 16, i_width * i_height * 3 / 2 ); |
|---|
| | 622 | p_pic->Y_PIXELS = p_pic->p_data; |
|---|
| 619 | 623 | p_pic->p[Y_PLANE].i_lines = i_height; |
|---|
| 620 | 624 | p_pic->p[Y_PLANE].i_pitch = i_width; |
|---|
| … | … | |
| 672 | 676 | static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) |
|---|
| 673 | 677 | { |
|---|
| | 678 | switch( p_vout->output.i_chroma ) |
|---|
| | 679 | { |
|---|
| | 680 | case FOURCC_I420: |
|---|
| | 681 | free( p_pic->p_data_orig ); |
|---|
| | 682 | break; |
|---|
| | 683 | } |
|---|
| | 684 | |
|---|
| 674 | 685 | free( p_pic->p_sys ); |
|---|
| 675 | 686 | } |
|---|