Commit Graph

3625 Commits

Author SHA1 Message Date
Yanjun Liao
23ace2582b feat[vepu_510] add vepu 510 common for H264 & h265
1. add vepu510_common.c
2. add vepu510_common.h
3. modify vepu5xx_common.c and vepu5xx_common.h to adapt vepu510

Change-Id: Id4589d2fc34d76fc6857dc579095c7dd3873868c
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-02-20 17:34:21 +08:00
Yanjun Liao
3cbb906673 feat[mpp_soc]: support rk3576 soc
Change-Id: I49bd3ccbc643b3c95db5ba3ca692f365c9425440
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-02-20 09:45:25 +08:00
Yanjun Liao
0993a71ce9 fix[avsd]: Fix the ref_frm slot idx erro in fast mode.
In fast mode, the ref_frm slt idx maintained by Avs2dFrameMgr may be refreshed by a new haltask before the callback.

Change-Id: I05575c4bcac7e618a7c05dd1ff38c0084af33b7e
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-02-07 15:13:43 +08:00
Herman Chen
fdeb8c378b docs: Update 1.0.4 CHANGELOG.md
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: If85c9ee082c0fe5606543c2e66245c7d7208f426
2024-02-07 15:07:36 +08:00
Johnson Ding
a597942944 fix[h265e]: fix hw stream size check error
Change-Id: If1f869548f517e61aa2977bd5e0909a00010fb2f
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-02-06 17:19:51 +08:00
Yandong Lin
5cb29df8d3 fix[hal_vdpu]: unify colmv buffer size calculation
Fix colmv buf size not enough issue in some case.

Change-Id: I00e46a6d4a05a53ecb8336fe9818ab960e0b5a99
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
2024-02-06 09:08:56 +08:00
Herman Chen
9431bbc980 fix[vproc]: Fix deadlock in vproc thread
BUG is reported from https://redmine.rock-chips.com/issues/464206

Thread 18 (LWP 2440):
#0  __lll_lock_wait (futex=0x7f34000d48, private=0) at lowlevellock.c:52
#1  0x0000007fab5b1540 in __GI___pthread_mutex_lock (mutex=0x7f34000d48) at pthread_mutex_lock.c:115
#2  0x0000007fa9e0299c in dec_vproc_signal (ctx=0x7f34001260) at ../git/mpp/vproc/mpp_dec_vproc.cpp:929
#3  0x0000007fa9df5bdc in mpp_dec_notify (ctx=0x7f602be600, flag=1088) at ../git/mpp/codec/mpp_dec.cpp:956
#4  0x0000007fa9e0ef30 in mpp_buffer_ref_dec (buffer=0x7f6403f6c8, caller=caller@entry=0x7fa9ee300c "mpp_frame_deinit") at ../git/mpp/base/mpp_buffer_impl.cpp:509
#5  0x0000007fa9e0fb84 in mpp_buffer_put_with_caller (buffer=<optimized out>, caller=caller@entry=0x7fa9ee300c "mpp_frame_deinit") at ../git/mpp/base/mpp_buffer.cpp:105
#6  0x0000007fa9e11820 in mpp_frame_deinit (frame=frame@entry=0x7f602ec340) at ../git/mpp/base/mpp_frame.cpp:85
#7  0x0000007fabd6bf4c in rkmpp_release_frame (opaque=<optimized out>, data=0x7f602ba600 <error: Cannot access memory at address 0x7f602ba600>) at src/libavcodec/rkmppdec.c:339
#8  0x0000007fab9547dc in buffer_replace (src=0x0, dst=<optimized out>) at src/libavutil/buffer.c:133
#9  av_buffer_unref (buf=<optimized out>) at src/libavutil/buffer.c:144
#10 0x0000007fac714bb8 in mp_image_destructor (ptr=0x7f60252c80) at ../../../../../../sources/mpv/video/mp_image.c:209
#11 0x0000007fac748d40 in ta_free (ptr=0x7f60252c80) at ../../../../../../sources/mpv/ta/ta.c:244
#12 0x0000007fac715178 in mp_image_unrefp (p_img=p_img@entry=0x7f4c00bfc0) at ../../../../../../sources/mpv/video/mp_image.c:472
#13 0x0000007fac73396c in wlbuf_pool_entry_release (data=0x7f4c00bfa0, wl_buffer=<optimized out>) at ../../../../../../sources/mpv/video/out/wlbuf_pool.c:132
#14 0x0000007fb4cfe328 in ffi_call_SYSV () at ../libffi-3.3/src/aarch64/sysv.S:114
#15 0x0000007fb4cfdb44 in ffi_call_int (cif=cif@entry=0x7f70fdec80, fn=0x7f70fdeca0, orig_rvalue=orig_rvalue@entry=0x0, avalue=0x10, avalue@entry=0x7f70fded50, closure=0x200000001, closure@entry=0x0) at ../libffi-3.3/src/aarch64/ffi.c:747
#16 0x0000007fb4cfdf24 in ffi_call (cif=cif@entry=0x7f70fdec80, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7f70fded50) at ../libffi-3.3/src/aarch64/ffi.c:756
#17 0x0000007faa49c7c0 in wl_closure_invoke (closure=0x7f4c00bff0, flags=<optimized out>, target=<optimized out>, opcode=0, data=<optimized out>) at ../wayland-1.22.0/src/connection.c:1025
#18 0x0000007faa499df0 in dispatch_event (display=display@entry=0x7f4c001d40, queue=<optimized out>) at ../wayland-1.22.0/src/wayland-client.c:1644
#19 0x0000007faa49b2c8 in dispatch_queue (queue=0x7f4c001e30, display=0x7f4c001d40) at ../wayland-1.22.0/src/wayland-client.c:1790
#20 wl_display_dispatch_queue_pending (display=0x7f4c001d40, queue=0x7f4c001e30) at ../wayland-1.22.0/src/wayland-client.c:2032
#21 0x0000007faa49b2f4 in wl_display_dispatch_pending (display=<optimized out>) at ../wayland-1.22.0/src/wayland-client.c:2095
#22 0x0000007fac73e2cc in vo_wayland_dispatch_events (wl=0x7f4c000e40, nfds=nfds@entry=2, timeout=timeout@entry=100) at ../../../../../../sources/mpv/video/out/wayland_common.c:1933
#23 0x0000007fac741d7c in vo_wayland_wait_events_timeout (vo=vo@entry=0x7f600abed0, timeout_ms=timeout_ms@entry=100) at ../../../../../../sources/mpv/video/out/wayland_common.c:2594
#24 0x0000007fac73baf4 in draw_frame (vo=0x7f600abed0, frame=0x7f302063b0) at ../../../../../../sources/mpv/video/out/vo_dmabuf_wayland.c:1113
#25 0x0000007fac7360c4 in render_frame (vo=0x7f600abed0) at ../../../../../../sources/mpv/video/out/vo.c:984
#26 vo_thread (ptr=0x7f600abed0) at ../../../../../../sources/mpv/video/out/vo.c:1123
#27 0x0000007fab5af370 in start_thread (arg=0x7f72ffbe06) at pthread_create.c:477
#28 0x0000007fab51bedc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 14 (LWP 3455):
#0  __lll_lock_wait (futex=0x7f60208040, private=0) at lowlevellock.c:52
#1  0x0000007fab5b1540 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x7f60208040) at pthread_mutex_lock.c:115
#2  0x0000007fa9e0ef48 in mpp_buffer_ref_dec (buffer=0x7f6406fee8, caller=caller@entry=0x7fa9ee1ae7 "check_entry_unused") at ../git/mpp/base/mpp_buffer_impl.cpp:503
#3  0x0000007fa9e0fb84 in mpp_buffer_put_with_caller (buffer=<optimized out>, caller=caller@entry=0x7fa9ee1ae7 "check_entry_unused") at ../git/mpp/base/mpp_buffer.cpp:105
#4  0x0000007fa9e0bf1c in check_entry_unused (entry=0x7f601ef530, impl=0x7f60263ec0) at ../git/mpp/base/mpp_buf_slot.cpp:627
#5  mpp_buf_slot_clr_flag (slots=0x7f60263ec0, index=<optimized out>, type=type@entry=SLOT_QUEUE_USE) at ../git/mpp/base/mpp_buf_slot.cpp:919
#6  0x0000007fa9e00eb0 in dec_vproc_clr_prev0 (ctx=ctx@entry=0x7f34001260) at ../git/mpp/vproc/mpp_dec_vproc.cpp:149
#7  0x0000007fa9e00fd0 in dec_vproc_clr_prev (ctx=ctx@entry=0x7f34001260) at ../git/mpp/vproc/mpp_dec_vproc.cpp:180
#8  0x0000007fa9e012b8 in dec_vproc_thread (data=0x7f34001260) at ../git/mpp/vproc/mpp_dec_vproc.cpp:631
#9  0x0000007fab5af370 in start_thread (arg=0x7f47ffdf16) at pthread_create.c:477
#10 0x0000007fab51bedc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I742e55e745c46a4adb229e2f6f0e2a2c3498e369
2024-02-05 10:33:35 +08:00
Johnson Ding
c43b99b671 fix[h265e]: disable tmvp by default
When setting drop-gap to 0, continuous dropping frame at p-skip mode
will make the following encodeing result go wrong, if temporal motion
vector prediction is enabled. So tmvp should be turn off at this case.
Since TMVP doesn't contribute much bit rate, turn it off as a default.
Also SAO should be disabled.

Change-Id: I0cefca33981966dfeae260e450d731e059748911
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-02-04 16:35:39 +08:00
xueman.ruan
59126dc3f6 feat[vpu_api_legacy]: Support RGB24 setup
Change-Id: I167c11eb8f412f8dae993c2580b43a765136cf77
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2024-02-02 11:48:35 +08:00
Johnson Ding
06d8b3958a fix[h265e]: Amend temporal_id to stream
Change-Id: Icdf177c5a144c0ed611d9df993183619dcf2f9ff
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-01-30 11:36:39 +08:00
Yanjun Liao
303a26ddad fix[mpp_dump]: add YUV420SP_10BIT format dump
Change-Id: I1e89dbfefb394b4e8b2fbaf4fb0516be3528dd24
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-01-29 09:35:28 +08:00
Ding Wei
af20bbf3f6 fix[hal_h265d]: Fix register length for rk3328/rk3328H
tips: rk3328/rk3328H have 108 u32 registers, not the 78.

Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Change-Id: I1c3d59d09d1f1a16aacee99673c4db67499e7a38
2024-01-26 15:36:40 +08:00
Grey Li
c83bd81846 feat[avsd]: keep codec type if not avs+
In some case we need to use avs+ codec decode avs stream.

Change-Id: Id7fe9510e22f65c66a3f8bfc87ec29311830dbf8
Signed-off-by: Grey Li <grey.li@rock-chips.com>
2024-01-26 15:11:38 +08:00
Herman Chen
6387e27bea [cmake]: Add -save-temps for macro debug
Add -save-temps to save intermediate file for macro debug.
Disable now for osal.a compile error with this option.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I3d3155666f98f0471313c7dec638fb2d6a6bf093
2024-01-26 11:34:51 +08:00
Herman Chen
3f0e7c8cc5 doc[mpp_buffer]: Update MppBuffer code annotation
related issue: https://redmine.rock-chips.com/issues/463747

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I24c047df0659958f98f46a248c2f0857f675149d
2024-01-26 09:57:23 +08:00
Herman Chen
12afca04e9 fix[hal_avsd]: Fix crash on no buffer decoded
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I6d249759537a3c71476d599aff2bd0f4854a9b81
2024-01-23 10:36:48 +08:00
Yanjun Liao
413ec4d64f fix[mpp_enc]: allow vp8 to cfg force idr frame
Change-Id: I9a04cf3b82fb02aca9c8f497ef45394e8121f472
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-01-17 16:34:24 +08:00
shine.liu
e01083116b fix[m2vd]: fix unindentical of input and output pts list
group_start_time_27M can be negative in (-frame_period, 0)
to ensure accurate frame pts.

error case:
    pts = 33000 frame_period = 900900 temporal_reference = 1
    group_start_time_27M = 33000 * 27 - 1 * 900900 = -9900
    if (group_start_time_27M < 0) group_start_time_27M = 0
    frm_pts = (0 + 1 * 900900) / 27 = 33366
    which means: input pts 33000 and output pts 33366

Change-Id: I56d9f4ad9a21c29fc74806000a216f27cd5833f6
Signed-off-by: shine.liu <shine.liu@rock-chips.com>
2024-01-15 17:39:52 +08:00
Johnson Ding
aa92148275 fix[h265e_vepu580]: fix SIGSEGV when reencoding
Hal buffer one_used marking will be wrong when reencoding.

Error log:
    "hal_bufs: hal_bufs_get_buf invalid input impl 0xf3500a60 buf_idx 4"
backtrace:
  #00 pc 0023e39c  /vendor/lib/libmpp.so (vepu580_h265_set_hw_address+328)
  #01 pc 0023f344  /vendor/lib/libmpp.so (hal_h265e_v580_gen_regs+2432)
  #02 pc 00233980  /vendor/lib/libmpp.so (hal_h265ev2_gen_regs+132)
  #03 pc 0008de04  /vendor/lib/libmpp.so (mpp_enc_hal_gen_regs+200)
  #04 pc 000805f0  /vendor/lib/libmpp.so (mpp_enc_normal(Mpp*, EncAsyncTaskInfo_t*)+1988)
  #05 pc 0007b380  /vendor/lib/libmpp.so (try_proc_normal_task(MppEncImpl_t*, EncAsyncTaskInfo_t*)+128)
  #06 pc 00078e50  /vendor/lib/libmpp.so (mpp_enc_thread+1340)

Change-Id: I5137a3db0ff63ee55a83c2d63da4430d2fc362b1
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-01-12 19:19:40 +08:00
Yandong Lin
0e03d3bc70 fix[mpp_dmabuf]: fix align cache line size calculate err
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ide7daa58b12b22dc115acbbb7a9b8e305a167d57
2024-01-12 10:37:24 +08:00
Johnson Ding
8103281b96 fix[h265e_vepu580]: flush cache for the first tile
Change-Id: If85fb01a1f72313b1c883309bfda5412d8f58ecd
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2024-01-12 10:15:52 +08:00
Yanjun Liao
ed77dd7988 feat[mpi_enc_test]: add YUV400 fmt support
Change-Id: I05d149d176e1e692e9706dac07e6d843446309f9
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-01-11 18:02:23 +08:00
Herman Chen
c06d3b4a71 fix[dmabuf]: Disable dmabuf partial sync function
For kernel dmabuf driver has bug on partial sync function we deside to
disable partial sync to reduce user's error.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I2c69c407eb5b0056ad0377699fef6ef31e1d79cd
2024-01-11 16:17:44 +08:00
xueman.ruan
3a5851e4bb fix[iep_test]: use internal buffer group
Change-Id: I5c61c0d4fa0c9795e92146a2613349e886af453b
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2024-01-11 16:12:11 +08:00
Herman Chen
8db63d761a fix[common]: Add mpp_dup function
mpp_dup function use fnctl F_DUPFD_CLOEXEC for fd dup with CLOEXEC flag.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Idd82eb935b06d2885685aeb696b95e910981539d
2024-01-10 18:15:45 +08:00
Yanjun Liao
ccf32c1da3 feat[mpp_enc]: Add YUV400 support for vepu580/540
Add VEPU540/580 YUV400 format support in H.264 and H.265

