Page 1 of 1

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 10:06 am
by Guest 2
From DGSource: "If the source video has 10-bit depth, the decoded video is delivered as 16-bit and is reported to Avisynth+ as pixel format P016. If the source video has 8-bit depth, the decoded video is delivered as 8-bit and is reported to Avisynth+ as pixel format YV12. If you need a reduced color depth (less than 16 bits) for your high-bit-depth processing, you can use ConvertBits() as needed after your DGSource() call."

If I decode a 10 bit source and DGSource outputs 16 bit, is the ConvertBits(10) lossless? I.e. are the discarded bits useless?

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 10:50 am
by Curly
Soitenly, they are all zeros.

Rocky is off whizzing around doing who knows what, so I am in charge right now.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:20 am
by Guest
Hey Curly
Nice to know that you are in charge while Rocky is having a whiz.
@Guest 2
DGDecodeNV just pads the last six bit positions with zeroes
and ConvertBits(10) just removes the padding

EDIT
Needed a reason to make the first part of the post

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:34 am
by Bullwinkle
You are a funny guy. That's why you are Curly Approved!
gonca wrote:
Sat Jan 30, 2021 11:20 am
DGDecodeNV just pads the last six bit positions with zeroes
To be precise, NVDec does that padding.

I am currently in charge. There is no crisis at DG Tools. Rocky's recovery from the accident will be swift.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:41 am
by Britney
Get better soon, Rocky. We are praying for you.

Kisses, Brit

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:42 am
by Sherman
Guys, I had nothing to do with it, I promise! Boris was seen lurking in the vicinity.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:48 am
by Boris
Special Rocky memorial Gold Coins now available. Extra thick coating, 10 microns. Can't go wrong. Send PM.

Image

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 11:57 am
by Natasha
Nice work, Boris dahlink. Mr Big will be very happy. We get big raise, maybe dacha. Moose next.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 12:20 pm
by new_guy
Where to get information on Rocky's reported death?

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 1:05 pm
by Bullwinkle
DG will issue a statement at the right time.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 4:06 pm
by Guest
Sherman wrote:
Sat Jan 30, 2021 11:42 am
Guys, I had nothing to do with it, I promise! Boris was seen lurking in the vicinity.
Guilty conscience Sherm?
First DG disappears by accident, and you bring up Sherman Tools,
then you bring up being a moderator and Rocky crash lands.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 4:52 pm
by Sherman
Do I need a lawyer?

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 4:53 pm
by Mr. Peabody
Stay quiet Sherman! Don't talk to anyone. Don't answer any questions.

16 bit truncation to 10 bit

Posted: Sat Jan 30, 2021 5:45 pm
by Guest
You're looking in the wrong direction Mr. Peabody

16 bit truncation to 10 bit

Posted: Sun Jan 31, 2021 12:13 pm
by Mr. Peabody
Quite right. Thank you.

Sherman is speaking to investigators and is providing valuable information. Though he was in the vicinity he was tracking Boris and he feels terrible that he wasn't able to intervene in time to prevent the attack. Sherman passed a lie detector test and no charges are expected to be filed against him.

16 bit truncation to 10 bit

Posted: Sun Jan 31, 2021 12:17 pm
by Natasha
Spare the rod, spoil the child.