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
Bitstream refactor / VC1Bitstream parser #11417
Conversation
looks much cleaner now, thanks |
jenkins build this please, please |
break; | ||
case 0x07: | ||
rate = 60000.0 / 1001.0; | ||
rate = 60.0f; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
jenkins build this please |
* <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
jenkins build this please |
BitstreamStats.h | ||
BitstreamWriter.cpp |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
jenkins build this please |
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.
Since you have moved BS_WL32
and BS_RB16
to other files you must include xbmc/utils/BitstreamReader.h
in xbmc/cores/VideoPlayer/DVDCodecs/Video/VTB.cpp
and xbmc/utils/BitstreamWriter.h
in xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp
int writer_le; | ||
uint32_t bit_buf; | ||
int bit_left; | ||
uint8_t *buf, *buf_ptr, *buf_end; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
uint32_t bit_buf; | ||
int bit_left; | ||
uint8_t *buf, *buf_ptr, *buf_end; | ||
int size_in_bits; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
uint32_t bit_buf; | ||
int bit_left; | ||
uint8_t *buf, *buf_ptr, *buf_end; | ||
int size_in_bits; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
i = (4 - nbytes) * 8 + offbits; | ||
|
||
ret = ((ret << i) >> i) >> ((nbytes * 8) - nbits - offbits); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
What I wonder is: if a future android maintainer makes the transition to ffmpeg hwaccel for mediacodec this code would be obsolete? What are the plans here? Is there already an alliance of the willing that make up plans for that future after v17? |
ffmpeg/mediacodec needs much more improvement before DVDVideoCodecAndroidMediaCodec can be replaced. Same for VideoToolBox, close but not quite there. Too many missed corner cases. |
Can you name one?
Am 15.01.2017 3:30 nachm. schrieb "Scott Davilla" <notifications@github.com
…:
ffmpeg/mediacodec needs much more improvement before
DVDVideoCodecAndroidMediaCodec can be replaced. Same for VideoToolBox,
close but not quite there. Too many missed corner cases.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11417 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABCfHVBGdf0kKnfbOR-Y090nO-2d0dA4ks5rSi1-gaJpZM4Lf7qt>
.
|
/* TODO: implement surface handling */ |
For videotoolbox, here are a few
|
jenkins build this please |
Nice refactor of bitstream utils.They will be useful to replace the current AC3/EAC3/DTS format probing. |
jenkins build this please and don't stop with errors nobody want to see. |
jenkins build this please (I know, it was my fault :-) |
jenkins build this please |
Are these improvements used in Kodi 18 alpha 1 ? I still get audio out of sync problem with most VC-1 files on Minix U9-H (amlogic s912) |
Implement VC1-Packet Bitstream parser
Motivation and Context
VC-1 in mkv container sometimes have only DTS but no PTS values.
AML decoder needs from time to time a safe PTS value wich will be set on I-Frames.
This PR implements both I-Frame detection and Recovery point detection.
How Has This Been Tested?
Separate test environment
Types of change