mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
video: get input size before pps and sr [1/1]
PD#SWPL-136132 Problem: provide api to get input size Solution: provide api for it Verify: TXHD2 Change-Id: Ifcf7f18ce6b806cc8f68cf985172e46bc2625f76 Signed-off-by: hai.cao <hai.cao@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
aceb7de3e8
commit
9259040a9d
@@ -1274,6 +1274,12 @@ void set_video_zorder_ext(int layer_index, int zorder)
|
||||
}
|
||||
}
|
||||
|
||||
void get_video_input_info(struct video_input_info *input_info)
|
||||
{
|
||||
input_info->height = cur_frame_par[0]->video_input_h;
|
||||
input_info->width = cur_frame_par[0]->video_input_w;
|
||||
}
|
||||
|
||||
static void vdx_force_black(u8 layer_id)
|
||||
{
|
||||
if (layer_id == 0) {
|
||||
|
||||
@@ -397,6 +397,11 @@ struct vd_proc_amvecm_info_t {
|
||||
u32 vd2_dout_vsize;
|
||||
};
|
||||
|
||||
struct video_input_info {
|
||||
u32 width;
|
||||
u32 height;
|
||||
};
|
||||
|
||||
void set_video_mute(bool on);
|
||||
int get_video_mute(void);
|
||||
void set_output_mute(bool on);
|
||||
@@ -499,6 +504,7 @@ int get_receiver_id(u8 layer_id);
|
||||
int proc_lowlatency_frame(u8 instance_id);
|
||||
bool check_av1_hdr10p(char *p);
|
||||
int get_output_pcrscr_info(s32 *inc, u32 *base);
|
||||
void get_video_input_info(struct video_input_info *input_info);
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_MEDIA_VSYNC_RDMA
|
||||
#define OVER_FIELD_NORMAL 0
|
||||
|
||||
Reference in New Issue
Block a user