Home
last modified time | relevance | path

Searched refs:kPlaneY (Results 1 – 24 of 24) sorted by relevance

/external/exoplayer/tree/extensions/av1/src/main/jni/
Dgav1_jni.cc62 const int kPlaneY = 0; variable
130 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer()
142 for (int plane_index = kPlaneY; plane_index < decoder_buffer.NumPlanes(); in SetFrameData()
176 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes()
178 (plane_index == kPlaneY) ? y_plane_min_size : uv_plane_min_size; in MaybeReallocateGav1DataPlanes()
380 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in CopyFrameToDataBuffer()
391 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in Convert10BitFrameTo8BitDataBuffer()
419 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon()
600 decoder_buffer->displayed_width[kPlaneY], in DECODER_FUNC()
601 decoder_buffer->displayed_height[kPlaneY], in DECODER_FUNC()
[all …]
/external/libgav1/libgav1/src/
Dyuv_buffer.cc90 stride_[kPlaneY] = frame_buffer.stride[0]; in Realloc()
93 buffer_[kPlaneY] = frame_buffer.plane[0]; in Realloc()
153 stride_[kPlaneY] = y_stride; in Realloc()
164 buffer_[kPlaneY] = AlignAddr( in Realloc()
176 left_border_[kPlaneY] = left_border; in Realloc()
177 right_border_[kPlaneY] = right_border; in Realloc()
178 top_border_[kPlaneY] = top_border; in Realloc()
179 bottom_border_[kPlaneY] = bottom_border; in Realloc()
Dloop_restoration_info.cc67 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset()
73 const int plane_width = (plane == kPlaneY) in Reset()
77 (plane == kPlaneY) ? height in Reset()
96 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset()
173 if (plane != kPlaneY) { in ReadWienerInfo()
177 for (int j = static_cast<int>(plane != kPlaneY); j < kNumWienerCoefficients; in ReadWienerInfo()
Dtile.h753 residual_size[kPlaneY] = kPlaneResidualSize[size][0][0]; in Block()
757 assert(residual_size[kPlaneY] != kBlockInvalid); in Block()
771 top_available[kPlaneY] = tile.IsTopInside(row4x4); in Block()
772 left_available[kPlaneY] = tile.IsLeftInside(column4x4); in Block()
800 if (top_available[kPlaneY]) { in Block()
804 if (left_available[kPlaneY]) { in Block()
828 return static_cast<int>(top_available[kPlaneY] && in CountReferences()
830 static_cast<int>(top_available[kPlaneY] && in CountReferences()
832 static_cast<int>(left_available[kPlaneY] && in CountReferences()
834 static_cast<int>(left_available[kPlaneY] && in CountReferences()
[all …]
Dfilm_grain.cc442 noise_stripes_[kPlaneY].Reset(max_luma_num, kNoiseStripeHeight * width_, in AllocateNoiseStripes()
466 !noise_image_[kPlaneY].Reset(height_, width_ + kNoiseImagePadding, in AllocateNoiseImage()
638 /*subsampling_x=*/0, /*subsampling_y=*/0, &noise_stripes_[kPlaneY]); in AddNoise()
659 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise()
661 &noise_image_[kPlaneY]); in AddNoise()
664 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise()
665 /*subsampling_y=*/0, &noise_image_[kPlaneY]); in AddNoise()
Dyuv_buffer.h101 return (plane == kPlaneY) ? y_width_ : uv_width_; in width()
104 return (plane == kPlaneY) ? y_height_ : uv_height_; in height()
Ddecoder_impl.cc1439 (plane == kPlaneY) ? 0 : sequence_header.color_config.subsampling_x; in DecodeTiles()
1568 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain()
1569 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1572 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain()
1573 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1590 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain()
1591 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1594 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain()
1595 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain()
Dpost_filter.h208 return loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone && in DoRestoration()
211 return (loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone || in DoRestoration()
Dobu_parser.cc924 if (!ParseDeltaQuantizer(&quantizer->delta_dc[kPlaneY])) return false; in ParseQuantizerParameters()
949 quantizer->matrix_level[kPlaneY] = scratch; in ParseQuantizerParameters()
1072 segmentation->qindex[i] == 0 && quantizer->delta_dc[kPlaneY] == 0 && in ComputeSegmentLosslessAndQIndex()
1152 loop_restoration->unit_size[kPlaneY] = in ParseLoopRestorationParameters()
Dmotion_vector.cc870 if (block.top_available[kPlaneY]) { in FindWarpSamples()
895 if (block.left_available[kPlaneY]) { in FindWarpSamples()
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc135 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext()
150 if (block.top_available[kPlaneY]) { in GetUseCompoundReferenceContext()
155 if (block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext()
190 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in ReadSegmentId()
196 if (block.top_available[kPlaneY]) { in ReadSegmentId()
200 if (block.left_available[kPlaneY]) { in ReadSegmentId()
262 if (block.top_available[kPlaneY] && block.bp_top->skip) { in ReadSkip()
265 if (block.left_available[kPlaneY] && block.bp_left->skip) { in ReadSkip()
286 (block.left_available[kPlaneY] in ReadSkipMode()
289 (block.top_available[kPlaneY] ? static_cast<int>(block.bp_top->skip_mode) in ReadSkipMode()
[all …]
Dtransform_size.cc73 if (!block.top_available[kPlaneY]) return 64; in GetTopTransformWidth()
86 if (!block.left_available[kPlaneY]) return 64; in GetLeftTransformHeight()
110 block.top_available[kPlaneY] in ReadFixedTransformSize()
114 block.left_available[kPlaneY] in ReadFixedTransformSize()
Dpalette.cc37 (block.top_available[kPlaneY] && Mod64(MultiplyBy4(block.row4x4)) != 0) in GetPaletteCache()
40 const int left_size = block.left_available[kPlaneY] in GetPaletteCache()
143 static_cast<int>(block.top_available[kPlaneY] && in ReadPaletteModeInfo()
146 static_cast<int>(block.left_available[kPlaneY] && in ReadPaletteModeInfo()
156 ReadPaletteColors(block, kPlaneY); in ReadPaletteModeInfo()
/external/libgav1/libgav1/src/post_filter/
Dcdef.cc121 for (int plane = y_plane ? kPlaneY : kPlaneU; plane < max_planes; ++plane) { in PrepareCdefBlock()
195 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyCdefForOneUnit()
212 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyCdefForOneUnit()
249 uint8_t* cdef_buffer_base = cdef_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit()
250 const uint8_t* src_buffer_base = src_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit()
257 const int cdef_stride = cdef_buffer_stride[kPlaneY]; in ApplyCdefForOneUnit()
259 const int src_stride = frame_buffer_.stride(kPlaneY); in ApplyCdefForOneUnit()
304 cdef_buffer_base += column_step[kPlaneY]; in ApplyCdefForOneUnit()
305 src_buffer_base += column_step[kPlaneY]; in ApplyCdefForOneUnit()
313 cdef_buffer_row_base[kPlaneY] += cdef_buffer_row_base_stride[kPlaneY]; in ApplyCdefForOneUnit()
[all …]
Dsuper_res.cc42 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplySuperRes()
196 deblock_buffer_.data(kPlaneY) + in SetupDeblockBuffer()
197 row_offset_start * deblock_buffer_.stride(kPlaneY), in SetupDeblockBuffer()
202 std::array<int, kMaxPlanes> strides = {deblock_buffer_.stride(kPlaneY), in SetupDeblockBuffer()
Ddeblock.cc303 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in HorizontalDeblockFilter()
304 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in HorizontalDeblockFilter()
376 const ptrdiff_t row_stride = MultiplyBy4(frame_buffer_.stride(kPlaneY)); in VerticalDeblockFilter()
377 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in VerticalDeblockFilter()
378 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in VerticalDeblockFilter()
506 planes[0] = kPlaneY; in ApplyDeblockFilterThreaded()
Dpost_filter.cc264 for (int plane = kPlaneY; plane < planes_; ++plane) { in ExtendBordersForReferenceFrame()
355 if (!for_loop_restoration && plane == kPlaneY) { in CopyBordersForOneSuperBlockRow()
Dloop_restoration.cc245 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyLoopRestorationThreaded()
/external/libgav1/libgav1/src/tile/
Dprediction.cc254 (plane == kPlaneY && prediction_parameters.use_filter_intra); in IntraPrediction()
394 if (plane == kPlaneY) { in IsSmoothPrediction()
554 buffer_[kPlaneY].rows(), buffer_[kPlaneY].columns() / sizeof(Pixel), in ChromaFromLumaPrediction()
555 reinterpret_cast<Pixel*>(&buffer_[kPlaneY][0][0])); in ChromaFromLumaPrediction()
564 buffer_[kPlaneY].columns()); in ChromaFromLumaPrediction()
683 if (plane == kPlaneY) { in GetWarpParams()
785 if (plane == kPlaneY) { in InterPrediction()
855 if (block.top_available[kPlaneY] && in ObmcPrediction()
889 if (block.left_available[kPlaneY]) { in ObmcPrediction()
Dtile.cc509 const int max_tx_length = (plane == kPlaneY) ? 64 : 32;
966 if (plane == kPlaneY) { in GetTransformAllZeroContext()
1030 if (plane == kPlaneY) { in ComputeTransformType()
1426 if (plane == kPlaneY) { in ReadTransformCoefficients()
1446 if (plane == kPlaneY) { in ReadTransformCoefficients()
1626 (plane == kPlaneY) in TransformBlock()
1643 if (plane != kPlaneY && bp.uv_mode == kPredictionModeChromaFromLuma) { in TransformBlock()
1648 if (plane == kPlaneY) { in TransformBlock()
1725 if (!TransformBlock(block, kPlaneY, node.x, node.y, node.tx_size, 0, 0, in TransformTree()
1804 (plane == kPlaneY) ? bp.transform_size : bp.uv_transform_size; in Residual()
[all …]
/external/libgav1/libgav1/src/utils/
Dconstants.h184 enum Plane : uint8_t { kPlaneY, kPlaneU, kPlaneV }; enumerator
185 enum : uint8_t { kMaxPlanesMonochrome = kPlaneY + 1, kMaxPlanes = kPlaneV + 1 };
Dcommon.h304 return MultiplyBy4(row_or_column4x4) >> (plane == kPlaneY ? 0 : subsampling); in RowOrColumn4x4ToPixel()
308 return static_cast<PlaneType>(plane != kPlaneY); in GetPlaneType()
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc516 int noise = noise_image[kPlaneY][y + start_height][x]; in BlendNoiseWithImageLuma_C()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc720 GetSignedSource8(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_NEON()