Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
aeb8ac01
Commit
aeb8ac01
authored
Sep 20, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/picture_Yield/picture_Hold/
parent
ba6501f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
include/vlc_vout.h
include/vlc_vout.h
+3
-3
src/misc/image.c
src/misc/image.c
+4
-4
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+1
-1
No files found.
include/vlc_vout.h
View file @
aeb8ac01
...
@@ -126,7 +126,7 @@ struct picture_t
...
@@ -126,7 +126,7 @@ struct picture_t
/**
/**
* This function will create a new picture.
* This function will create a new picture.
* The picture created will implement a default release management compatible
* The picture created will implement a default release management compatible
* with picture_
Yie
ld and picture_Release. This default management will release
* with picture_
Ho
ld and picture_Release. This default management will release
* picture_sys_t *p_sys field if non NULL.
* picture_sys_t *p_sys field if non NULL.
*/
*/
VLC_EXPORT
(
picture_t
*
,
picture_New
,
(
vlc_fourcc_t
i_chroma
,
int
i_width
,
int
i_height
,
int
i_aspect
)
);
VLC_EXPORT
(
picture_t
*
,
picture_New
,
(
vlc_fourcc_t
i_chroma
,
int
i_width
,
int
i_height
,
int
i_aspect
)
);
...
@@ -144,7 +144,7 @@ VLC_EXPORT( void, picture_Delete, ( picture_t * ) );
...
@@ -144,7 +144,7 @@ VLC_EXPORT( void, picture_Delete, ( picture_t * ) );
* This function will increase the picture reference count.
* This function will increase the picture reference count.
* It will not have any effect on picture obtained from vout
* It will not have any effect on picture obtained from vout
*/
*/
static
inline
void
picture_
Yie
ld
(
picture_t
*
p_picture
)
static
inline
void
picture_
Ho
ld
(
picture_t
*
p_picture
)
{
{
if
(
p_picture
->
pf_release
)
if
(
p_picture
->
pf_release
)
p_picture
->
i_refcount
++
;
p_picture
->
i_refcount
++
;
...
@@ -196,7 +196,7 @@ VLC_EXPORT( void, plane_CopyPixels, ( plane_t *p_dst, const plane_t *p_src ) );
...
@@ -196,7 +196,7 @@ VLC_EXPORT( void, plane_CopyPixels, ( plane_t *p_dst, const plane_t *p_src ) );
/**
/**
* This function will copy both picture dynamic properties and pixels.
* This function will copy both picture dynamic properties and pixels.
* You have to notice that sometime a simple picture_
Yie
ld may do what
* You have to notice that sometime a simple picture_
Ho
ld may do what
* you want without the copy overhead.
* you want without the copy overhead.
* Provided for convenience.
* Provided for convenience.
*/
*/
...
...
src/misc/image.c
View file @
aeb8ac01
...
@@ -316,7 +316,7 @@ static block_t *ImageWrite( image_handler_t *p_image, picture_t *p_pic,
...
@@ -316,7 +316,7 @@ static block_t *ImageWrite( image_handler_t *p_image, picture_t *p_pic,
p_image
->
p_filter
->
fmt_out
.
video
=
p_image
->
p_enc
->
fmt_in
.
video
;
p_image
->
p_filter
->
fmt_out
.
video
=
p_image
->
p_enc
->
fmt_in
.
video
;
}
}
picture_
Yie
ld
(
p_pic
);
picture_
Ho
ld
(
p_pic
);
p_tmp_pic
=
p_tmp_pic
=
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
...
@@ -446,7 +446,7 @@ static picture_t *ImageConvert( image_handler_t *p_image, picture_t *p_pic,
...
@@ -446,7 +446,7 @@ static picture_t *ImageConvert( image_handler_t *p_image, picture_t *p_pic,
p_image
->
p_filter
->
fmt_out
.
video
=
*
p_fmt_out
;
p_image
->
p_filter
->
fmt_out
.
video
=
*
p_fmt_out
;
}
}
picture_
Yie
ld
(
p_pic
);
picture_
Ho
ld
(
p_pic
);
p_pif
=
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
p_pif
=
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
...
@@ -493,7 +493,7 @@ static picture_t *ImageFilter( image_handler_t *p_image, picture_t *p_pic,
...
@@ -493,7 +493,7 @@ static picture_t *ImageFilter( image_handler_t *p_image, picture_t *p_pic,
p_image
->
p_filter
->
fmt_out
.
video
=
*
p_fmt
;
p_image
->
p_filter
->
fmt_out
.
video
=
*
p_fmt
;
}
}
picture_
Yie
ld
(
p_pic
);
picture_
Ho
ld
(
p_pic
);
return
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
return
p_image
->
p_filter
->
pf_video_filter
(
p_image
->
p_filter
,
p_pic
);
}
}
...
@@ -587,7 +587,7 @@ static void video_del_buffer( decoder_t *p_dec, picture_t *p_pic )
...
@@ -587,7 +587,7 @@ static void video_del_buffer( decoder_t *p_dec, picture_t *p_pic )
static
void
video_link_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
static
void
video_link_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
{
{
(
void
)
p_dec
;
(
void
)
p_dec
;
picture_
Yie
ld
(
p_pic
);
picture_
Ho
ld
(
p_pic
);
}
}
static
void
video_unlink_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
static
void
video_unlink_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
...
...
src/video_output/vout_subpictures.c
View file @
aeb8ac01
...
@@ -1061,7 +1061,7 @@ static void SpuRenderRegion( spu_t *p_spu,
...
@@ -1061,7 +1061,7 @@ static void SpuRenderRegion( spu_t *p_spu,
filter_t
*
p_scale
=
p_spu
->
p_scale
;
filter_t
*
p_scale
=
p_spu
->
p_scale
;
picture_t
*
p_picture
=
p_region
->
p_picture
;
picture_t
*
p_picture
=
p_region
->
p_picture
;
picture_
Yie
ld
(
p_picture
);
picture_
Ho
ld
(
p_picture
);
/* Convert YUVP to YUVA/RGBA first for better scaling quality */
/* Convert YUVP to YUVA/RGBA first for better scaling quality */
if
(
b_using_palette
)
if
(
b_using_palette
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment