This patch aims to add UVC_GUID_FORMAT_H265
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2.
They describe the same video encoding method.
So for handling their behavior is the same.
However, when external camera device describes this encoding method,
some use hevc, some use h265.
There is no uniform specification to describe this encoding method.
So if an external camera device use h265 to describe this encoding method,
driver will not recognize it.
Therefore, this patch is to enable driver to read HEVC/H265
and convert it to V4L2_PIX_FMT_HEVC.
Change-Id: I8316ccbf09014d38eb1becbc3c5f54f29ad497b6
Signed-off-by: James_Lin <Ping-lei.Lin@mediatek.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry picked from commit be938c70e2)
use the maximum resolution as the allocated size
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I41d263993245d168b6494bc4139b2e6dac0a6dc9
* support XRUN-routine digital loopback
* support up to 16 ch digital loopback
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I179ab370087bd49452c9ecbfa9b1e2ecbb010c5b
USB Type-C Specification Release 1.2 March 25, 2016
A.2 Detail
A DFP that supports analog audio adapters shall detect the presence
of an analog audio adapter by detecting a resistance to GND of less
than Ra on both A5 (CC) and B5 (VCONN).
So check both CC1 and CC2 status when SRC togdone to handle the audio
adapter accessory mode.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ied826a8a4b6e80b5406e3d370ef0f8aa31b1b536
1、Fixes brightness is increasing to a stable value when
sensor’s exp reg is fixed value
2、Fixes cross stripe in the first 15 frame
this patch will delay 650us before frame start
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: Ic57a7dfa7340c859aed5ddd250744d3802bf313f
1. Add job-state to detect hardware interrupt behavior. Easy to distinguish
the timeout of hardware interrupt top-half/bottom-half.
2. Print more error description according to register.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0179bb59ae6a467fdb1e28643c2c19f7eb4bc5d5
Currently, if camera flash in torch mode,
press power key long to power off don't close flash, so fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I774a9fec00cfee1fef3c933ca6aeaa010aecce81
Get the time only when DEBUG_TIMING flag is enabled
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I7ac49815f24d155cab3967af61dc75e4d92b9d60
This patch add support for rockchip sai controller:
* support flexible timing creation, e.g. I2S, PCM, TDM...
* support up to 128 slots per lane
* support up to 4 lanes per direction
* support slot mask
* support mono transfer and receive
* support digital loopback
* support data counter for flow control
* support clk sync among controllers which varies on chips
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3cd5eb1c1178cc3ca3b6069863787d1fa040b60c
When the session exits, there is no need to operate the rga_job directly.
Update driver version to 1.2.21
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0369dce427dc749795803eae064dc80e33747a7e
if all cameras need deal by isp, only support readback mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id943e8150fec09e1e7d4eddc0fd92a23ce94c669
There is a compatibility problem between the RK3588 and some eMMC devices
with HS400ES mode.
log:
mmc2: mmc_ select_ hs400es failed, error -84
mmc2: error -84 whilst initialising MMC card
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ib617b25ed404000ff2c890a423d74c15cd1a60db