Change-Id: Id62102dcdc42afea5c3485224d9b4e5bf25efbac
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-01-10 18:14:23 +08:00
xiaoxu.chen
ff6032ed80 fix[h265e]: Adapter RK3528 when encoding P frame skip
1.Correct encoding P skip frame on RK3528. For Rk3528, the maxCuSize is 32, which is different to other Chips that maxCUSize of them is 64. So we need to treat them differentlly.
2.The fixed parameters in the original process have been changed to vary based on maxCUSize.
3.Fix m_cuDepth problem, which value was incorrect.

Change-Id: If4ba25d4d221af64d17c4991a708756ab5bc12d9
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
2024-01-10 11:12:16 +08:00
xiaoxu.chen
0e99499067 fix[h265e]: fix missing end_of_slice_segment_flag problem
1. Set end_of_slice_segment_flag at the last CTU of one frame.
2. Fix sps->raster2pelx and sps->raster2pely initialization problem.They cause encoding problem for non 64 pixel aligned.
3. The last CTU handled independently, reducing the cost.

Change-Id: I77c565b9bb1eaeaef0d61c8e9c50aa14ef4d0e61
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
2024-01-10 10:56:35 +08:00
xueman.ruan
1766466864 chore[script]: add rebuild and clean for build
Change-Id: I73b2d2e9ed11c5aef8c773323b2ab8c5f08b0dc3
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2024-01-05 16:03:27 +08:00
shine.liu
56bff5ed8c fix[hal_av1d_vdpu]: change rkv_hor_align to 16 align
Fix checksum mismatch for CtsMediaV2TestCases:
android.mediav2.cts.CodecDecoderTest#
testSimpleDecode[0_c2.rk.av1.decoder_video/av01]

Change-Id: Ib46cd4a05b76c5b76ea63e912051cca816582239
Signed-off-by: shine.liu <shine.liu@rock-chips.com>
2024-01-03 14:30:37 +08:00
Yandong Lin
255b389c2a fix[av1d_parser]: set color info per frame
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I74358a39fb1987c2df3d86b09cfc5463e8e4f98c
2024-01-03 10:39:00 +08:00
Yandong Lin
261037a8d3 chore[mpp_enc_roi_utils]: change file format dos to unix
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I816ec6f8a9771b814ea7ac4a313f97ad72abe3a1
2024-01-02 18:05:48 +08:00
Yandong Lin
e7440ce6f4 fix[jpegd]: add sof marker check when parser done
related issue: https://redmine.rock-chips.com/issues/438772

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I262b1f1adb8d5cb8d7fa228e2617860510a82f12
2024-01-02 16:05:21 +08:00
Yandong Lin
cc7647240e fix[hal_av1d_vdpu]: realloc tile out buffers when info change
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ib6b9248ddfdc9074e538113ab4713a61125b37e7
2023-12-27 16:29:02 +08:00
Yandong Lin
97d58ad0a4 fix[hal_av1d_vdpu]: fix sw_enable_cdef value err
It will cause frame decode software timeout.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I8488dcdde90d268a2a0d6888499b96eb00c77619
2023-12-27 14:56:46 +08:00
Yandong Lin
35a99b5d50 fix[dmabuf]: align offset/len to cache line for partial sync
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ib6b0f6714bc4d98daa83f02d17c7659c00df570a
2023-12-27 14:56:46 +08:00
shine.liu
e2eeeb5764 fix[av1d]: add hdr metadata info to frame
Signed-off-by: shine.liu <shine.liu@rock-chips.com>
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I713b357eb49e6f96267a64dc5c8239eaf2fa6f17
2023-12-27 14:30:56 +08:00
Yandong Lin
d8472abf85 fix[av1d_api]: do not set task valid when empty eos pkt
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I218a6c76153231b8ae52e00d515565b1cb73ec7a
2023-12-27 14:30:56 +08:00
Rimon Xu
1707d0ce0e fix[h265d]: fix pps parse failed cause crash issue
crash backtrace:
0) crash at pp->PicWidthInMinCbsY  = sps->min_cb_width; sps is 0x0
1) fill_picture_parameters at h265d_parser2_syntax.c:72
2) h265d_parser2_syntax at h265d_parser2_syntax.c:315
3) h265d_parse at h265d_parser.c:1904

