mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
msm: vidc: define common macro for DB disable slice boundary
Defined a common macro for disable slice boundary deblocking mode. Change-Id: Ie163b1268a91f278e8ed6821c88ebff32e80d9cd Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:
parent
d89f059e3a
commit
7db4d9a424
3 changed files with 4 additions and 4 deletions
|
|
@ -43,8 +43,6 @@
|
|||
#define CBR_PLUS_BUF_SIZE 1000
|
||||
#define MAX_GOP 0xFFFFFFF
|
||||
|
||||
#define DB_DISABLE_SLICE_BOUNDARY \
|
||||
V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY
|
||||
#define MIN_NUM_ENC_OUTPUT_BUFFERS 4
|
||||
#define MIN_NUM_ENC_CAPTURE_BUFFERS 5
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT
|
||||
#define V4L2_EVENT_RELEASE_BUFFER_REFERENCE \
|
||||
V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE
|
||||
#define L_MODE V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY
|
||||
|
||||
static void handle_session_error(enum hal_command_response cmd, void *data);
|
||||
static void msm_vidc_print_running_insts(struct msm_vidc_core *core);
|
||||
|
|
@ -516,7 +515,7 @@ int msm_comm_v4l2_to_hfi(int id, int value)
|
|||
return HFI_H264_DB_MODE_DISABLE;
|
||||
case V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_ENABLED:
|
||||
return HFI_H264_DB_MODE_ALL_BOUNDARY;
|
||||
case L_MODE:
|
||||
case DB_DISABLE_SLICE_BOUNDARY:
|
||||
return HFI_H264_DB_MODE_SKIP_SLICE_BOUNDARY;
|
||||
default:
|
||||
return HFI_H264_DB_MODE_ALL_BOUNDARY;
|
||||
|
|
|
|||
|
|
@ -69,6 +69,9 @@
|
|||
|
||||
#define MAX_NAME_LENGTH 64
|
||||
|
||||
#define DB_DISABLE_SLICE_BOUNDARY \
|
||||
V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY
|
||||
|
||||
#define NUM_MBS_PER_SEC(__height, __width, __fps) \
|
||||
(NUM_MBS_PER_FRAME(__height, __width) * __fps)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue