analog and digital with digital preceeding analog.
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-follower.h | 2 +-
utils/cec-follower/cec-tuner.cpp | 32 +++
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/utils/cec-follower/cec-follower.h
IDs and channel data.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-follower.cpp | 2 +-
utils/cec-follower/cec-follower.h | 2 +-
utils/cec-follower/cec-tuner.cpp| 46 +++--
3 files changed, 32 insertions(+), 18 deletions
tuner_ctl_test() will now test both digital and analog services. There
are a total of 98 channels, 18 digital and 81 analog with digital
proceeding analog.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 50 +--
1 file changed, 48 insertions(+), 2
also provide the tuner device status upon
request.
Opcodes implemented:
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 169 +++
1 file changed, 169 insertions(+)
diff --git a/utils/cec-follower/cec-tuner.cpp b/utils/cec-follower/cec-tuner.cpp
This table will allow proper testing of digital tuner control features.
There are three channels per TSID/program number combination along with
channel data for the following digital ATSC broadcast systems:
- ATSC-SAT
- ATSC-T
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp
This table will allow proper testing of digital tuner control features.
There are three channels per TSID/ONID/SID combination along with channel
data for the following digital DVB broadcast systems:
- DVB-S2
- DVB-T
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 41
This table will allow proper testing of digital tuner control features.
There are three channels per TSID/ONID/SID combination along with channel
data for the following digital ARIB broadcast systems:
- ARIB-BS
- ARIB-T
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 52
have been implemented to cycle through all available
channels with digital proceeding analog. Channels will wrap on both ends.
Tuner testing will cycle through all channels and check status with tuner
select service following after.
---
Jiunn Chang (8):
cec-follower: fix analog tuner device info
With the addition of digital tuner control support, analog update
needs to set is_analog and tuner_display_info.
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utils/cec-follower/cec-tuner.cpp b/utils/cec-follower/cec
Analog tuner control test tuner_ctl_test():
- give analog tuner status
- select tuner analog service
- analog tuner step features
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 75 +++
1 file changed, 75 insertions(+)
diff --git a/utils/cec
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
Jiunn Chang (1):
Add test for new features in cec-follower
utils/cec-compliance/cec-test.cpp | 75 +++
1 file changed, 75 insertions(+)
--
2.23.0
Analog tuner control test tuner_ctl_test():
- give analog tuner status
- select tuner analog service
- analog tuner step features
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 74 +++
1 file changed, 74 insertions(+)
diff --git a/utils/cec
- Refactor tuner tests into a single tuner_ctl_test()
Changes made since v1:
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
Jiunn Chang (2):
cec-follower: add tuner step increment/decrement
Add test for new features in cec-follower
utils/cec
Tuner step feature will select the next highest or lowest service
frequency. There are a total of three possible frequencies given
a broadcast type and system for a total of 81 analog channels.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-follower.cpp
Tuner step increment/decrement will select the next highest or next
lowest service frequency. There are a total of three possible
frequencies given a broadcast type and system for a total of 81 analog
channels.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower
Fix bugs for tuner emulation:
- analog_tuner_init() needs to store ana_freq as multiples of 62.5 kHz
- analog_set_tuner_dev_info() needs to check the broadcast type and
broadcast system are valid before getting the nearest frequency
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec
Add test for new features added to cec-follower.
Analog tuner control test tuner_ctl_test():
- give analog tuner status
- select tuner analog service
- analog tuner step features
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 91 +++
1 file
tuner_ctl_test()
Changes made since v1:
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
Jiunn Chang (3):
cec-follower: fix bugs for tuner emulation
cec-follower: add tuner step increment/decrement
cec-compliance: add tuner control test
utils
Tests refactored for new features added to cec-collower.
Analog tuner control tests combined into tuner_ctl_test():
- give analog tuner status
- select tuner analog service
- analog tuner step features
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 184
Fix some typos for tuner emulation:
- analog_tuner_init() store ana_freq in hex
- analog_get_nearest_freq() temp variable check
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/utils/cec-follower/cec
Tuner step increment/decrement will select the next highest or next
lowest service frequency. There are a total of three possible
frequencies given a broadcast type and system for a total of 81 analog
channels.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower
state
- Refactor tuner tests into a single tuner_ctl_test()
Changes made since v1:
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
Jiunn Chang (3):
cec-follower: fix bugs for tuner emulation
cec-follower: add tuner step increment/decrement
Tuner step increment/decrement will select the next highest or next
lowest service frequency. There are a total of three possible
frequencies from analog_freqs_khz given a broadcast type and system.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp
for select analog service and give tuner device
status.
Changes made since v1:
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
---
Jiunn Chang (2):
cec-follower: add tuner step increment/decrement
cec-compliance: add/refactor tuner control
Tests added/refactored for new features added to the cec-follower.
Analog tuner control tests added/refactored:
- give analog tuner status
- select tuner analog service
- analog tuner step decrement
- analog tuner step increment
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec
Tests added/refactored for new features added to the cec-follower.
Analog tuner control tests added/refactored:
- give analog tuner status
- select tuner analog service
- analog tuner step decrement
- analog tuner step increment
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec
Tuner step increment/decrement will select the next highest or next
lowest service frequency. There are a total of three possible
frequencies from analog_freqs_khz given a broadcast type and system.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp
for select analog service and give tuner device
status.
---
Jiunn Chang (2):
cec-follower: add tuner step increment/decrement
cec-compliance: add/refactor tuner control tests
utils/cec-compliance/cec-test.cpp | 181 +++---
utils/cec-follower/cec-tuner.cpp | 49
request.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
Changes made since v7:
- Make analog_tuner_init() more robust
- Remove redundancy from analog_set_tuner_dev_info()
Changes made since v6:
- Add more information to commit message
Changes made since v5:
- Add
request.
Opcodes implemented:
-
-
Signed-off-by: Jiunn Chang
---
Changes made since v6:
- Add more information to commit message
Changes made since v5:
- Add analog_tuner_init() to cec-tuner.cpp
- Change state_init() in cec-follower.cpp to use analog_tuner_init()
- Rename function
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Fix typos/bugs
- Import reply_feature_abort() from cec-processing.cpp
- Add functionality to choose nearest frequency
Changes made since v2:
- Fix typos/bugs
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Fix typos/bugs
- Import reply_feature_abort() from cec-processing.cpp
- Add functionality to choose nearest frequency
Changes made since v2:
- Fix typos/bugs
This frequency table will allow proper testing of tuner control. There
are three frequencies per analog broadcast type and broadcast system, so
tuner increment and decrement can be tested.
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Add Wikipedia link for analog channel
Remove static from reply_feature_abort() in cec-processing.cpp so
it can be used in cec-tuner.cpp. This is maintain testing logic
for PRESUMED_OK which replies on the feature abort message. Also
needed is a boolean for broadcast messages that should not be
aborted.
Signed-off-by: Jiunn Chang
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Fix typos/bugs
- Import reply_feature_abort() from cec-processing.cpp
- Add functionality to choose nearest frequency
Changes made since v2:
- Fix typos/bugs
This frequency table will allow proper testing of tuner control. There
are three frequencies per analog broadcast type and broadcast system, so
tuner increment and decrement can be tested.
Signed-off-by: Jiunn Chang
---
Changes since v1:
- Add Wikipedia link for analog channel frequencies
Export code from cec-processing.cpp to cec-tuner.cpp so testing logic
does not break for PRESUMED_OK which replies on the feature abort
message. Also needed it a boolean for broadcast messages that should
not be aborted.
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-processing.cpp | 4
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Fix typos/bugs
- Import reply_feature_abort() from cec-processing.cpp
- Add functionality to choose nearest frequency
Changes made since v2:
- Fix typos/bugs
Move tuner control, one touch record, and timer programming into
cec-tuner.cpp. These features are all tuner related and involve the
tuner as a central feature to be able to test.
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Change cec-tuner.cpp function name to
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-follower.h | 1 +
utils/cec-follower/cec-tuner.cpp | 89 ++-
2 files changed, 78 insertions(+), 12 deletions(-)
diff --git a/utils/cec-follower
Implement the following tuner control features:
-
- and reply
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 51
1 file changed, 39 insertions(+), 12 deletions(-)
diff --git a/utils/cec-follower/cec-tuner.cpp b/utils/cec-follower/cec
This frequency table will allow proper testing of tuner control. There
are three frequencies per analog broadcast type and broadcast system, so
tuner increment and decrement can be tested.
Signed-off-by: Jiunn Chang
---
Changes since v1:
- Add Wikipedia link for analog channel frequencies
This frequency table will allow proper testing of tuner control. There
are three frequencies per analog broadcast type and broadcast system, so
tuner increment and decrement can be tested.
Signed-off-by: Jiunn Chang
---
utils/cec-follower/cec-tuner.cpp | 77
1
Move tuner control, one touch record, and timer programming into
cec-tuner.cpp. These features are all tuner related and involve the
tuner as a central feature to be able to test.
Signed-off-by: Jiunn Chang
---
Changes made since v1:
- Change cec-tuner.cpp function name to
-by: Jiunn Chang
---
utils/cec-follower/Makefile.am| 2 +-
utils/cec-follower/cec-follower.h | 3 +
utils/cec-follower/cec-processing.cpp | 109 +---
utils/cec-follower/cec-tuner.cpp | 139 ++
4 files changed, 148 insertions(+), 105
Add comment block documenting tests not included from section 13.15 of
the CEC 1.4b specification. This section outlines the System Audio
Control feature.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 38 +
1 file changed, 38 insertions
Add comment block documenting tests not included from section 13.15 of
the HDMI CEC 1.4b specification. This section outlines the System Audio
Control feature.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 30 +
1 file changed, 30 insertions
Add comment block documenting tests not included from section 13.15 of
the CEC 1.4b specification. This section outlines the System Audio
Control feature.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 29 +
1 file changed, 29 insertions
Add comment block documenting tests not included from section 13.15 of
the HDMI CEC 1.4b specification. This section outlines the System Audio
Control feature.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 30 +
1 file changed, 30 insertions
For devices on a HDMI ARC link, sources can only receive ARC
and sinks can only transmit ARC.
Add two checks:
- Playback devices can only receive ARC, i.e. source_has_arc_rx
- TVs can only transmit ARC, i.e. sink_has_arc_tx
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 4
Renaming has_arc_rx and has_arc_tx to better match the macros defined in
cec.h:
- CEC_OP_FEAT_DEV_SOURCE_HAS_ARC_RX
- CEC_OP_FEAT_DEV_SINK_HAS_ARC_TX
For devices on a HDMI ARC link, sources can only support receiver devices
and sinks can only support transmitter devices.
Signed-off-by: Jiunn
For devices on a HDMI ARC link, sinks can only support transmitter
devices and sources can only support receiver devices.
Add two checks:
- Playback devices can only have has_arc_rx
- TVs can only have has_arc_tx
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test.cpp | 4
1
Control Pressed operands.
Signed-off-by: Jiunn Chang
---
Changes made since v2:
- add more details to commit message
Notes:
A patch series has been submitted by Hans Verkuil to add CEC UI command operands
to the cec header in the media tree from which v4l-utils copies it. Once those
patches
1.4 spec going
forward when ARC was introduced.
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 24
1 file changed, 24 insertions(+)
diff --git a/utils/cec-compliance/cec-test-audio.cpp
b/utils/cec-compliance/cec-test-audio.cpp
index 872bb9ad
Add user control press operands:
- Mute Function
- Restore Volume Function
Signed-off-by: Jiunn Chang
---
Changes made since v2:
- change node->state.mute to boolean
>8---8<
utils/cec-compliance/cec-test-
Add user control press operands:
- Mute Function
- Restore Volume Function
Signed-off-by: Jiunn Chang
---
utils/cec-compliance/cec-test-audio.cpp | 32 +
utils/cec-follower/cec-processing.cpp | 6 +
2 files changed, 38 insertions(+)
diff --git a/utils/cec
56 matches
Mail list logo