I've seen this on TV before, a long time ago when I was a kid. I'm going to say one of the Tales from the Darkside episodes for now as a reference. Let me get back to you. This sounds waaaay too familiar to pass up!
Thanks, good luck.
Here's a side note though:
I know there was a late 70s or early 80s anthology horror series (forget which one, but I know it wasn't tales from the dark side so you still may have a chance) and, one of the episodes on another anthology show involved a family trapped in a room or house with the windows and doors opening to walls (*not brick walls though* Like I recall)-
So- I was able to confirm upon that discovery, that, that is
not the scene, movie or show that I am talking about here from my memory. ---But it shared a similar plot, so I sort of suspect if that's the clue you're following, I can debunk it now.
However-
if you have a clear idea that what you're thinking of is different, and in fact a tales from the darkside episode instead--carry on! haha. Sorry to be a little confusing. I just know from looking for this scene for years on my own, that I have run in to other similar scenes which aren't it, and have been disproved.
The scene I'm talking about definitely has red brick walls, not white walls or anything.
Another note is-- This was just one small scene and not the point of the entire episode or movie. It was almost like a hallucination for one scene.
Hope I've not made it more confusing. lol.