This repository was archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 168
Vbv dev #155
Merged
Merged
Vbv dev #155
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
808457f
Add CLI support for vbv
bhavnahariMCW de97249
Enable vbv for abr mode
bhavnahariMCW 488721b
Added VBV frame level support
dinesh0603 8f74ea2
1. Fixed Index comparision to compare with current Index + lookAheadD…
dinesh0603 8f3b2a4
Enforce vbv buffer update to happen in decode order
kirithika7 f1e1a17
Add new cli -hrd (default 0) + enable flags to signal hrd
kirithika7 8c2f324
Add support for HRD SEI signalling
kirithika7 bfd35f2
Add support for Active Parameter Set SEI
kirithika7 38b744d
Control VBV bufferFill access using mutex
arunaMathes 853a45e
Add cli -vbv-init and remove hard-coded vbv buffer initialization
arunaMathes 87f7729
If rate control is ON, base layer picture will not be processed until…
anaghdin 708bd26
VBV Code clean up and made VBV as function call
dinesh0603 32dc411
Fix for the deadlock encoding frames fewer than 48
anaghdin 88d1bef
Move vbv algorithm before using picture Qp for other RC context updates
kirithika7 f4d19b8
Fix Warning: When NAL Unit is non-VCL NAL, TemporalId shall be greate…
kirithika7 cddec5a
Fix bug:The value of rbsp_stop_one_bit shall be equal to 1 in vps
kirithika7 96524c4
Fix cbr signalling
kirithika7 a199b68
Fix Hrd Issue
kirithika7 e692a04
Fix uninitialized BPnumber value error when hrd is disabled
kirithika7 c8a7166
Fix Hrd signalling for fixed GOP length
kirithika7 54eceb4
-Fix 1. encoded bitrate will be within target Bitrate limit 2. previo…
dinesh0603 429edb5
Add code to copy the pcs context into the Packetization Reorder Queue…
kirithika7 d857190
Add code to splice the bitstream and insert pic timing SEI
kirithika7 0d74be5
Fix bugs and cleanup
kirithika7 22f80ea
Refactor byte shifting code with memcpy+cleanup
kirithika7 5f52a2f
Add support for strict cbr to prevent hrd buffer overflow
kirithika7 dd24050
Add code to consider filler bits for RC
kirithika7 713643e
Merged Master to VBV-DEV branch
dinesh0603 6311c66
Merge branch 'master' tip into vbv_dev
dinesh0603 f268574
Update the filler bit error in the packetization feedback to rate con…
kirithika7 f1cd4c5
Added feedback from packetization to picturemanager to address a dead…
anaghdin 0b1103a
Fix the demux port
anaghdin 494cb24
update the pictureDemuxResultsProducerFifoPtrArray ports
anaghdin 7b70491
Revert the feedback of filler bits error to GOP's virtual Buffer level
kirithika7 ac9484a
Remove the macro PACK_FEEDBACK
anaghdin 07c3947
Fix for deadlock when vbv is not enabled
kirithika7 3df55f3
Fix compiler warnings
kirithika7 707e8fd
Merge branch 'vbv_dev' of https://bitbucket.org/multicoreware/svt-hev…
dinesh0603 e3b304d
Fix for Final Bitrate is greater than TBR in Strict CBR
dinesh0603 c009338
Merge branch 'vbv_dev' of https://bitbucket.org/multicoreware/svt-hev…
dinesh0603 28ae9ae
1.Removed Duplicte code
dinesh0603 3854916
Merge branch 'master' (Till commit : 2bdfb22) into vbv_dev
dinesh0603 9db1593
- Updated Sample.cfg for added cli's and Readme
dinesh0603 0caa1cc
-Modified code as per review comments & coding guidelines
dinesh0603 5f6db73
Merge branch 'master' into vbv_dev
tianjunwork 5d0af0f
-Modified code as per coding Guidelines
dinesh0603 3ad1f46
Merge branch 'master' into vbv_dev
dinesh0603 f6482fd
Fix for Deadlock
67f68d8
-Modified code as per review comments and coding guidelines
dinesh0603 742f9ca
-Removed Duplicate code (encMode) in EbAppConfig.c and Modified code …
dinesh0603 a0bceeb
Fixed hrd 1 crash issues caused by writeUvlc long bits, memmove and
575a4b8
Merge pull request #1 from kelvin412/vbv_dev_crash
dinesh0603 0acc25b
Fix HRD initialization in packetization
kavithasampath 3b9a0fc
Fix encoder crash with intra period 0
snehaa8 40bbea8
Merge branch 'master' of https://github.com/OpenVisualCloud/SVT-HEVC …
kirithika7 2f9c396
Cleanup
kirithika7 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -506,12 +506,24 @@ typedef struct EB_H265_ENC_CONFIGURATION | |
|
|
||
|
|
||
| // VBV Parameters | ||
|
|
||
| /* Sets the maximum rate the VBV buffer should be assumed to refill at | ||
| * Default is zero */ | ||
|
||
| uint32_t vbvMaxrate; | ||
| /* Sets the size of the VBV buffer in bits. | ||
| * Default is zero */ | ||
| uint32_t vbvBufsize; | ||
| uint32_t hrdFlag; | ||
| /* Sets how full the VBV buffer must be before playback starts. If picture | ||
| * number is 0, then the initial fill is vbv-init * vbvBufferSize. | ||
| * Otherwise, it is interpreted as the initial fill in bits. | ||
| * Default is 90 */ | ||
| uint64_t vbvBufInit; | ||
|
|
||
| /* Enables the buffering period SEI and picture timing SEI to signal the HRD | ||
| * parameters. | ||
| *Default is disabled */ | ||
| uint32_t hrdFlag; | ||
|
|
||
|
|
||
| /* ID assigned to each channel when multiple instances are running within the | ||
| * same application. */ | ||
| uint32_t channelId; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -199,10 +199,10 @@ static void SetEnableConstrainedIntra (const char *value, EbConfig_t * | |
| static void SetCfgTune (const char *value, EbConfig_t *cfg) {cfg->tune = (uint8_t)strtoul(value, NULL, 0); }; | ||
| static void SetBitRateReduction (const char *value, EbConfig_t *cfg) {cfg->bitRateReduction = (EB_BOOL)strtol(value, NULL, 0); }; | ||
| static void SetImproveSharpness (const char *value, EbConfig_t *cfg) {cfg->improveSharpness = (EB_BOOL)strtol(value, NULL, 0);}; | ||
| static void SetVbvMaxrate (const char *value, EbConfig_t *cfg) { cfg->vbvMaxRate = strtoul(value, NULL, 0); }; | ||
| static void SetVbvBufsize (const char *value, EbConfig_t *cfg) { cfg->vbvBufsize = strtoul(value, NULL, 0); }; | ||
| static void SetVbvBufInit (const char *value, EbConfig_t *cfg) { cfg->vbvBufInit = strtoul(value, NULL, 0); }; | ||
| static void SetHrdFlag (const char *value, EbConfig_t *cfg) { cfg->hrdFlag = strtoul(value, NULL, 0); }; | ||
| static void SetVbvMaxrate (const char *value, EbConfig_t *cfg) { cfg->vbvMaxRate = strtoul(value, NULL, 0); }; | ||
|
||
| static void SetVbvBufsize (const char *value, EbConfig_t *cfg) { cfg->vbvBufsize = strtoul(value, NULL, 0); }; | ||
| static void SetVbvBufInit (const char *value, EbConfig_t *cfg) { cfg->vbvBufInit = strtoul(value, NULL, 0); }; | ||
| static void SetHrdFlag (const char *value, EbConfig_t *cfg) { cfg->hrdFlag = strtoul(value, NULL, 0); }; | ||
| static void SetVideoUsabilityInfo (const char *value, EbConfig_t *cfg) {cfg->videoUsabilityInfo = strtol(value, NULL, 0);}; | ||
| static void SetHighDynamicRangeInput (const char *value, EbConfig_t *cfg) {cfg->highDynamicRangeInput = strtol(value, NULL, 0);}; | ||
| static void SetAccessUnitDelimiter (const char *value, EbConfig_t *cfg) {cfg->accessUnitDelimiter = strtol(value, NULL, 0);}; | ||
|
|
||
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.
Could you also update sample.cfg? Thx.
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.
Updated and pushed (Commit : 9db1593)