mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-11-16 19:48:30 +01:00
cta: Rename room_configuration struct
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
parent
84b48d58dc
commit
a274fed156
3 changed files with 5 additions and 5 deletions
4
cta.c
4
cta.c
|
@ -1433,7 +1433,7 @@ decode_coord(unsigned char x)
|
|||
|
||||
static bool
|
||||
parse_room_config_block(struct di_edid_cta *cta,
|
||||
struct di_cta_room_configuration *rc,
|
||||
struct di_cta_room_configuration_block *rc,
|
||||
const uint8_t *data, size_t size)
|
||||
{
|
||||
bool has_display_coords;
|
||||
|
@ -2133,7 +2133,7 @@ di_cta_data_block_get_vesa_transfer_characteristics(const struct di_cta_data_blo
|
|||
return &block->vesa_transfer_characteristics;
|
||||
}
|
||||
|
||||
const struct di_cta_room_configuration *
|
||||
const struct di_cta_room_configuration_block *
|
||||
di_cta_data_block_get_room_configuration(const struct di_cta_data_block *block)
|
||||
{
|
||||
if (block->tag != DI_CTA_DATA_BLOCK_ROOM_CONFIG) {
|
||||
|
|
|
@ -212,7 +212,7 @@ struct di_cta_data_block {
|
|||
/* Used for DI_CTA_DATA_BLOCK_INFOFRAME */
|
||||
struct di_cta_infoframe_block_priv infoframe;
|
||||
/* Used for DI_CTA_DATA_BLOCK_ROOM_CONFIG */
|
||||
struct di_cta_room_configuration room_config;
|
||||
struct di_cta_room_configuration_block room_config;
|
||||
/* Used for DI_CTA_DATA_BLOCK_SPEAKER_LOCATION */
|
||||
struct di_cta_speaker_location_block speaker_location;
|
||||
/* Used for DI_CTA_DATA_BLOCK_VIDEO_FORMAT_PREF */
|
||||
|
|
|
@ -1007,7 +1007,7 @@ di_cta_data_block_get_infoframe(const struct di_cta_data_block *block);
|
|||
/**
|
||||
* Room Configuration Data Block, defined in section 7.5.15.
|
||||
*/
|
||||
struct di_cta_room_configuration {
|
||||
struct di_cta_room_configuration_block {
|
||||
/* Present speakers */
|
||||
struct di_cta_speaker_allocation speakers;
|
||||
/* Total number of L-PCM channels */
|
||||
|
@ -1033,7 +1033,7 @@ struct di_cta_room_configuration {
|
|||
*
|
||||
* Returns NULL if the data block tag is not DI_CTA_DATA_BLOCK_ROOM_CONFIG.
|
||||
*/
|
||||
const struct di_cta_room_configuration *
|
||||
const struct di_cta_room_configuration_block *
|
||||
di_cta_data_block_get_room_configuration(const struct di_cta_data_block *block);
|
||||
|
||||
enum di_cta_speaker_placement {
|
||||
|
|
Loading…
Reference in a new issue