Skip to content

Commit c443443

Browse files
committed
Various updates and improvements.
1 parent a463fb0 commit c443443

File tree

15 files changed

+64
-30
lines changed

15 files changed

+64
-30
lines changed

plugins/code/hevc_dec/beamr/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Beamr HEVC decoder plugin for Dolby Encoding Engine
22

3-
Provided source code was built and tested using Beamr5x-4.6.0.7.
3+
Provided source code was built and tested using Beamr5x-4.7.2.2.
44

55
## Build tools
66

plugins/code/hevc_enc/beamr/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Beamr HEVC encoder plugin for Dolby Encoding Engine
22

3-
Provided source code was built and tested using Beamr5x-4.6.0.7.
3+
Provided source code was built and tested using Beamr5x-4.7.2.2.
44

55
## Build tools
66

@@ -73,7 +73,3 @@ The presented XML interface contains only basic encoder parameters. Other parame
7373

7474
These elements allow configuring encoder using native Beamr parameters, which can be found in Beamr SDK documentation and sample configs in `$BEAMR_SDK\samples\*.cfg`.
7575

76-
## Known issues
77-
78-
- When encoding Enhancement layer for Dolby Vision profile 7, encoder forces tier Main instead fo High.
79-
- This issue shall be fixed with the next release of Beamr SDK.

plugins/code/hevc_enc/ffmpeg/examples/example_profile_5.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
<append_frames_method>1</append_frames_method> <!-- integer: from 0 to 1 -->
4242
<decoder>
4343
<j2k_dec>
44-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
44+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
45+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
46+
</kakadu_dlb>
4547
</j2k_dec>
4648
</decoder>
4749
<scaling>

plugins/code/hevc_enc/ffmpeg/examples/example_profile_8_1.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
<disable_md_postproc>false</disable_md_postproc> <!-- boolean: true or false -->
4646
<decoder>
4747
<j2k_dec>
48-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
48+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
49+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
50+
</kakadu_dlb>
4951
</j2k_dec>
5052
</decoder>
5153
<scaling>

plugins/code/hevc_enc/x265/examples/example_dv_mezz_to_hdr10.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
<encode_pass_num>2</encode_pass_num> <!-- integer -->
4747
<decoder>
4848
<j2k_dec>
49-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
49+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
50+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
51+
</kakadu_dlb>
5052
</j2k_dec>
5153
</decoder>
5254
<scaling>

plugins/code/hevc_enc/x265/examples/example_dv_mezz_to_sdr.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
<encode_pass_num>2</encode_pass_num> <!-- integer -->
3434
<decoder>
3535
<j2k_dec>
36-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
36+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
37+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
38+
</kakadu_dlb>
3739
</j2k_dec>
3840
</decoder>
3941
<scaling>

plugins/code/hevc_enc/x265/examples/example_profile_5.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
<append_frames_method>1</append_frames_method> <!-- integer: from 0 to 1 -->
4242
<decoder>
4343
<j2k_dec>
44-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
44+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
45+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
46+
</kakadu_dlb>
4547
</j2k_dec>
4648
</decoder>
4749
<scaling>

plugins/code/hevc_enc/x265/examples/example_profile_8_1.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
<disable_md_postproc>false</disable_md_postproc> <!-- boolean: true or false -->
4646
<decoder>
4747
<j2k_dec>
48-
<kakadu_dlb/> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
48+
<kakadu_dlb> <!-- If plugin 'kakadu_dlb' is not available use the other one, e.g. 'base'. -->
49+
<thread_num>4</thread_num> <!-- integer: from 0 to 255 -->
50+
</kakadu_dlb>
4951
</j2k_dec>
5052
</decoder>
5153
<scaling>

plugins/code/j2k_dec/comprimato/src/j2k_dec_comprimato.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ comprimato_init
126126
}
127127
else
128128
{
129-
state->data->msg += "\nUnknown XML property: " + name;
129+
state->data->msg += "\nUnknown property: " + name;
130130
return STATUS_ERROR;
131131
}
132132
}
@@ -161,6 +161,7 @@ comprimato_close
161161
)
162162
{
163163
j2k_dec_comprimato_t* state = (j2k_dec_comprimato_t*)handle;
164+
state->data->msg.clear();
164165

165166
CHECK_API_OK(cmpto_j2k_dec_ctx_destroy(state->data->cmpto_ctx));
166167
delete[] state->data->output_buffer;
@@ -177,6 +178,7 @@ comprimato_process
177178
)
178179
{
179180
j2k_dec_comprimato_t* state = (j2k_dec_comprimato_t*)handle;
181+
state->data->msg.clear();
180182

181183
cmpto_j2k_dec_img* img;
182184
cmpto_j2k_dec_img* decoded_img;

plugins/code/j2k_dec/ffmpeg/src/j2k_dec_ffmpeg.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ ffmpeg_init
176176
}
177177
else
178178
{
179-
state->data->msg += "\nUnknown XML property: " + name;
179+
state->data->msg += "\nUnknown property: " + name;
180180
return STATUS_ERROR;
181181
}
182182
}
@@ -237,6 +237,7 @@ ffmpeg_close
237237
)
238238
{
239239
j2k_dec_ffmpeg_t* state = (j2k_dec_ffmpeg_t*)handle;
240+
state->data->msg.clear();
240241

241242
cur_instance_idx = 0;
242243

@@ -289,6 +290,7 @@ ffmpeg_process
289290
)
290291
{
291292
j2k_dec_ffmpeg_t* state = (j2k_dec_ffmpeg_t*)handle;
293+
state->data->msg.clear();
292294
FILE* file_in;
293295
FILE* file_out;
294296

0 commit comments

Comments
 (0)