| /OK3568_Linux_fs/kernel/drivers/video/ |
| H A D | hdmi.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 43 return 256 - csum; in hdmi_infoframe_checksum() 46 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum() argument 48 u8 *ptr = buffer; in hdmi_infoframe_set_checksum() 50 ptr[3] = hdmi_infoframe_checksum(buffer, size); in hdmi_infoframe_set_checksum() 54 * hdmi_avi_infoframe_init() - initialize an HDMI AVI infoframe 55 * @frame: HDMI AVI infoframe 57 void hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument 59 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init() 61 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_frame.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 31 static void setup_mpp_frame_name(MppFrameImpl *frame) in setup_mpp_frame_name() argument 33 frame->name = module_name; in setup_mpp_frame_name() 36 #define check_is_mpp_frame(frame) _check_is_mpp_frame(__FUNCTION__, frame) argument 38 MPP_RET _check_is_mpp_frame(const char *func, void *frame) in _check_is_mpp_frame() argument 40 if (frame && ((MppFrameImpl*)frame)->name == module_name) in _check_is_mpp_frame() 43 mpp_err("pointer %p failed on %s check mpp_frame\n", frame, func); in _check_is_mpp_frame() 48 MPP_RET mpp_frame_init(MppFrame *frame) in mpp_frame_init() argument 50 if (NULL == frame) { in mpp_frame_init() 62 *frame = p; in mpp_frame_init() [all …]
|
| H A D | mpp_buf_slot.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 127 "set frame ", 128 "clr frame ", 129 "set buffer ", 130 "clr buffer ", 160 RK_U32 not_ready : 1; // buffer slot is filled or not 161 RK_U32 codec_use : 1; // buffer slot is used by codec ( dpb reference ) 162 RK_U32 hal_output : 2; // buffer slot is set to hw output will ready when hw done 163 RK_U32 hal_use : 8; // buffer slot is used by hardware 164 RK_U32 queue_use : 5; // buffer slot is used in different queue [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/fb/ |
| H A D | framebuffer.rst | 2 The Frame Buffer Device 9 --------------- 11 The frame buffer device provides an abstraction for the graphics hardware. It 12 represents the frame buffer of some video hardware and allows application 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 24 From the user's point of view, the frame buffer device looks just like any 26 specifies the frame buffer number. 31 0 = /dev/fb0 First frame buffer [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 tristate "Support for frame buffer devices" 17 The frame buffer device provides an abstraction for the graphics 18 hardware. It represents the frame buffer of some video hardware and 20 a well-defined interface, so the software doesn't need to know 21 anything about the low-level (hardware register) stuff. 23 Frame buffer devices work identically across the different 26 server exists which uses the frame buffer device exclusively. 27 On several non-X86 architectures, the frame buffer device is the 33 You need an utility program called fbset to make full use of frame [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | dev-stateless-decoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Memory-to-memory Stateless Video Decoder Interface 10 between processed frames. This means that each frame is decoded independently 18 This section describes how user-space ("the client") is expected to communicate 24 Stateless decoders make use of the :ref:`media-request-api`. A stateless 30 frame may be the result of several decode requests (for instance, H.264 streams 31 with multiple slices per frame). Decoders that support such formats must also 45 codec-specific capability controls (such as H.264 profiles) to the set 55 formats may depend on the value of some codec-dependent controls. 110 frame buffer resolution for the decoded frames. [all …]
|
| H A D | pixfmt-compressed.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 .. _compressed-formats: 12 .. flat-table:: Compressed Image Formats 13 :header-rows: 1 14 :stub-columns: 0 17 * - Identifier 18 - Code 19 - Details 20 * .. _V4L2-PIX-FMT-JPEG: 22 - ``V4L2_PIX_FMT_JPEG`` [all …]
|
| H A D | dev-encoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 6 Memory-to-Memory Stateful Video Encoder Interface 12 further post-processing by the client. 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 41 7. Given an ``OUTPUT`` buffer A, then A' represents a buffer on the ``CAPTURE`` 42 queue containing data that resulted from processing buffer A. 47 Refer to :ref:`decoder-glossary`. 52 .. kernel-render:: DOT 65 qi -> Initialization [ label = "open()" ]; [all …]
|
| H A D | buffer.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 A buffer contains data exchanged by application and driver using one of 11 the Streaming I/O methods. In the multi-planar API, the data is held in 12 planes, while the buffer structure acts as a container for the planes. 14 copied. These pointers, together with meta-information like timestamps 18 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API, 19 some plane-specific members of struct :c:type:`v4l2_buffer`, 25 part of the frame and with which clock the timestamp is taken. Please 27 ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK`` in :ref:`buffer-flags`. These flags 33 mem-to-mem devices is an exception to the rule: the timestamp source [all …]
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_dec_nt_test.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 MppFrame frame; member 66 MpiDecTestCmd *cmd = data->cmd; in dec_loop() 67 MppCtx ctx = data->ctx; in dec_loop() 68 MppApi *mpi = data->mpi; in dec_loop() 69 MppPacket packet = data->packet; in dec_loop() 71 RK_U32 quiet = data->quiet; in dec_loop() 72 FrmCrc *checkcrc = &data->checkcrc; in dec_loop() 75 ret = reader_read(cmd->reader, &slot); in dec_loop() 80 pkt_eos = slot->eos; in dec_loop() [all …]
|
| H A D | mpi_dec_test.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 MppFrame frame; member 66 MpiDecTestCmd *cmd = data->cmd; in dec_simple() 67 MppCtx ctx = data->ctx; in dec_simple() 68 MppApi *mpi = data->mpi; in dec_simple() 69 MppPacket packet = data->packet; in dec_simple() 71 RK_U32 quiet = data->quiet; in dec_simple() 72 FrmCrc *checkcrc = &data->checkcrc; in dec_simple() 75 ret = reader_read(cmd->reader, &slot); in dec_simple() 80 pkt_eos = slot->eos; in dec_simple() [all …]
|
| H A D | mpi_dec_multi_test.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 47 MppFrame frame; member 79 MpiDecTestCmd *cmd = data->cmd; in multi_dec_simple() 82 MppCtx ctx = data->ctx; in multi_dec_simple() 83 MppApi *mpi = data->mpi; in multi_dec_simple() 84 MppPacket packet = data->packet; in multi_dec_simple() 85 FileReader reader = cmd->reader; in multi_dec_simple() 87 RK_U32 quiet = data->quiet; in multi_dec_simple() 88 MPP_RET ret = reader_index_read(reader, data->packet_count++, &slot); in multi_dec_simple() 93 pkt_eos = slot->eos; in multi_dec_simple() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | hdmi.h | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 125 /* The following EC values are only defined in CEA-861-F. */ 138 /* non-uniform picture scaling */ 211 void hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame); 212 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, 214 ssize_t hdmi_avi_infoframe_pack_only(const struct hdmi_avi_infoframe *frame, 215 void *buffer, size_t size); 216 int hdmi_avi_infoframe_check(struct hdmi_avi_infoframe *frame); 217 int hdmi_drm_infoframe_init(struct hdmi_drm_infoframe *frame); 218 ssize_t hdmi_drm_infoframe_pack(struct hdmi_drm_infoframe *frame, void *buffer, [all …]
|
| H A D | zstd.h | 2 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. 5 * This source code is licensed under the BSD-style license found in the 12 * Free Software Foundation. This program is dual-licensed; you may select 24 /*-***************************************************************************** 28 * targeting real-time compression scenarios at zlib-level and better 29 * compression ratios. The zstd compression library provides in-memory 34 * - a single step, reusing a context (described as Explicit memory management) 35 * - unbounded multiple steps (described as Streaming compression) 38 * - a single step (described as Simple dictionary API) 39 * - a single step, reusing a dictionary (described as Fast dictionary API) [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_decoder.cpp | 28 if (frame) { in ~MppDecoder() 29 mpp_frame_deinit(&frame); in ~MppDecoder() 30 frame = NULL; in ~MppDecoder() 46 this->userdata = userdata; in Init() 47 this->fps = fps; in Init() 48 this->last_frame_time_ms = 0; in Init() 55 return -1; in Init() 73 return -1; in Init() 79 ret = mpp_mpi->control(mpp_ctx, MPP_DEC_GET_CFG, cfg); in Init() 82 return -1; in Init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | ia_css_frame_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * This file contains structs to describe various frame-formats supported by the ISP. 42 /* Frame plane structure. This describes one plane in an image 43 * frame buffer. 52 unsigned int offset; /** offset in bytes to start of frame data. 72 /* Container for semi-planar YUV frames. 87 /* Container for 6-plane frames. These frames are used internally 93 struct ia_css_frame_plane gr; /** Red-green plane */ 94 struct ia_css_frame_plane gb; /** Blue-green plane */ 99 /* Crop info struct - stores the lines to be cropped in isp */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vcodec/ |
| H A D | vdec_drv_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * struct vdec_fb_status - decoder frame buffer status 19 * @FB_ST_DISPLAY : frmae buffer is ready to be displayed 20 * @FB_ST_FREE : frame buffer is not used by decoder any more 29 * the caller does not own the returned buffer. The buffer will not be 31 * GET_PARAM_DISP_FRAME_BUFFER : get next displayable frame buffer, 33 * GET_PARAM_FREE_FRAME_BUFFER : get non-referenced framebuffer, vdec_fb** 47 * struct vdec_fb_node - decoder frame buffer node 49 * @fb : point to frame buffer (vdec_fb), fb could point to frame buffer and 50 * working buffer this is for maintain buffers in different state [all …]
|
| /OK3568_Linux_fs/external/mpp/inc/ |
| H A D | mpp_task.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 69 * a - poll(input) 70 * b - dequeue(input, *task) 71 * c - task_set_item(packet/frame) 72 * d - enqueue(input, task) // when enqueue return the task is not done yet 75 * a - poll(output) 76 * b - dequeue(output, *task) 77 * c - task_get_item(frame/packet) 78 * d - enqueue(output, task) 84 * a - poll(input) [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/ |
| H A D | mpp_task.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 69 * a - poll(input) 70 * b - dequeue(input, *task) 71 * c - task_set_item(packet/frame) 72 * d - enqueue(input, task) // when enqueue return the task is not done yet 75 * a - poll(output) 76 * b - dequeue(output, *task) 77 * c - task_get_item(frame/packet) 78 * d - enqueue(output, task) 84 * a - poll(input) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/isci/ |
| H A D | unsolicited_frame_control.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 64 * struct scu_unsolicited_frame_header - 66 * This structure delineates the format of an unsolicited frame header. The 83 * This field indicates if the frame is an address frame (IAF or OAF) 84 * or if it is a information unit frame. 89 * This field simply indicates the connection rate at which the frame 106 * enum unsolicited_frame_state - 108 * This enumeration represents the current unsolicited frame state. The [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/ |
| H A D | frame-buffer.rst | 1 Frame Buffer Library 4 The frame buffer drivers depend heavily on four data structures. These 20 otherwise. A good example of this is the start of the frame buffer 21 memory. This "locks" the address of the frame buffer memory, so that it 31 Frame Buffer Memory 32 ------------------- 34 .. kernel-doc:: drivers/video/fbdev/core/fbmem.c 37 Frame Buffer Colormap 38 --------------------- 40 .. kernel-doc:: drivers/video/fbdev/core/fbcmap.c [all …]
|
| /OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/ |
| H A D | gstmppdec.c | 3 * Author: Randy Li <randy.li@rock-chips.com> 6 * Author: Jeffy Chen <jeffy.chen@rock-chips.com> 21 * Boston, MA 02110-1301, USA. 47 (gst_pad_get_task_state ((decoder)->srcpad) == GST_TASK_STARTED) 49 #define GST_MPP_DEC_MUTEX(decoder) (&GST_MPP_DEC (decoder)->mutex) 89 if (self->input_state) in gst_mpp_dec_set_property() 92 self->rotation = g_value_get_enum (value); in gst_mpp_dec_set_property() 97 if (self->input_state) in gst_mpp_dec_set_property() 100 self->width = g_value_get_uint (value); in gst_mpp_dec_set_property() 104 if (self->input_state) in gst_mpp_dec_set_property() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/ |
| H A D | mpp_dec_normal.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 35 return ts1->pts - ts2->pts; in ts_cmp() 45 RK_U32 notify = dec->parser_notify_flag; in check_task_wait() 46 RK_U32 last_wait = dec->parser_wait_flag; in check_task_wait() 47 RK_U32 curr_wait = task->wait.val; in check_task_wait() 52 if (dec->reset_flag) in check_task_wait() 69 dec_dbg_status("%p %08x -> %08x [%08x] notify %08x -> %s\n", dec, in check_task_wait() 72 dec->parser_status_flag = task->status.val; in check_task_wait() 73 dec->parser_wait_flag = task->wait.val; in check_task_wait() 74 dec->parser_notify_flag = keep_notify; in check_task_wait() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/inc/ |
| H A D | mpp_frame_impl.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 /* total 64 bit frame status for internal flow */ 30 /* bit 0 ~ 7 common frame status flag for both encoder and decoder */ 34 * 0 - pixel data is invalid 35 * 1 - pixel data is valid 41 * 0 - inter frame 42 * 1 - intra frame 48 * 0 - normal intra frame 49 * 1 - IDR frame 54 * 0 - mark as reference frame [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/drm/ |
| H A D | lima_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 2 /* Copyright 2017-2018 Qiang Yu <yuq825@gmail.com> */ 36 * heap buffer dynamically increase backup memory size when GP task fail 37 * due to lack of heap memory. size field of heap buffer is an up bound of 43 * create a buffer for used by GPU 46 __u32 size; /* in, buffer size */ 47 __u32 flags; /* in, buffer flags */ 48 __u32 handle; /* out, GEM buffer handle */ 53 * get information of a buffer 56 __u32 handle; /* in, GEM buffer handle */ [all …]
|