-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
G-API gst source gray support #21560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alalek
merged 71 commits into
opencv:4.x
from
dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source
Feb 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
e0cb364
gray draft
a7e0ea8
Merge remote-tracking branch 'origin/4.x' into dbudniko/gapi_media_fo…
a5956e6
remove uv_plane from gray code path
198e6e1
trying to address comments from Asya (accessors are modified)
52adfdc
try to push one more time
987ce91
address more c
8000
omments from Asya and Sergey
bd796c8
add gray to streaming tests
6795ecf
some gray source corrections and copy gray frame
10bc6fd
try to fix copy frame gray test
338473e
try to add reshape gray test
76a6735
fix test source
3fc50fa
disable reshape gray test
1886642
debug prints
7a308cb
Merge branch 'dbudniko/gapi_media_format_gray' of github.com:dbudniko…
e7e98ec
try to convert BGR to gray
10d6b76
roll back
8e83d55
try to fix gray reshape test
add328f
clean up
7983d37
try bgr to gray again
7f3fdb7
try to add media frame tests
da64f69
size media frame gray test
8446626
more comments are addressed
f74f205
rmat on mat adapter
1fae2d0
more streaming tests
f8a0dca
try to add more test instances
155a2cd
try to fix accuracy
1884dd0
remove source type gray
d89a8d4
streaming tests fix - source type gray
a272fe1
fix streaming test logic
e025398
try to fix test
22282c9
clean up
0ce365f
return back single flag
0153a46
remove redundant coma
273d007
fix assert to fix debug tests run
d5f6a53
draft to test build
ba0ad34
build fixed
02e1acd
some clean up and formatting
68dcd3f
tests are fixed
bfeeea3
CAPS suggestion from Asya is added - build OK tests OK
4edd04f
media adapter gray logic draft
93248ca
try to fix build
86048f7
try to fix BGR warning. Not clear how to do it properly
08bc99d
Merge remote-tracking branch 'origin/4.x' into dbudniko/gapi_media_fo…
bc36b0a
more offsets and pointers
270e827
try to fix build
ad74b03
try to add separate nv12 and gray8 tests
81a2bb3
try to fix tests
181adbe
try to fix tests build
3fc47e9
one more attempt to fix kernel
630a365
try to enable GRAY8 test
04d495a
try to fix gray8 test
436b083
more attempts
cc70cfe
more fixes
0a27161
further extension of tests
898c60b
more tests
9961c68
try to add multisource tests
41212cb
clean up and try to use default in switches
48d4ce2
more clean-ups
8306134
NV12 check
487f9b0
try to fix build and clean up
574ac9a
compile args fix
561cd42
build fixed
aa2d906
fix logic
c1e191a
try to fix computation
d7c8cce
build ok tests ok
9b2a150
refactor tests
ab338ef
clean up
29e8acb
assert fix
be281dd
more comments are addressed
7e310a6
Address comments from Orest
fe2927d
roll back
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
more comments are addressed
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so is it
GRAY
orGRAY8
? I believe I've seenGRAY8
somewhere in the doxygen comments (and I believe it is quite legit)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are different Gst gray formats. GRAY8 GRAY16. MediaFormat GRAY assumes 8-bit integer numbers. Should we align our naming approach with Gst. I have some doubts that 16 bit will be asked by someone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seem to be useful for some scenarios, see #18694. Furthermore, there are two variants of this format: GRAY16_LE and GRAY16_BE