While parsing PPS, an incorrect sps_id was parsed, but since the PPS
information is after other decoding frames, the parse_error was not set
to 1. This led to the completion of the parse process reaching
fill_picture_parameters, resulting in an error due to the obtained sps
information being null.

Signed-off-by: Rimon Xu <rimon.xu@rock-chips.com>
Change-Id: I31b8c0371803fb8101fb7ca4aec7e9183c6b218e
2023-12-26 09:24:04 +08:00
Herman Chen
1a4f3d456c feat[vepu580]: Support frame parallel on vepu580
1. Add dpb hal_start/hal_end function to mark hal usage.
2. Use dpb_used in the dpb process flow and hal_used in hal flow.
3. Send dpb ptr to hal for hal notify.
4. Use reg_idx in enc_task to find the register buffer.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ib728a896826a3039682de75d6a8cc2d4dfe04e3d
2023-12-21 15:57:22 +08:00
Herman Chen
eb14ae5032 [enc_utils]: Remove extra option log
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic9c54399bee41eab69c8a109e7d03eb6ee04d1a0
2023-12-19 18:16:39 +08:00
xueman.ruan
aceceadd84 [h265d]: add compatible for the order of vps
There is a certain error stream that vps is behind
sps and pps while it is still legal and can be
decoded. But the error detection code will stop
the parse process and return error.

To compat this stream by removing return operation
then this kind of stream can be supported.

Change-Id: I2f90a5efa5a8c63a6fa278f9d0408603943001b2
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2023-12-18 10:20:11 +08:00
Herman Chen
ed377c99a7 fix[hal_enc]: Add encoder internal buffer sync
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ie8ab3f8900e979079aaa1817a25751fc086431ac
2023-12-14 17:31:59 +08:00
Herman Chen
641da510f0 fix[hal_dec]: Add decoder internal buffer sync
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change-Id: I94295c0661becedb79b74ed3eef10e0042ca44b8
2023-12-14 17:31:38 +08:00
xueman.ruan
32148cb689 docs: update mpp developer guide markdown
modify compiling part

Change-Id: Ia24e1371cd0d31c268ad1e4f946c590ac7a8e6e1
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2023-12-11 15:26:29 +08:00
Herman Chen
7c721dca78 fix[script]: Optimize changelog.sh
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I5029f2f57bfffc1b8331665b7dcf8a10523b457e
2023-12-08 15:53:33 +08:00
Herman Chen
b4be2b722a docs: Update 1.0.3 CHANGELOG.md
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic94a9b7cdcd10682aaedc7576304948c74b52d83
2023-12-08 15:17:33 +08:00
Yandong Lin
2be06b2a3e fix[av1d_api]: fix loss last frame when empty eos
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I0769391cd535f400fbceffe6a18c40fa6ca39822
2023-12-08 14:42:50 +08:00
Yandong Lin
8cd49b578c fix[h265e_dpb]: do not check frm status when pass1
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I488c0d04c963b1ecbc68a89dce3cd20b847043bc
2023-12-06 15:35:50 +08:00
Yandong Lin
b64ba6383c fix[hal_bufs]: clear buffer when hal_bufs get failed
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I9d1d4d596ecc9379727129e0ab9ee12d20a8d222
2023-12-06 15:35:50 +08:00