MVD Services: Difference between revisions

2670QM (talk | contribs)
 
(10 intermediate revisions by 2 users not shown)
Line 562: Line 562:
!  Type value
!  Type value
!  Mode
!  Mode
Description
Video processing
!  Color conversion
|-
|-
| 0x00010001
| 0x00010001
| Color conversion
| Color conversion
| yuyv422
| N/A
| YUYV422
|-
|-
| 0x00010002
| 0x00010002
| Video processing
| Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| N/A
|-
|-
| 0x00010004
| 0x00010004
| Video processing
| Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| N/A
|-
|-
| 0x00010005
| 0x00010005
| Color conversion
| Color conversion, Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| YVYU422
|-
|-
| 0x00010006
| 0x00010006
| Color conversion
| Color conversion, Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| UYVY422
|-
|-
| 0x00010007
| 0x00010007
| Color conversion
| Color conversion, Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| VYUY422?
|-
|-
| 0x00020000
| 0x00020000
| Color conversion
| Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| N/A
|-
|-
| 0x00020001
| 0x00020001
| Video processing
| Video processing
| H.264
| H.264
| N/A
|-
|-
| 0x00020002
| 0x00020002
| ?
| Video processing
| ?
| H.264, output will be corrupt a little??
| N/A
|-
|-
| 0x00080000
| 0x00080000
| Video processing
| Video processing
| Same as 0x00020001, except with gray-scale?
| H.264, output will be gray-scale.
| N/A
|-
|-
| 0x00080001
| 0x00080001
| Video processing
| Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| N/A
|-
|-
| 0x00180001
| 0x00180001
| Video processing
| Video processing
| ?
| H.264, but no output will be written to output buffer with error code 0xD961710A
| N/A
|}
|}


Line 618: Line 631:
!  Type value
!  Type value
!  Description
!  Description
!  Note
|-
|-
| 0x00010001
| 0x00010001
| See the input format type.
| YUYV422
| N/A
|-
|-
| 0x00010005
| 0x00010005
| Unknown. A certain MVD state field must not be set to 0x8170 in order to use this. Some sort of 2-byte format it seems.
| YVYU422
| A certain MVD state field must not be set to 0x8170 in order to use this.
|-
|-
| 0x00010006
| 0x00010006
| Unknown, see 0x00010005 for the usage requirement. Some sort of 2-byte format it seems.
| UYVY422
| see 0x00010005 for the usage requirement.
|-
|-
| 0x00010007
| 0x00010007
| Unknown, see 0x00010005 for the usage requirement. Some sort of 2-byte format it seems.
| VYUY422
| see 0x00010005 for the usage requirement.
|-
|-
| 0x00010008
| 0x00010008
| YUYV422 with some align?
| A certain MVD-module state field must not be set to 0x8170 in order to use this. Whether this can actually be used is determined by another MVD-module state field. 16bit format.
| A certain MVD-module state field must not be set to 0x8170 in order to use this. Whether this can actually be used is determined by another MVD-module state field. 16bit format.
|-
|-
| 0x00010009
| 0x00010009
| Unknown, see 0x00010008 for the usage requirements. Some non-2-byte format it seems.
| YVYU422 with some align?
| see 0x00010008 for the usage requirements. 16bit format.
|-
|-
| 0x0001000A
| 0x0001000A
| Unknown, see 0x00010008 for the usage requirements. Some non-2-byte format it seems.
| UYVY422 with some align?
| see 0x00010008 for the usage requirements. 16bit format.
|-
|-
| 0x0001000B
| 0x0001000B
| Unknown, see 0x00010008 for the usage requirements. Some non-2-byte format it seems.
| VYUY422 with some align?
| see 0x00010008 for the usage requirements. 16bit format.
|-
|-
| 0x00020001
| 0x00020001
| Some sort of YUV format? 12bit format. The initial output is written to the normal output buffer, then the rest is written to the additional output buffer dedicated to this out-type.
| Some sort of YUV format?  
| 12bit format. The initial output is written to the normal output buffer, then the rest is written to the additional output buffer dedicated to this out-type.
|-
|-
| 0x00040000
| 0x00040000
| Unknown, doesn't write anything to the out-buffer when doing color-conversion.
| Unknown
| Doesn't write anything to the out-buffer when doing color-conversion.
|-
|-
| 0x00040001
| 0x00040001
| Unknown 2-byte format.
| ARGB1555?
| N/A
|-
|-
| 0x00040002
| 0x00040002
| BGR565
| RGB565
| N/A
|-
|-
| 0x00040003
| 0x00040003
| Some sort of 2-byte format it seems?
| ABGR1555?
| N/A
|-
|-
| 0x00040004
| 0x00040004
| RGB565
| BGR565
| N/A
|-
|-
| 0x00041000
| 0x00041000
| Unknown, doesn't write anything to the out-buffer when doing color-conversion.
| Unknown
| Doesn't write anything to the out-buffer when doing color-conversion.
|-
|-
| 0x00041001
| 0x00041001
| y400a?
| ARGB32
| N/A
|-
|-
| 0x00041002
| 0x00041002
| y400a?
| ABGR32
| N/A
|}
|}


==MVD Service "l2b:u"==
==MVD Service "l2b:u"==
This one uses the I/O mapped @ 0x10130000.
This one uses the I/O mapped @ 0x10130000.
{| class="wikitable" border="1"
|-
!  Command Header
!  Description
|-
| 0x00010040
| SetInputFormat?
|-
| 0x00020080
| GetInputFormat?
|-
| 0x00030040
| SetOutputFormat
|-
| 0x00040080
| GetOutputFormat
|-
| 0x00050040
| SetTransferEndInterrupt
|-
| 0x00060080
| GetTransferEndInterrupt
|-
| 0x00070080
| GetL2BEndEvent
|-
| 0x00080102
| ?
|-
| 0x00090080
| Waits on a DMA Handle
|-
| 0x000A0102
| MaybeSetRecieving
|-
| 0x000B0080
| isDoneRecieving
|-
| 0x000C0040
| SetInputLineWidth
|-
| 0x000D0080
| GetInputLineWidth
|-
| 0x000E0040
| SetInputLines
|-
| 0x000F0080
| GetInputLines
|-
| 0x00100040
| MaybeSetAlpha
|-
| 0x00110080
| MaybeGetAlpha
|-
| 0x00120040
| StartConversion
|-
| 0x00130040
| StopConversion
|-
| 0x00140080
| isBusyConversion
|-
| 0x00150040
| SetPackageParameter
|-
| 0x00160080
| GetPackageParameter
|-
| 0x00170080
| PingProcess
|}


==MVD Service "l2b2:u"==
==MVD Service "l2b2:u"==
Line 678: Line 783:


==MVD Service "y2r2:u"==
==MVD Service "y2r2:u"==
This one uses the I/O mapped @ 0x10102000.
This is a exact copy of y2r camera service and hence named y2r2.


==MVD Result-codes==
==MVD Result-codes==