| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Also fix a couple of possible overflows while at it.
Fixes the negative initial timestamps in ticket #10358.
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
long long
BMDTimeValue is defined as LONGLONG on Windows, but int64_t on Linux/Mac.
Fixes format string warnings:
libavdevice/decklink_enc.cpp: In function ‘void construct_cc(AVFormatContext*, decklink_ctx*, AVPacket*, klvanc_line_set_s*)’:
libavdevice/decklink_enc.cpp:424:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘BMDTimeValue {aka long int}’ [-Wformat=]
ctx->bmd_tb_num, ctx->bmd_tb_den);
~~~~~~~~~~~~~~~ ^
libavdevice/decklink_enc.cpp:424:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘BMDTimeValue {aka long int}’ [-Wformat=]
Signed-off-by: Marton Balint <[email protected]>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes potential use of uninitialized values
in evc_read_nal_unit_length().
Reviewed-by: James Almer <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
libavutil/random_seed.c calls arc4random_buf which is
not available on OSX 10.4 Tiger, but the configuration
script tests for arc4random which is available.
Fix the configuration test to match the actual API used.
Co-authored-by: James Almer <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
| |
New upstream option. Enabled by default in the high-quality preset
upstream, so enable it by default here.
|
|
|
|
| |
Deprecated upstream in libplacebo v6.292.
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
|
|
| |
pps_num_exp_tile_rows_minus1
Fixes warnings about variable set but not used.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
| |
And fix the allowed range for ph_log2_diff_max_bt_min_qt_intra_slice_luma while at it.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
|
| |
When intra_refresh is enabled, gopLength is equal to
NVENC_INFINITE_GOPLENGTH. gopLength should be 1 at least.
Signed-off-by: Zhao Zhili <[email protected]>
|
|
|
|
|
|
|
| |
Regression since 99dfdb45. intraRefreshPeriod access cc->gopLength,
which has been overwritten to NVENC_INFINITE_GOPLENGTH before.
Fixes #10445.
|
|
|
|
| |
A real value is determined from the bytestream.
|
|
|
|
|
|
|
|
|
|
| |
Changes the result of fate-mxf-probe-dv25, where the bitrate is now
exported.
Also changes the result of fate-bsf-dv-error-marker, where the exported
bitrate is now different. Note that the codec layer bitrate does not
match the container bitrate, because container timing is 25fps, while
the DV profile is 50.
|
|
|
|
|
|
|
|
|
| |
This way decoding errors will not be returned when the user starts
draining the decoder, avoiding confusion over whether draining did or
did not start.
Fixes failures of fate-h264-attachment-631 for certain numbers of frame
threads (e.g. 5).
|
|
|
|
|
|
|
| |
Do it from ff_decode_get_packet() rather than from
avcodec_send_packet(). This way all nontrivial stages of the decoding
pipeline (i.e. other than just placing a packet at its entrance) are
pull-based rather than a mix of push an pull.
|
|
|
|
| |
It will be useful in other places.
|
|
|
|
|
|
|
| |
Decoding pipeline has multiple stages, some of which may have their own
delay (e.g. bitstream filters). The code currently uses
AVCodecInternal.draining to track all of them, but they do not have to
all be in sync.
|
|
|
|
| |
It does not need to be visible outside of encode.c.
|
|
|
|
|
| |
Move AVCodecInternal.intra_only_flag to it, should should not be visible
outside of encode.c.
|
|
|
|
|
| |
Move AVCodecInternal.nb_draining_errors to it, should should not be
visible outside of decode.c.
|
| |
|
|
|
|
| |
Will allow making some state private to encoding/decoding in the future.
|
|
|
|
|
|
|
|
|
|
| |
The goal is to distinguish between APIs provided by the generic layer to
individual codecs and APIs internal to the generic layer.
Start by moving ff_{decode,encode}_receive_frame() and
ff_{decode,encode}_preinit() into this new header, as those functions
are called from generic code and should not be visible to individual
codecs.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For uint8_t buf[EVC_NALU_LENGTH_PREFIX_SIZE], &buf still points
to the beginning of buf, but it is of type "pointer to array of
EVC_NALU_LENGTH_PREFIX_SIZE uint8_t" (i.e. pointer arithmetic
would operate on blocks of size EVC_NALU_LENGTH_PREFIX_SIZE).
This is of course a different type than uint8_t*, which is why
there have been casts in evc_read_packet(). But these are unnecessary
if one justs removes the unnecessary address-of operator.
Reviewed-by: James Almer <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
|
|
|
|
|
|
|
|
| |
Not sure if the function naming frame_queue_destory is intended because
"destory" is not really a word. Changing it to "destroy" makes more sense.
Signed-off-by: QiTong Li <[email protected]>
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
AVID IMX MPEG2 files in MOV seems to have extradata like this:
00000000: 0000 0018 4143 4c52 4143 4c52 3030 3031 ....ACLRACLR0001
00000010: 0000 0001 0000 0000 ........
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
|
| |
Reviewed-by: Anton Khirnov <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: Nuo Mi <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
example clips:
* 12b444vvc1_E_Sony_2
* 12b444Ietsrc_A_Kwai_2
* 10b444P16_D_Sony_2
* 12b444Iepp_A_Sharp_2
* 12b444SPetsrc_B_Kwai_2
Co-authored-by: Nuo Mi <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
| |
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an optional filter_line3 to the available optimisations.
filter_line3 is equivalent to filter_line, memcpy, filter_line
filter_line shares quite a number of loads and some calculations in
common with its next iteration and testing shows that using aarch64
neon filter_line3s performance is 30% better than two filter_lines
and a memcpy.
Adds a test for vf_bwdif filter_line3 to checkasm
Rounds job start lines down to a multiple of 4. This means that if
filter_line3 exists then filter_line will not sometimes be called
once at the end of a slice depending on thread count. The final slice
may do up to 3 extra lines but filter_edge is faster than filter_line
so it is unlikely to create any noticable thread load variation.
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
| |
Exports C filter_line needed for tail fixup of neon code
Adds neon for filter_line
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Adds clip and spatial macros for aarch64 neon
Exports C filter_edge needed for tail fixup of neon code
Adds neon for filter_edge
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
| |
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Adds an outline for aarch neon functions
Adds common macros and consts for aarch64 neon
Exports C filter_intra needed for tail fixup of neon code
Adds neon for filter_intra
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
| |
Signed-off-by: John Cox <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
|
| |
Stop overwriting values from the bitstream arrays pps_tile_column_width_minus1
and pps_tile_row_height_minus1.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
| |
The macro is meant for coded values only.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
| |
Syncs audio with video.
|
|
|
|
| |
sample rate
|
| |
|
|
|
|
| |
The new function uses size_t, which has to be defined.
|