Skip to content

Support for Shikra added for Video - #551

Open
abbajaj806 wants to merge 1 commit into
qualcomm-linux:mainfrom
abbajaj806:Video_Shikra
Open

Support for Shikra added for Video#551
abbajaj806 wants to merge 1 commit into
qualcomm-linux:mainfrom
abbajaj806:Video_Shikra

Conversation

@abbajaj806

Copy link
Copy Markdown
Contributor

Support for Shikra added for Video

Signed-off-by: Abhishek Bajaj <abbajaj@qti.qualcomm.com>

if [ -s "$tmp" ]; then
if ! cmp -s "$cfg" "$tmp" 2>/dev/null; then
mv "$tmp" "$cfg"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not overwrite source or user-provided configurations

tok="$1"
[ -z "$tok" ] && return 1

ua="$(uname -a 2>/dev/null)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please align this with the Shikra audio approach from #544
Detect the board from resolved runtime device-tree model/compatible data. Keep this separate from, or integrate it carefully with, video_detect_platform().

;;
esac

if command -v video_apply_level_override_for_target >/dev/null 2>&1; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restrict the override to intended encoder configurations. Apply it only when mode=encode and the canonical codec is h264 or hevc

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@abbajaj806@smuppand