projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a408c85
)
drm/dsc: Define the DSC 1.1 and 1.2 Line Buffer depth constants
author
Manasi Navare
<
[email protected]
>
Tue, 27 Nov 2018 21:41:08 +0000
(13:41 -0800)
committer
Manasi Navare
<
[email protected]
>
Wed, 28 Nov 2018 02:36:17 +0000
(18:36 -0800)
DSC specification defines linebuf_depth which contains the
line buffer bit depth used to generate the bitstream.
These values are defined as per Table 4.1 in DSC 1.2 spec
v2 (From Manasi):
* Rename as MAX_LINEBUF_DEPTH for DSC 1.1 and DSC 1.2
Cc:
[email protected]
Cc: Jani Nikula <
[email protected]
>
Cc: Ville Syrjälä <
[email protected]
>
Signed-off-by: Gaurav K Singh <
[email protected]
>
Signed-off-by: Manasi Navare <
[email protected]
>
Acked-by: Sean Paul <
[email protected]
> (For merging through
drm-intel)
Reviewed-by: Anusha Srivatsa <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
include/drm/drm_dsc.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_dsc.h
b/include/drm/drm_dsc.h
index 52e57ceaff80050c2fd546c573442c182609898a..d03f1b83421a8e0ae0d0e22fd4e7d30d9394cf10 100644
(file)
--- a/
include/drm/drm_dsc.h
+++ b/
include/drm/drm_dsc.h
@@
-40,6
+40,9
@@
#define DSC_PPS_RC_RANGE_MINQP_SHIFT 11
#define DSC_PPS_RC_RANGE_MAXQP_SHIFT 6
#define DSC_PPS_NATIVE_420_SHIFT 1
+#define DSC_1_2_MAX_LINEBUF_DEPTH_BITS 16
+#define DSC_1_2_MAX_LINEBUF_DEPTH_VAL 0
+#define DSC_1_1_MAX_LINEBUF_DEPTH_BITS 13
/* Configuration for a single Rate Control model range */
struct drm_dsc_rc_range_parameters {